What I learned today

Life I learned that almost every hospital-born child in the US appears on her first picture wrapped in the same blanket Work I learned that in Go, the way to format a Time object into the format you want is by using Monday, January 2nd 2006 at 3:04pm as…

What I learned today

Work I learned that in Unix, you can use & to run a command in the background. A lightweight alternative to screen/tmux. Then you can use fg to bring that process to the foreground. Life I learned that one of the first investors in Wizards of The Coast was…

What I learned today

Work I learned about httpbin , a very simple yet useful api to test other apis, provides useful endpoints for very simple tasks For example, to find an aws public ip you can use httpbin like: curl http://httpbin.org/ip I learned about docopt a very nice and intuitive module…

What I learned today

Work I learned that Google Analytics Reporting api has a limit in the number of characters that you can send as filters. Found it the hard way, when doing a query, and filtering for a set of domains (excluding test sites, demo sites, etc), the api returned an error. 400…

What I learned today

Work I learned that in Ruby on Rails, Sidekiq can run cron-like jobs with the help of Sidetiq. It's as easy as writing a Worker and adding this line after the definition: Class ScheduledWorker: include Sidekiq::Worker include Sidetiq::Schedulable recurrent { hourly } ... end And you can substitute hourly by minutely,…