steamdev.com

zClip is a lightweight jQuery "copy to clipboard" plugin built using the popular Zero Clipboard library. This plugin uses an...

makandra dev
github.com

A small library to provide the Rails I18n translations in Javascript clients.

makandra dev
codemirror.net

CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the...

teddevito.com

This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...

makandra dev
robertwhurst.github.com

KeyboardJS is a library for binding to keys or key combos

stackoverflow.com

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.

stackoverflow.com

In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...

makandra dev

If you need to debug Analytics tracking, consider using this chrome extension. It will replace the tracking code with a...

addyosmani.github.com

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...

momentjs.com

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...

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...

0xfe.blogspot.com

Chrome now supports desktop notifications using WebKit's webkitNotifications API. This means you can create popup bubbles from Javascript.

Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...

It might sound trivial, but there is no such thing as a "hover" or "mouseover" state on touch devices. If...

Removing features and merging those changes back can be painful. Here is how it worked for me.\

Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...

stackoverflow.com

Though Internet Explorer 9 supports the box-shadow CSS property there is a nasty bug which sometimes prevents it from...

When selecting records in a date range, take care not to do it like this: start_date = Date.parse('2007-05...

Although it's tempting flirt with detecting mobile/touch devices with CSS media queries or Javascript feature detection alone, this approach...