The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...
The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...
Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
A very clever hack to parse a structured URL object is to create a element and set its href to...
BubbleTree is a library for interactive visualization of hierarchical data. Originally developed mainly for spending data, the library is now...
Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want...
Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...
Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.
When you need to check a value for presence, don't rely on JavaScript since it considers 0 or "0...
In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. And that's not a float! This occurs because JavaScript uses...
JavaScript's NaN ("Not a Number") is hard to compare against. It never equals anything, not even itself:
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' };
Create beautiful Javascript charts with one line of Ruby. Promising chart library for easily rendering charts with Google Charts.
Capybara will fail to find tags that are missing an href attribute. This will probably happen to you every now...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
If you want to move an element inside an array, neither JavaScript/ES6+ nor libraries like LoDash offet that natively.
Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like...
Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
The Paper elements are a set of UI elements that implement the material design system.
Automatically builds gems from Bower packages (currently 1700 gems available). Packaged Javascript files are then automatically available in your asset...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
This card describes how to pass an array with multiple element to a JavaScript function, so that the first array...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...