Freetile.js

jQuery plugin for packing page content into a dynamic, responsive layout that uses screen space efficiently.

Zeus promises to make rails development faster

Rails app boot and test startup become slow as gems grow; Zeus preloads the app so console, server, generate, and specs run in under a second.

A jQuery plugin for producing bar charts from tables.

Converts HTML tables into bar charts with a jQuery plugin, offering several variants for displaying tabular data visually.

Capybara 2.0 has been released

Capybara 2.0 breaks compatibility with 1.x and drops Ruby 1.8 support. It changes Rails integration test conventions, element matching, and RSpec syntax.

Andand and SimpleDelegator

andand does not cooperate with SimpleDelegator; the call can skip the decorator and reach the wrapped object. Overriding andand in the delegator restores the intended chaining.

Using sets for many-to-many relationships

Reduces database storage for many-to-many links when the same combinations repeat often. Works only for simple join records without extra attributes or callbacks.

uninitialized constant MysqlCompat::MysqlRes (NameError)

A MysqlCompat::MysqlRes NameError often follows a system library change, especially switching from MySQL to MariaDB. Reinstalling the MySQL gems usually restores compatibility.

Xfce: How to change the default program for a file extension

Changing a file extension’s default opener in Thunar lets all matching files open in the preferred app instead of the wrong one.

How to move a window to the next monitor on Xfce, Mate and other X Window Managers

Move the active window to the next monitor in Xfce, MATE, and other X window managers using a small script with xdotool and wmctrl.

Setup an Ubuntu mirror that enables local release upgrades

Local Ubuntu release upgrades need mirrored meta-release files and do-release-upgrade packages from proposed repositories to avoid falling back to the public archive.

How to set the default monospace font on Xfce (Xubuntu)

Applications that use the generic Monospace family ignore terminal font settings. A fontconfig override in ~/.fonts.conf can map it to a preferred font.

CSS: Vertically center with display: table-cell

Vertically centering arbitrary block children inside a fixed-size container can be done with display: table-cell and vertical-align: middle.

Carrierwave: Auto-rotate tagged JPEGs

Tagged JPEGs from cameras can appear sideways when CarrierWave ignores orientation metadata. auto_orient corrects rotation before other processing steps.

Writing Fast, Memory-Efficient JavaScript

JavaScript engines such as V8 are optimized for speed, but memory use still affects performance in large applications. Understanding engine behavior helps reduce browser overhead.

Rubygems: Rebuild native extensions

Native Ruby gems can break after system library or distribution upgrades, causing warnings, segfaults, or missing shared-object errors. gem pristine --all rebuilds compiled extensions and resets gems to a clean state.

query_diet now support Rails 3

query_diet now works with Rails 3, with installation differing slightly from older versions.

Get all associations of an ActiveRecord class

List every Active Record relationship on a model and inspect each association’s name, class name, or type via reflection.

Subtle Patterns Preview

Preview Subtle Patterns textures on a site without swapping images or changing CSS.

Keyboard Navigation Plugin for Safari, Chrome and Firefox with a rich feature set

Keyboard-driven web navigation reduces mouse use and can speed up common browser actions, with selector-based element picking for command-line-minded users.

Taming icon fonts for use in Rails views

Icon fonts are awkward to use directly in Rails views; helpers and Sass mixins make icon classes, labels, and styling easier to manage.

Internet Explorer will download CSS files twice, if referenced via scheme-less URLs

Internet Explorer 7 and 8 fetch stylesheets twice when http or https is omitted, so protocol-relative URLs are unsafe for CSS links on public sites.

Firefox: Inspecting mixed content warnings (and how to enable them)

Mixed-content requests can undermine SSL pages and may go unnoticed unless Firefox warnings are enabled. about:config and the Web Console help locate insecure http:// resources.

Rails 2.3.x sometimes renders localized views with the wrong content type

Rails 2.3.5 can send an invalid Response content-type for localized view templates, causing browsers to receive de.html instead of text/html.

Cucumber: Wait for any requests to finish before moving on to the next scenario

Selenium/Cucumber scenarios can finish before browser requests and redirects are done, leaving the session busy and breaking later steps and hooks.