Moment.js - A lightweight javascript date library
A lightweight JavaScript date library for parsing, manipulating, and formatting dates.
Run your own code before specific RSpec examples
Run custom setup code before selected RSpec examples using metadata tags instead of Cucumber scenarios.
Fix YAML::Syck::DefaultKey:0x1083b59f8
Invalid gemspecs and ill-formed requirements often come from the Syck-to-Psych transition; replacing Syck::DefaultKey entries with = in affected gemspec files resolves the error.
CSS: Change text selection color
Selection highlight color can be customized with CSS using ::selection and ::-moz-selection; Firefox needs the vendor-specific pseudo-element.
RestClient sends XML Accept header by default
REST Client adds application/xml to simple GET requests, which can trigger unexpected server responses. :accept => :html requests the default text/html content type instead.
Letter Opener
Preview email in the browser instead of sending it, making message review and debugging easier during development.
Auto-generate Cucumber navigation paths
Cucumber step definitions can map natural-language destinations to Rails route helpers, including list, new, edit, and record lookup paths.
High-level Javascript frameworks: Backbone vs. Ember vs. Knockout
High-level MV* JavaScript frameworks reduce DOM boilerplate with client-side rendering, routing, and data binding, but choosing between Backbone, Ember, and Knockout depends on style and needs.
Ruby: Indent a string
Adds String#indent for padding each line, including blank lines, without introducing trailing whitespace and with optional custom indentation characters.
New cards feature: Cite other cards
Link related cards directly from the editor by searching for a card and inserting a Markdown link into the text area.
New cards feature: Github-style code blocks
Add code blocks without indentation using triple backticks, matching GitHub-style fenced code blocks for easier formatting in plain text and Markdown.
Make Capistrano use SSH Key Forwarding
Capistrano can check out code on the target server using SSH agent forwarding instead of a separate repository key. ssh_options[:forward_agent] = true enables this, but it should be used with caution.
Git: Retrieve a file from a different branch or commit
Recover a file from another branch or earlier commit without switching the whole repository. git show displays it, and git checkout restores it into the working tree.
Fix ActionController::Session::CookieStore::CookieOverflow
CookieOverflow in ActionController::Session::CookieStore means session or flash data exceeds cookie size limits, often from storing too much object data.
Use the "retry" keyword to process a piece of Ruby code again.
Ruby can re-run a rescued begin block with retry, useful for temporary failures such as unavailable remote servers; a termination condition prevents infinite loops.
Cucumber step to test that a tooltip text exists in the HTML
HTML-attribute tooltips are entity-encoded, so presence checks need decoded text or encoded matching in Capybara.
Look up a gem's version history
Check a gem’s release history to find newer compatible versions, especially when you need a Rails 2 variant of an installed library.
Fixing Graticule's "distance" for edge cases
Float rounding can make Graticule’s spherical distance calculation call acos with values slightly outside the valid range, breaking zero-distance cases.
How to customize CKEditor dialogs
CKEditor dialog tabs and fields can be adapted to fit a custom editing workflow.
How to fix a corrupt git index
Git index corruption blocks commands like git status and git pull, but uncommitted changes remain. Removing .git/index and resetting the branch restores the repository.
Mac OS X Lion (10.7.2) screws host resolution
Mac OS X Lion 10.7.2 can ignore /etc/hosts and break local name resolution, so Apache virtual hosts and Passenger settings stop working as expected.
turn.js - The page flip effect for HTML5
jQuery plugin that creates a realistic page-flip transition for HTML5 content, suitable for book- or magazine-style browsing in modern browsers.
nruth/show_me_the_cookies - GitHub
Helpers for inspecting and manipulating Capybara browser cookies in integration tests, with support for rack-test and Selenium WebDriver.
Flexible overflow handling with CSS and JavaScript
Truncates one variable-length label while keeping a second label visible on the same line, with a JavaScript fallback for browsers without the needed layout.