Quickly Show/Hide Hidden Files on macOS Sierra, OS X El Capitan & Yosemite

Show/Hide Hidden Files the Long Way The long way to show hidden Mac OS X files is as follows: Open Terminal found in Finder > Applications > Utilities In Terminal, paste the following: defaults write com.apple.finder AppleShowAllFiles YES Press return Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and […]

Design Patterns in Ruby: Observer, Singleton

Observer Pattern If you are not familiar with this pattern, no worries, it is basically a mechanism for one object to inform other ‘interested’ objects when its state changes. To be a little more descriptive, here is a direct quote from Wikipedia: The observer pattern (aka. Dependents, publish/subscribe) is a software design pattern in which […]