If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
When you add a linear gradient to an element, IE9 removes all border-radius and inset box-shadows. This is...
When you want to test how an web-application reacts in a specific resolution, you can set up a specific...
The DOM window object provides access to the browser's history through the history object. It exposes useful methods and...
In order to navigate through the browser history. you can manipulate the window.history object via javascript like follows:
Spreewald gives you steps like these: When I enter "text" into the browser dialog Also see Accept or deny JavaScript...
Basic box shadow support is available in all browsers today, but you need to check to which extend they are...
You can use this code: function scrollToLine($textarea, lineNumber) { var lineHeight = parseInt($textarea.css('line-height')); $textarea.scrollTop(lineNumber * lineHeight); }
Controller responses often include Javascript code that contains values from Ruby variables. E.g. you want to call a Javascript function...
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
zClip is a lightweight jQuery "copy to clipboard" plugin built using the popular Zero Clipboard library. This plugin uses an...
A small library to provide the Rails I18n translations in Javascript clients.
CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the...
This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...
KeyboardJS is a library for binding to keys or key combos
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.
In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...
If you need to debug Analytics tracking, consider using this chrome extension. It will replace the tracking code with a...
Developers these days are spoiled with choice when it comes to selecting an MV* framework for structuring and organizing JavaScript...
If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...
Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's say 30px and the...
A lightweight javascript date library for parsing, manipulating, and formatting dates.
This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...