I was unsatisfied with the existing memory status applets for the Xfce panel, so I wrote a little shell script...
The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...
This works in all relevant browsers: document.activeElement You can use this in your Selenium steps, for example, to assert that...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
Static error pages To add a few basic styles to the default error pages in Rails, just edit the default...
If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...
Git commits should be very deliberate, and only contain changes that you really want to be in there. In order...
Over the next year, there are a number of technologies coming down the pipeline that have the potential to radically...
You know that you can force absolute URLs throughout a response. Now you want to modify URLs similarly, but only...
Hopefully you are using Psych for everything, but if you have legacy Syck YAML files lying around you could be...
ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...
Xfce gives you a million options to configure your panels. Together with Xfce's sometimes arcane configuration UI, this can...
When your file manager sorts file case-sensitively after a distribution upgrade, you probably need to reconfigure your locale settings...
If you have a PNG and want to know a pixel's alpha channel value, you can use Gimp:
As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors.
The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...
The classical scenario: There's a parent div element and you want to center some arbitrary child element vertically inside...
When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...
JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications...
Ever wanted to preview a pattern from Subtle Patterns on your site without the hassle of swapping out images and...
gleeBox is an experimental project that takes a keyboard-centric approach to navigating the web. It provides alternatives to actions...
Icon fonts like Font Awesome are infinitely scalable, look great on high-DPI displays and will give your app a...
You can use scheme-less URLs (or protocol-relative URLs) to have browsers use the current protocol (HTTP or HTTPS...
Having your site run on SSL is worthless when you include content over an unsafe connection (HTTP).