Capistrano: Bundler stalls and asks for "Username"
Capistrano deployments can stall at a Username: prompt when Bundler fetches a gem from a broken GitHub :git URL and receives a 404.
The Startup Toolkit
Practical crash courses for founding a startup, raising funding, and testing ideas before building too much.
Test xpath expressions in your browser
Test XPath queries directly in the browser console to inspect page elements without extra tools; Safari, Chrome, and Firefox support this in different ways.
How to find out your Ubuntu's release codename or version
Find the Ubuntu release codename or version from system files or lsb_release when you need the exact distribution name for troubleshooting or support.
SFLPhone won't start
SFLPhone can fail to launch when a stale PID file makes the daemon look already running; removing ~/.cache/sflphone/sfl.pid usually fixes it.
Firefox 22 to Stop Eating Third-Party Cookies
Firefox 22 blocks third-party cookies by default, limiting advertiser tracking across sites and giving visited websites control over cookie setting.
MongoMapper for Rails 2 on Ruby 1.9
MongoMapper support for Rails 2.3.x on Ruby 1.9 via a forked gem branch; compatible with Ruby 1.8.7, REE, and Ruby 1.9.3.
"Module.const_defined?" behaves differently in Ruby 1.9 and Ruby 1.8
Ruby 1.9 changes Module.const_defined? to search ancestors by default, so code checking constants can return different results than on Ruby 1.8.
Extracting the conditions of a named scope in Rails 2.3
Named scopes in Rails 2.3 can hide reusable query filters; extracting their conditions makes them easier to inspect and reuse in other queries.
Fix error "invalid byte sequence in US-ASCII" in .js.erb files
Ruby 1.9 can raise invalid byte sequence in US-ASCII in .js.erb files when templates contain UTF-8 characters; adding @encoding: UTF-8 sets the template encoding.
How to silence UTF-8 warnings on Rails 2.3 with Ruby 1.9
Ruby 1.9 triggers UTF-8 regexp warnings in Rails 2.3.16+ from ActiveSupport; a monkey patch in config/initializers suppresses them.
Firefox introduces PDF viewer
Firefox now renders PDF files directly in the browser, which can change how embedded documents appear to users and affect applications that rely on PDF handling.
A regular expression that will never match
Need a stable regex result that matches nothing? /(?!)/ returns a valid Regexp object that never matches.
Capturing signatures on a touch device
Touch-device signature capture for web forms with jQuery Signature Pad, plus server-side PNG generation from the stored stroke data.
How to fix: Microphone recording levels are too quiet (or get lowered automatically)
Low microphone input makes calls hard to hear, and Skype can silently reduce recording gain. Adjusting the input level and disabling automatic mixer changes keeps speech audible.
Git: How to check out branches that exist on multiple remotes
Checking out a branch from multiple Git remotes can fail when git checkout cannot guess the source remote. Explicitly setting the upstream remote avoids the ambiguity.
Fix warning "already initialized constant Mocha" with Rails 3.2
Version mismatches between Mocha and Rails 3.2 can trigger an already initialized constant warning; updating Mocha and using a matching Rails version avoids it.
Using CSS counters - CSS | MDN
CSS counters add automatic numbering and generated values through counter-reset, counter-increment, counter(), and counters() for lists, sections, and other repeated content.
rsl/stringex · GitHub
Ruby string extensions for turning text into URL-friendly slugs, with Unicode handling and locale-aware replacements for symbols and HTML entities.
lang/unicode_utils · GitHub
Pure Ruby Unicode handling for case conversion, normalization and text segmentation; useful when applications need multilingual text processing without native extensions.
How to fix: RVM does not offer recent Ruby versions
Outdated RVM installations can miss newer Ruby releases and install an old patchlevel instead. Updating RVM with rvm get stable restores access to recent versions.
How to fix: "Error Bundler::HTTPError during request to dependency API"
bundle install can fail with Bundler::HTTPError while contacting the dependency API; upgrading Bundler to 1.2.4 or newer removes the misleading error.
Edge Rider: Power tools for ActiveRecord scopes
Edge Rider adds utility methods and compatibility patches for working with ActiveRecord scopes across Rails versions, reducing breakage from changing scope APIs.
CSS 3D Clouds
3D CSS cloud effects can become jerky or turn into a slideshow in browsers other than Chrome.