A very brief primer to thinking in XPath

XPath query syntax for selecting nodes in XML and HTML can be hard to grasp at first. A concise primer makes the core ideas easier to remember.

How to revert features for deployment, merge back, and how to stay sane

Feature reverts can block deployment when unfinished work must stay out of production; consolidating reverts into a few commits makes restoring them after release easier.

How to organize and execute cucumber features (e.g. in subdirectories)

Cucumber feature files can live in subdirectories, but step definitions and support files need an explicit load path. Using -r features keeps subfolder runs working.

How to print Github wiki pages

Printing GitHub wiki pages is awkward without print styles, but Markdown pages can be rendered locally and printed from generated HTML.

Repeat an element on every printed page with CSS

Printing repeated headers, footers, or watermarks is inconsistent across browsers; position: fixed works in Firefox, Opera, and Internet Explorer, but not in WebKit browsers.

Improved gitpt now part of geordi

Generate Git commits from Pivotal Tracker stories with geordi 0.7, now including a setup wizard, colored story states, and bold highlighting for your own stories.

Get rid of dead keys under XFCE

Dead keys in XFCE make tilde and other symbols awkward for programming and terminal work. A keyboard layout variant without dead keys restores direct typing while keeping accented characters available.

Make Makandra Consul work with RSpec 2.x and Rails 3.x

Using Consul’s authorization matcher with RSpec 2.x on Rails 3.x can fail because of version incompatibilities. Compatibility requires adapting the matcher setup.

Firefox 3.6 Support To end On April 24, 2012

Firefox 3.6 users will be notified in April and moved to the latest stable release through the browser’s built-in update service.

Fix: Cucumber won't start though cucumber.yml is correct

cucumber.yml may be valid while rerun.txt is corrupted by parallel Cucumber workers writing at the same time, preventing Cucumber from starting.

CSS box-shadow not working in IE9 inside tables with collapsing borders

IE9 can fail to render box-shadow inside collapsed tables, even though other browsers work. Using border-collapse: separate with zero spacing restores the shadow.

Pull Quotes with HTML5 and CSS

Pull quotes need visual styling without duplicating article content or changing document structure, especially to avoid double reading in feeds and screen readers.

How to embed images in higher resolutions for printing

Printed raster images can look jagged because printer resolution exceeds screen resolution. Embedding them at higher resolution and scaling down with CSS improves print quality.

monperrus/ExpandAnimations - GitHub

LibreOffice/OpenOffice.org Impress presentations can lose animation stages in PDF export; ExpandAnimations expands them so each stage becomes a separate page.

German localization for Mobiscroll

German UI labels for Mobiscroll date pickers on touch devices, including localized day, month, and time formats.

Date or datetime picker for touch devices

Touch devices often break jQuery UI date and datetime pickers. Mobiscroll or slider access buttons provide a usable mobile alternative.

Detect mobile or touch devices on both server and client

Shared device detection on Rails server and browser client keeps touch-specific behavior available beyond CSS-only or feature-detection hacks.

acts_as_taggable_on: Match records tagged with all, any or none of the given tags

Filter tagged records by all, any, none, or owner-specific tags with tagged_with options for flexible tag-based queries.

Always sort lists that are visible in the UI

Visible UI lists must be sorted; unsorted record indexes and select options become hard to use once they grow beyond a few items.

How to click hidden submit buttons with Selenium

Hidden form submit buttons cannot be clicked directly in Selenium-based Cucumber scenarios; temporarily revealing the element and ancestor containers makes the click possible.

Locale: Localisation for Rails developers

Rails localisation can be managed with remotely editable translations, simplifying updates for multilingual applications without redeploying code.

How to fix the Apple Mail search problem in MacOS X 10.7 Lion

Apple Mail search can stop returning results after upgrading to Mac OS X 10.7 Lion because mailbox indexing breaks. Rebuilding each mailbox restores Spotlight-based search.

Right-align or center panel items in XFCE

XFCE panel items can be pushed to the right or centered with expanding transparent separators, avoiding manual spacing tweaks.

Get color in the Capistrano output

Capistrano output can be colorized with capistrano_colors; Capistrano v2.13.5+ includes it, while older setups can load the gem manually.