If you make a gem with Bundler, you will get a rake release task that will instantly publish your gem...

github.com

Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.

Put the font files (e.g. ttf) into ~/.fonts Run fc-cache -v Or, if you prefer to use the GUI...

Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...

tex.stackexchange.com

tlmgr is the TeX Live Manager and responsible for the TeX installation on your (Linux) machine. If you're getting...

Just install the texlive-xetex package: sudo apt-get install texlive-xetex Running integration tests without texlive-xetex will produce...

The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...

github.com

bower-rails is a great solution for managing vendored assets in your Rails app. It feels especially much more convenient...

In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...

There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...

When your system is not running on English, you may sometimes want to run some applications and not use your...

We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv

Getting rid of your old LibreOffice Remove your old LibreOffice: sudo apt-get remove libreoffice* You probably also want to...

If you get an error like this: An error occurred while installing pg (0.17.1), and Bundler cannot continue.

Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...

github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

curl http://ipecho.net/plain; echo

These two addons will change your life: Search as list This will always open search results in the list views...

Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...

So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...

Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...

Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...

Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...

makandra dev

Spreewald now has a spreewald binary that lists all available steps, optionally filtering them. Example: $> spreewald # All Spreewald steps