more articles

This commit is contained in:
Wolfgang Hottgenroth 2019-01-03 20:59:50 +01:00
parent 77cff49e41
commit fccaeed07e
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
9 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
docker build --tag wollud1969/homepage:latest --tag wollud1969/homepage:1.0 .
docker build --tag registry.gitlab.com/wolutator/homepage:latest --tag registry.gitlab.com/wolutator/homepage:1.0 .

2
dist/config.js vendored
View File

@ -4,7 +4,7 @@ const fs = require("fs");
const cmdargs = require("command-line-args");
const OPTION_DEFINITIONS = [
{ name: 'verbose', alias: 'v', type: Boolean },
{ name: 'config', alias: 'c', type: String, defaultValue: '~/homepage.conf' }
{ name: 'config', alias: 'c', type: String, defaultValue: './homepage.conf' }
];
function readConfig() {
let options = cmdargs(OPTION_DEFINITIONS);

View File

@ -1,4 +1,4 @@
<!-- { "title", "Something completely different: SNMP to MySQL" } -->
<!-- { "title": "Something completely different: SNMP to MySQL" } -->
<h1>#title#</h1>
<p>
I'm helping to maintain a fleet of about 50 printers in a charity distributed over about 30 locations in the city. Now, they wanted to know how much the individual printers are utilized to get some numbers for an effort to reduce the number of printers.
@ -119,7 +119,7 @@ CREATE TABLE `collecteddata_t` (
KEY `devicedataitem_fk_idx` (`devicedataitem`),
CONSTRAINT `devicedataitem_fk` FOREIGN KEY (`devicedataitem`) REFERENCES `devicedataitem_t` (`id`)
</code>
<pre>
</pre>
And here are the sources:

View File

@ -1,4 +1,4 @@
<!--{ "title": "Why always SPI CS on pin 10?" } -->
<!-- { "title": "Why always SPI CS on pin 10?" } -->
<h1>#title#</h1>
<p>
@ -10,7 +10,7 @@ But why is TFT CS on pin 10?
</p>
<p>
<a href="http://a385e5.files.wordpress.com/2016/03/bildschirmfoto-2016-03-03-um-21-48-49.png" rel="attachment wp-att-711"><img src="http://a385e5.files.wordpress.com/2016/03/bildschirmfoto-2016-03-03-um-21-48-49.png" alt="Bildschirmfoto 2016-03-03 um 21.48.49" width="722" height="449" class="alignnone size-full wp-image-711" /></a>
<a href="files/bildschirmfoto-2016-03-03-um-21-48-49.png" rel="attachment wp-att-711"><img src="files/bildschirmfoto-2016-03-03-um-21-48-49.png" alt="Bildschirmfoto 2016-03-03 um 21.48.49" width="722" height="449" class="alignnone size-full wp-image-711" /></a>
</p>
<p>
@ -18,7 +18,7 @@ Pin 10 is also the SPI CS for the Ethernet shield. Why not, for instance, pin 6:
</p>
<p>
<a href="http://a385e5.files.wordpress.com/2016/03/img_1211-e1457038834523.jpg" rel="attachment wp-att-712"><img src="http://a385e-5.de/wp-content/uploads/IMG_1211-e1457038834523-1024x768.jpg" alt="IMG_1211" width="474" height="356" class="alignnone size-large wp-image-712" /></a>
<a href="files/img_1211-e1457038834523.jpg" rel="attachment wp-att-712"><img src="files/IMG_1211-e1457038834523-1024x768.jpg" alt="IMG_1211" width="474" height="356" class="alignnone size-large wp-image-712" /></a>
</p>
<p>
@ -30,5 +30,5 @@ And voila, both the display and the ethernet shield is working:
</p>
<p>
<a href="http://a385e5.files.wordpress.com/2016/03/img_1212-e1457039094609.jpg" rel="attachment wp-att-713"><img src="http://a385e-5.de/wp-content/uploads/IMG_1212-e1457039094609-1024x768.jpg" alt="IMG_1212" width="474" height="356" class="alignnone size-large wp-image-713" /></a>
<a href="files/img_1212-e1457039094609.jpg" rel="attachment wp-att-713"><img src="files/IMG_1212-e1457039094609-1024x768.jpg" alt="IMG_1212" width="474" height="356" class="alignnone size-large wp-image-713" /></a>
</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB