Word heading numbering gone wrong

Pray the MVPs! Create numbering style and bind it with your headings. I’ve had to use original headings later, as the ones, that I’ve custom-built from scratch, weren’t showing up in the table of contents. https://shaunakelly.com/word/numbering/numbering20072010.html

2018-05-05 · 1 min · EK

Proxmox VE: the unpaved road

Prologue So it was this January I’ve decided it’s time to break off the Ubuntu-can-run-it-all and decided I want to separate my OpenVPN server from always-crashing-my-system test containers I like to mess with a lot. So pretty much, find ESXi CD, install it, and it’s off to the races, right? Considering my attic server runs premium 2.5GB of RAM with Core2Duo CPU, I was trying to be as RAM-efficient as possible. I’ve had experience with larger servers, where ESXi ate about 1GB of ram! Ouch! ...

2018-04-30 · 3 min · EK

Timelapsing the sh*t out of dahua webcam

On my vm, a full hour timelapse in ffmpeg takes much more CPU activity (in % and in time) rather than stitching 1min timelapses every 1min and then concatenating them together. /root/delayScript.sh a very dirty hack / script to run cron-powered grabbing every 5 seconds: (sleep 5 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 10 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 15 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 20 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 25 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 30 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 35 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 40 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 45 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 50 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 55 && sh /root/ffmpeg_dahua.sh > /dev/null) & (sleep 60 && sh /root/ffmpeg_dahua.sh > /dev/null) & /root/ffmpeg_dahua.sh /usr/bin/ffmpeg -loglevel panic -rtsp_transport tcp -i "rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0" -vframes 1 /var/www/grab.jpeg -y /usr/bin/cp -a /var/www/grab.jpeg "/var/www/grab-$(date +"%Y-%m-%d-%H-%M-%S").jpeg" > /dev/null /var/www/TL.sh Timelapsing script: ...

2018-04-03 · 3 min · EK

RAM prices lately

So Back in the days, i bought 16GB ram for my laptop. Back then, people were calling me crazy, out of my mind, etc. What i paid for? As of 6.10.2016, 85 euros. Now, i’m not as nearly as to getting my master’s degree in economics… but… who’s crazy now?!

2018-03-13 · 1 min · EK

NgiИx as reverse proxy

Simple. Set up another webserver. Can be behind firewall, on http traffic. Use your own web exposed nginx server to serve content from it: location /proxy/ { proxy_pass http://ip.of.your.server/site; } Suddenly, if you mess things up a little bit, you’ll see in the logs (of course, of the web-hidden server), that you’re getting requests for /proxy/[subpath] fix the upper “location” part so it points to ^~ /proxy/ then, don’t forget to service nginx restart the hell out of it. ;-) ...

2018-01-23 · 1 min · EK