When accepting GIF images, you will also accept animated GIFs. Resizing them can be a time-consuming task and will...
A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...
If you have trouble updating something on FreeBSD you should always take a look in the UPDATING file.
When using git diff, you might encounter weird characters where umlauts (or any other UTF-8) characters should be. It...
Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...
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...