funtoo.org

Keychain helps you to manage ssh and GPG keys in a convenient and secure manner. It acts as a frontend...

lab.hakim.se

Stuff like this is now possible in Webkit browsers, Firefox and IE10.

makandra dev
rubyforge.org

Under certain circumstances gettext_i18n_rails will hit a near-infinite loop. This occured in Rails 2.3.5 with Haml 3.0.18...

youtube.com

Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...

makandra dev
github.com

pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...

makandra dev

If a customer calls and tells you that she cannot see some content of her website beware of the following...

If (for some reason that you don't want to ask yourself) you need to know all classes that define...

If you want to update some records with boolean fields in a migration, always remember to set your values with...

In a nutshell: return statements inside blocks cause a method's return value to change. This is by design (and...

If you get errors from your development WEBrick that contain unicode salad, you are probably requesting the page via SSL...

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

Tempfiles get deleted automatically With the the ruby Tempfile class you can create temporary files. Those files only stick around...

css-tricks.com

Nice list of icon sets that come in the form of fonts. I recommend Font Awesome.

sudo apt-get install gnome-session-fallback or (alias) sudo apt-get install gnome-panel from a terminal.

This works in modern RSpecs (RSpec >= 2.x) and Cucumbers: rspec spec/models/node_spec.rb:294:322 cucumber features/nodes.feature:543:563:579

RubyMine: Set specific Ruby version per project

Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...

makandra dev
api.rubyonrails.org

Methods to remove e.g. order or conditions from an existing scope chain.

I was experiencing the following problem: It seems your ruby installation is missing psych (for YAML output). To eliminate this...

If you encounter a Firefox that does not care about your font settings but always uses specific fonts, you can...