tagged 'tech'
How to benchmark a function in Elixir using benchfella
read more
Building an Ansbile play that will build a project (in this case Ruby) from source
read more
A quick tip to make it easier to use Dead Man's Snitch with the whenever gem
read more
Hash#clean, a monkey patch to provide easy, Array#map like access to hash values to update them inline.
read more
A short video from Business of Software on determining which features to include in your product.
read more
Watch YouTube videos maximised within the browser window without watching full screen.
read more
How to ignore blank lines when parsing a csv file with ruby's CSV parser.
read more
When an item is added to a collection in Backbone.js it should automatically be added to the corresponding list. When using a sorted collection it would be nice to have it appear in place, especially when not refreshing the entire list. That's what I'll explore in this post.
read more
You can use a unique index to ensure only one occurance of a value but what do you do if you want to limit uniqueness to two rows instead of one? PostgreSQL's partial indexing can help.
read more
I needed to loop over a fairly large data set and group it by year and month. In this post I walk through using two Ruby Fibers which communicate between each other in order to do in-loop grouping
read more
An example of how to use the MailChimp API and their official mailchimp-api gem to add a subscriber to a mailing list.
read more
Just some thoughts on how CanCan didn't work as I expected. Whether design or bug, it's worth checking out how modules are handled.
read more
A turial on how to use the Highlighting tool in Logos 5 along with a few advanced tips such as how to create a custom higlight style.
read more