Simon Holmbring

AWS Glacier!

Hard drives will fail! Manufacturers of hard drives like to boast about “MTBF” (Mean Time Between Failures) and “AFR” (Annualized Failure Rate) rates that indicates that the drive would last anywhere from 300 000 hours (~34 years) to having a likely hood of failing during a year as low as 0,8%. But real life tests, performed by companies like BackBlaze show...

Three finger drag! MacOS Trackpad

Hi future me (and anyone else who stumbled upon this page), this is how you turned on three finger drag: Yes I know, you thought it was under “Trackpad” in Preferences, but Apple hide this setting under Accessibility.

MacOS Terminal UTF-8 Issue

Since I only tend to do this once every time I get a new MacBook, I decided to document the procedure here so I don’t have to google it every time!

No ports showing in LibreNMS for Fortigate Firewalls

After looking at GitHub for a solution I consulted the very helpful people in #LibreNMS at FreeNode (IRC) and got this solution. Add this line in you config.php: And guess what, it works! Why does LibreNMS behave like this? Well, it’s because LibreNMS assumes that there should be a “ifdescr” in the SNMP answer from the Firewall, while Fortigate has...

Remove all old kernels on your Ubuntu

When you login to your system and /boot is full, don’t panic! Run this command and lean back, take a cup of coffee and relax, breath! When it’s done, it’s a good idéa to: Once again, lean back, take a cup of coffee, find your inner zen! Source: http://askubuntu.com/questions/2793/how-do-i-remove-old-kernel-versions-to-clean-up-the-boot-menu

Backup your VPS to Google Drive

If you only have a small amount of data to backup, Google Drive is actually quite a decent alternative, but you will need to install a few tools to you VPS. With the tool rclone (rsync for cloud), you can upload your files to Google Drive, Amazon S3, Dropbox and a few more. The procedure is almost the same no...

Make your Raspberry Pi Netboot over NFS

When I started using my first Raspberry Pi, I read about people having to change their SD-card every now and then because most (especially cheap) SD-cards are not made for being used as a harddisk replacement. So I googled a bit and setup NFS boot for my Raspberry Pi. Tested on Raspberry Pi Model B, B+ and 2. This is...

Fix WordPress Menu Crash

Ever had a WordPress site with a huge amount of items in the Menu? Well I have (not this one), and after adding a menu item one day, the whole menu crashed, and with crashing I mean, it was written out as plain text over the whole page instead of being a neat menu in the header. So, after some...