I’ve had a IPsec VPN server for a while now. But I havn’t bothered to get the configuration automatically updated when my dynamic ip address changes. This doesn’t change very often, but if my router reboots or if there is a power outage my ip address usually changes when my […]
I’ve come up with the idea of saving ESXi backups on off-site locations. But before saving full VM backups in the cloud for example, I want the files to be encrypted so nobody else can use or see them. The easiest way of encrypting would be to use the well […]
I’d just wanted to post and put this script into my archive. This bash script is straight forward and will fetch my current external ip address and compare it to the DNS entry that’s currently present. There’s also a little bit of security, the addresses must validate. This ensures that […]
Just wrote a quick shell script to test web server cache and background updating by displaying header output from curl. Don’t have time to write a description here, just having the script for reference.
So, I wanted to use a simple way of load testing my caching in Nginx. I went on with Siege, and it’s brilliant for easy and fast load testing a web page. Instead of writing down all the urls that I wanted to feed Siege with, I created a small […]
I’ve recently began to use Plex more than the XBMC/Kodi server. And the most irritating thing with Plex is that it can’t handle video files inside compressed archives. I need automatic extraction of recently added movies/tv shows. I have the movies and tv shows in separate root-folders, so the script […]
I just wrote a quick bash script to refresh all my sections on the Plex server. Here is the small script. Just call it manually, or from crontab. View the code on Gist.
I’m not very active on Facebook, just writing a little now and then. So I wanted to auto-publish something randomly on my wall just for fun. I had a wordlist of Swedish words laying around for other fun purposes. Why not just pick a word from that list, and pick […]
I just run a small mail server for internal usage, but I wanted to test out with learning SpamAssasin some spam that I receive. Here is my simple setup, I’m sure there are other ways to do it, but this is easy and fast to setup. I use a MySQL […]
Firstly, put VMware Workstation on autostart, and then use this small bash script to autostart your machines. The script will parse your inventory file usually located in ~/.vmware/. It includes your config and paths to the .vmx-file that the script will use to start up the machine. So change the […]