Blog
mac
Mounting Google Cloud Storage as a local path on Mac
Mon, 04 February 2019There's a rather nifty project from Google to allow mounting of a Google Cloud Storage bucket on Mac. This is incredibly useful for quickly browsing or transferring files between your local machine and the bucket.The entire setup takes around 10 minutes (from fresh install), but it's worth the time.... read more
Automatically convert line endings on commit in git (and save yourself when you've already made a mistake!)
Wed, 27 September 2017We've all been there. Used a piece of code and discovered some funky line endings. You should really always use \n for a new line. Unfortunately, this isn't as widespread as we'd all like, and furthermore isn't enforced.So you go to do a git diff and you see something like this:Rogers-MacBook-Pro:co... read more
Bulk removing transparency from a folder of PNG files
Wed, 13 September 2017Removing transparency from a single PNG file is easy enough, but what about when you have a folder of hundreds?Thankfully, there's a quick tool to help this along.First, install imagemagick with brew:$ brew install imagemagick Once that's installed, navigate into the folder that holds the PNG image... read more