I wrote a tool using d3.js to visualize how and why the length of day changes throughout the seasons. See the whole post on Observable.
While working on a Rails application I had a need to override a method on an ActiveRecord model, but only in the development environment. I could conditionally include my monkey patched module in the class definition, like so:
ActiveRecord
development