git Git diff hide package-lock files Do you really need to see a billion lines of diff in a package-lock.json file? I know I rarely benefit from seeing the diff. Wouldn't it be great if those were just collapsed when you run git diff in the terminal? Lets make it happen.
bash She Bang Bin Bash Apparently, Apple is being a big baby and not installing a modern version of bash on macOs any longer. macOs is currently shipping with bash version 3. This is fine in most cases but what if you want to use some of the modern conveniences that come with bash >
astrophotography Burn exif meta data to photos People always ask me "what were your camera settings for that photo", so I wrote some bash functions to burn the relevant data to the bottom of the image. The following bash functions assume a few things: * you are on a Mac or Linux system * You know how
coding Netcat Tar Pipe Lets face it, sometimes we need to move massive amounts of data between servers. wouldn't it be great if it wasn't so darn slow? In some cases rsync would do the job just fine, but it gets slowed down when it has to do checksum checks
linux Useful Linux Commands Here are some useful linux commands for the terminal that are not as widely known or used. Many of them can also be used on MacOs as well.
ubuntu Ubuntu No space left on device with plenty of space left When attempting to use tab completion on my ubuntu 16.04 box running on an AWS EC2 instance I was greeted with the following error in the terminal. cannot create temp file for here-document: No space left on device with plenty of space left I ran the following command to