Sometimes you need to quickly restore a file from your macOS Time Machine backups without using the pretty graphical interface.
Tech
Code snippets, tech howto’s and scripts
Neat little trick to fix annoying MySQL error
One small and easy command to fix InnoDB ‘column last_update in table “mysql”.”innodb_table_stats”‘ type mismatch error.
Setup local DNS resolver on macOS
Simple instructions on how to install a local PowerDNS Recursor on macOS 10.12 Sierra to avoid using the DNS servers provided in your network or by your internet provider.
SVG scaling
Quick reference to scaling SVG images using the tag attributes
Plus address forwarding in Postfix
Address plus-tagging configuration in Postfix for mail forwarding relays
Before exit scripts in Node.js
Ever wonder how to do something just before a Node.js process ends? Safely close connections, clean up caches, or log your app’s status somewhere? With this script you can do it.
vnStat data traffic on Ubuntu login
Display data traffic statistics and estimates from vnStat for today and the current month on your Ubuntu Server login motd (message of the day)
Looping busy indicator
Javascript code snippet for node.js to display a looping busy indicator on the console output
Set language AC Brotherhood on Mac OSX
Change the language setting for Assassin’s Creed: Brotherhood menu and text on Mac OSX
Force file download with nginx
Configuration to force file download with nginx when a certain GET parameter is set, unless the file should be hidden.
Recursively clean up local git repositories
A CLI command to recursively garbage collect many local git repositories at once.
Tweaks for Ubuntu memory swap
System settings to improve memory swapping to disk