When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...
Google Calendar integration into Thunderbird suddenly did not work any more for me. Thunderbird kept asking me for my password...
Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.
Confusingly, RVM installs the bundler gem into the @global gemset, which is available to all gemsets and Rubies.
Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
If you have issues with PDFs, fix them like this: pdftk .pdf output .pdf Background I had an issue where...
If you have this problem when you update your FreeBSD Ports: ===>>> Launching child to update ruby19-iconv-1.9.3.547,1 to...
JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };
Returning an empty scope can come in handy, e.g. as a default object. In Rails 4 you can achieve this...
To avoid n+1 queries, you want to eager-load associated records if you know you need to access them...
There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...
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...
By default git diff highlights whole lines as changes. To diff on a word-by-word basis you can say...
Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...
So you erased a whole day's work? There is hope! The linked article tells how to recover from an...
Run this command to list the authors of the most recent commit of each branch: git for-each-ref --format...
Automagically makes XHR requests work cross-domain by tunneling all communications through an IFRAME on your page.
The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...
The attached RSpec matcher allows for comfortably testing delegation. Examples describe Post do it { should delegate(:name).to(:author).with...