Jasmine has a jasmine.clock() helper that you can use to travel through time and trigger setTimeout and setInterval callbacks:
You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...
There are times when you have a chunk of text that you want to do something with, e.g. replace something...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...
If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...
Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
Please don't simply copy line number links from Github. The URL usually contains a branch name like master which...
Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...
An official Github repo by Google containing the binary font files served through Google Fonts, so you can easily download...
An online markdown live previewer with GitHub Flavoured Markdown support. Another online markdown live previewer with GitHub Flavoured Markdown support...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
When uploading images, adding more than one process to a version can cause MiniMagick to run multiple commands. In order...
The linked article explains how to get a database-wide lock without creating table rows: This article explains how I...
When you are using the #selector_for helper in Cucumber steps, as e.g. Spreewald does, the following snippet will save...
I got the following error after updating the selenium-webdriver gem: wrong number of arguments (0 for 1) (ArgumentError) /home/pointoo-dev/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/platform.rb...
It's like a GUI for the famous git add [-p]. Select files with the up/down-keys and hit
tldr; Use git diff -M or git diff --find-renames when you've moved a few files around. Usage
Preview what your markdown would look like on Github. Helpful e.g. when writing or extending a Readme for your gem...
This will list all branches matching your query as input options for git checkout greckout ar 1) ar/cache-api-keys-1098...