When talking to your MySQL server via a mysql shell, you can terminate queries by ; or \G -- the latter gives...
The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...
This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...
Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...
Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
This article shows how to create a Sass mixin for a colored button. The button's foreground color is dynamically...
This only applies to RSpec below version 1.3.2. The issue has been fixed in RSpec 1.3.2, and most likely RSpec...
This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...
The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...
Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's say 30px and the...
You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.
Preview email in the browser instead of sending it.
The attached patch lets you find a record by a string or number in any column: User.find_by_anything('carla...
This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...
We've made it easier to link other cards: You can now find a button Cite other card above the...
You can now add code blocks without indentation, by using triple-backticks: ``` Code block goes here. ```
Ever seen this error when using Graticule? Numerical argument out of domain - acos Similarly to the to_sql problem for...
As Justin Carmony points out, Mac OS Lion changed its behavior towards DNS and the usage of /etc/hosts (it quite...
Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...
You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.
When using Rails to truncate strings, you may end up with strings that are still too long for their container...
Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
Twitter's Bootstrap CSS blueprint as a jQuery UI theme. Even if you don't want to use Bootstrap as...
I have no idea how it's supposed to work (or why the don't have a print CSS), but...