Monthly Archives: January 2016

Browser Caching and How Reload vs Refreshing Works

I found out an interesting new thing about how browsers cache assets recently. I already knew that if you use Control+F5 in Windows or Command+Shift+r in OS X that it would clear the browser’s cache and reload the page from … Continue reading

Posted in Uncategorized | Leave a comment

Fun with Ruby Enumerators

One of my favorite features in Ruby is theĀ Enumerable moduleĀ and the ability to create enumerators. For background, an enumerator in Ruby is like an iterator, it responds to the method next which returns successive elements from some container that is … Continue reading

Posted in Enumerators, Functional, Ruby | Leave a comment

Cool Unix Terminal-fu

I ran into an interesting problem recently. Looking to do some analysis of the log for a Rails app I maintain, I fetched a copy from the server. Since I don’t have a log rotator running for this app, the … Continue reading

Posted in Terminal / Command Line | Leave a comment