Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...
Put the font files (e.g. ttf) into ~/.fonts Run fc-cache -v Or, if you prefer to use the GUI...
If you have issues with PDFs, fix them like this: pdftk .pdf output .pdf Background I had an issue where...
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...
JavaScript's NaN ("Not a Number") is hard to compare against. It never equals anything, not even itself:
Angular-xeditable is a bundle of AngularJS directives that allows you to create editable elements. Such technique is also known...
In addition to the {{ myValue }} two-way binding syntax, since Angular 1.3 there's a one-time binding syntax, prefixing...
Simply use one(...) instead of on(...). It takes the same arguments.
Since we are using LoDash instead of UnderscoreJS in recent/current projects, you should keep in mind that their syntax is...
bower-rails is a great solution for managing vendored assets in your Rails app. It feels especially much more convenient...
JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };
Creating records in specs can be so fast that two records created instantly after one another might have the same...
We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...
p ActiveRecord::Base.connection.indexes(:table_name)
This may be hard to find in the docs, but if you want CoffeeScript classes that instantiate their properties from...
A collection of useful filters for AngularJS, e.g. for fuzzy string searching, displaying numbers as percentages an more.
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.
A different take on what we're doing with ActiveType. Since it lives under the rails organization it might be...
In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...
To avoid n+1 queries, you want to eager-load associated records if you know you need to access them...
Cookies without an expiration timestamp are called "session cookies". [1] They should only be kept until the end of the...
Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...
When your system is not running on English, you may sometimes want to run some applications and not use your...