Pomodoro.ccHandling foreign key constraint errors in an Ecto.ModelI stumbled upon a ConstraintError thrown by the Ecto.Repo saying:Feb 12, 2016Feb 12, 2016
Pomodoro.ccRegexp to remove optional parentheses in ES6 function declarationSince parentheses are optional in arrow function with only one argument, I thought to roll with it and replace every such declaration with…Dec 15, 2015Dec 15, 2015
Pomodoro.ccPomodoro.cc received a fresh look and feel with added tasklist functionalityYesterday Pomodoro.cc received a new UI, focussing on the bare minimum elements and functionality to keep your focus.Dec 12, 2015Dec 12, 2015
Pomodoro.ccBuild a DSL in JavaScript with functionsI found a reasonable and sane management of the routes with Angular ui-router.Dec 12, 2015Dec 12, 2015
Pomodoro.ccSolved: Couldn’t connect to docker daemon with docker machine on macSo, docker-machine is a nice tool, but it was a pain to connect to docker daemon since the necessary environment variables are not set by…Dec 12, 2015Dec 12, 2015
Pomodoro.ccEasily skip ExUnit tests in ElixirI found that in Elixir it was a huge pain to temporarily skip tests.Dec 12, 20152Dec 12, 20152
Pomodoro.ccHow to stub Angular $windowAs stated in the docs, $window.location.href should be used to redirect the user to a new page, and this can be easily tested. Here is how…Dec 12, 2015Dec 12, 2015
Pomodoro.ccClean up your routes with a routes definition object and jade localsFirst of all let’s get out of the way the pretentious sounding word “routes definition object”. What I mean by it is simply a plain…Dec 12, 2015Dec 12, 2015
Pomodoro.ccHow to fake any authentication strategy with Passport.jsOftentimes to enable end-to-end testing with authentication you will setup a specific route to fake an authenticated user session…Dec 12, 20152Dec 12, 20152
Pomodoro.ccThe numbersIn this post I would like to share some numbers about statistics, users, pomodori, deploys etc in the short life of Pomodoro.cc.Dec 12, 2015Dec 12, 2015