Migration finally done.

As of late last week I have finally completed the migration away from the previous incarnation of my Drupal-based blog. Even since its initial deployment I found it to be overly complicated for me to get simple things accomplished. I would often think about writing a post but usually got hung up on actually...

Debugging mysql crash on a low-memory VPS

Recently I had a run-in with a seemingly random, occasional crash of mysql on a system with only 512MB of memory. My suspicion was that sometimes mysql runs some cleanup tasks or something along those lines, causing the memory usage to spike and ultimately cause a crash. So I wrote this quick and dirty...

Dynamically changing conky network interface

I use conky on many of my machines, most desktop machines will have one or two network interfaces which I want to always monitor, but my laptop I often switch between many different network interfaces, (eth0, wlan0, usb0 and tun0), and I really like Conky's downspeedgraph and upspeedgraph. The issue is I dont want...

Backing up your VPS

NOTE: Work in progress.. currently just lecture notes Outline: Setting up a backup server (perhaps) Advanced authentication with SSH keys Task scheduling with Cron Various backup methods (scp, rsync and rdiff-backup) Setting up a backup server (perhaps) Ubuntu LTS (12.04/14.04) preferably not VPS, especially not with who you host your other...