makandra dev
mailru.github.io

A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...

Today in computer: In Coffeescript, on and yes are aliases for true. off and no are aliases for false.

It might happen that your Sidekiq queue gets stuck, hanging at 0% CPU load. When we inspected the process using...

svnweb.freebsd.org

If you have trouble updating something on FreeBSD you should always take a look in the UPDATING file.

The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...

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...

github.com

An amped-up alternative to Turbolinks that differs in points like this: It's opt-in instead of opt-out...

github.com

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

makandra dev
draggabilly.desandro.com

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...

Browsers make this very hard. Even when you explicitely set the selection inside the textarea (e. g. using jquery-fieldselection...

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...

github.com

JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };

makandra dev
github.com

A different take on what we're doing with ActiveType. Since it lives under the rails organization it might be...

api.rubyonrails.org

To avoid n+1 queries, you want to eager-load associated records if you know you need to access them...

Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...

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...

github.com

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

When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...

blog.mailgun.com

Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...