Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...
Sometimes you need complex expectations on method arguments like this SomeApi.should_receive(:find).with(:query => '*foo*', :sort => 'timestamp ASC', :limit...
Talks about some basics of software complexity. Very nice illustrations.
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
curl http://ipecho.net/plain; echo
Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...
Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...
These two addons will change your life: Search as list This will always open search results in the list views...
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.
require 'net/http' module Cheat extend self # the magic ingredient def host @host ||= 'http://cheat.errtheblog.com/' end def http @http ||= Net...
Unfortunately, the hidden emoticons are some of the most expressive and useful ones. Hidden codes (skype) (ss) (call) (talk)
The The U.S. Digital Services Playbook is pretty amazing (context).
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Pretty awesome project. You can select multiple docs...
See the solution on Ask Different (same answer found here).
Inspiring collection of color tones.
Customizable font for programming.
When you have an Angular directive that transcludes content, you might want to do something in case there is no...
See attached link. The gist is: .element { position: relative; top: 50%; transform: translateY(-50%); } Works in all web browsers and...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
TL;DR In blueprints, always wrap associations in blocks. # Broken Task.blueprint(:vacation) do project Project.make(:vacation) hours 8 accounting_method...
So you erased a whole day's work? There is hope! The linked article tells how to recover from an...
In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...