Auto-restart crashed mining processes in ethOS 1.2.7

I have been running a crypto-currency mining rig on the Linux based ethOS distro for quite some time now. While I realize that ethOS is problematic license-wise, it’s still a great distro to get a mining rig up and running in almost no time. The Nvidia GPUs in my rig are well tuned to operate …

How to display crypto currency rates on macOS menu bar

BitBar has been around for a while but I didn’t notice it until I wanted to display crypto currency rates (who isn’t into crypto these days :)) on my macOS menu bar. BitBar is as simple as it can get: it takes the output from a shell script and displays the result on the menu …

Gigabyte Z97X-UD5H and USB 3.0 in macOS Sierra 11.12

A commenter recently asked if I had any USB 3.0 related issues with my Gigabyte Z97X-UD5H equipped Hackintosh. Since every USB port was working out of the box I thought everything was fine. However, having a closer look at theĀ USB section in macOS Sierra’s System Information revealed that none of the USB 3.0 ports were …

Random delay for cron.daily, cron.weekly, cron.monthly

Wouldn’t it be nice if cron’s daily, weekly and monthly jobs could be run with a slight offset? At least that’s what I thought when 20+ servers were hitting my backup infrastructure at once. The scripts in /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly are triggered directly from crontab at fixed times. Here’s what /etc/crontab looks like in …

How to generate daily PowerDNS statistics reports

PowerDNS has been powering authoritative DNS lookups to this web site for quite a while now. It’s such a remarkableĀ piece of software. Here’s how to create a daily statistics report for PowerDNS. Put the lines below in /etc/cron.daily/powerdns-report: #!/bin/sh /usr/bin/curl -s localhost:8081 | mail -s “$(echo “PowerDNS Daily Report\nMIME-Version: 1.0\nContent-Type: text/html”)” root Make sure the …