If you make a gem with Bundler, you will get a rake release task that will instantly publish your gem...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. Firefox will not...
MetricsGraphics.js is a library built on top of D3 that is optimized for visualizing and laying out time-series data...
Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.
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.
To bind an HTML value to ng-bind-html, you need to mark it as "trusted" first. Among other ways...
When you need to check a value for presence, don't rely on JavaScript since it considers 0 or "0...
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
tlmgr is the TeX Live Manager and responsible for the TeX installation on your (Linux) machine. If you're getting...
If you have issues with PDFs, fix them like this: pdftk .pdf output .pdf Background I had an issue where...
Just install the texlive-xetex package: sudo apt-get install texlive-xetex Running integration tests without texlive-xetex will produce...
In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. And that's not a float! This occurs because JavaScript uses...
If you have this problem when you update your FreeBSD Ports: ===>>> Launching child to update ruby19-iconv-1.9.3.547,1 to...
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' };
A nice bookmarklet to analyze how many watchers have been registered on the current page. Good for keeping an eye...
Returning an empty scope can come in handy, e.g. as a default object. In Rails 4 you can achieve this...