docopt helps you define interface for your command-line app, and automatically generate parser for it. docopt is based on...
All the hidden and not hidden features of Git and GitHub.
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Internet Explorer on Windows 8 and 8.1 is available in a "Desktop version" and the metro version which is designed...
Directory of popular Github projects.
Store each models version in a separate table class Post < ActiveRecord::Base has_paper_trail :class_name => 'PostVersion' end
Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...
rake stats # => LOC per controllers, models, helpers; code ratios, and more rake notes # => collects TODO, FIXME and...
String#indent is not a standard Ruby method. When you use it, be sure to know where this method comes...
"I click on ..." step fixed Errors added to ToleranceForSeleniumSyncIssues::RETRY_ERRORS Capybara::ElementNotFound Selenium::WebDriver::Error::ElementNotVisibleError Selenium::WebDriver::Error...
Using git checkout - you can switch back to the branch you previously worked on. (master) $ git checkout foobar
Tests are about 100% control over UI interaction and your test scenario. Randomness makes writing tests hard. You will also...
When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...
If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:
Introducing Trailer from HouseTrip, a simple menu bar app that helps you manage your GitHub pull requests. It’s one...
If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...
There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.
Rbenv won't compile REE 2011.03 properly on Ubuntu 12.04, failing with an error in tcmalloc.cc. If you want to...
We have released Modularity 2. It has many incompatible changes. See below for a script to migrate your applications automatically...
When you do something like this in your code: def var_value @var ||= some_expensive_calculation end
TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...
On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...
An annoying part of using font icons is that the icons usually need to live in the DOM. This is...