Here’s a shell script to quickly test if a user can run sudo commands.
When coding for Arduino you may wish to run certain code once every N milliseconds. For a very simple program like blinking a LED with a 2 seconds interval using the delay() function will be sufficient. But what about multiple bits of code where each require a different interval? Using delay() they will slow each other down, significantly disrupting your program. The solution is the meassure the last time the code parts were executed.
A simple script to follow-tail a file’s changes with ansi color styling.
Sometimes you need to quickly restore a file from your macOS Time Machine backups without using the pretty graphical interface.
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.
Quick reference to scaling SVG images using the tag attributes
Download 1 pixel transparent PNG image (1x1px, 68 bytes)
Node.js script to beautify JSON data on the command-line
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? Wonder no more. With this script you can do it. Have fun!
Display data traffic statistics and estimates from vnStat for today and the current month on your Ubuntu Server login motd (message of the day)
Change the language setting for Assassin’s Creed: Brotherhood menu and text on Mac OSX