Blog - ruby
-
Caching thumbnailer for middleman
A thumbnailer using the dragonfly gem that caches the generated the generated thumbnails instead of regenerating them every time. Can save you a lot of time. -
Concatenate filter for nanoc
nanoc filter are great. But I always missed the option to do on-demand concatenation that intgrates with the filter chain -
Easy blogging with nanoc
The static site compiler nanoc is an excellent tool for maintaining a blog as a developer. Here I share some handy scripts for scaffolding and sorting of blogs -
Minifying js and css in nanoc
How to minify and concatenate scripts and stylesheets into one big file with nanoc, and easily switch minification on or off. -
Creating screenshots with nanoc command
Generate screenshots for a portfolio automated with a relatively simple script in nanoc -
Favorite ruby gems
A list of my favorite ruby gems thus far. -
Rails datetime picker
Rails has a built in datetimepicker via a helper method that uses drop-down for the date selection. Sometimes you want something a little more elegant. jQuery only has a datepicker. I present a solution using the jQuery datepicker in comination with a time field.