Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...
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.
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...
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...
Since we are using LoDash instead of UnderscoreJS in recent/current projects, you should keep in mind that their syntax is...
JavaScript structures that include circular references can't be serialized with a"plain" JSON.stringify. Example: a = { name: 'Groucho' };
We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...
Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...
In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...
If you're using the :header_html option in PDFKit (or the corresponding --header-html option in wkhtmltopdf), and the...
Great introduction to React.js and the ideas behind it.
Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...
In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...
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...
Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...
Nearly all jQuery traversal functions ignore elements that are not HTML tags. To work with other type of nodes (like...
Restmod creates objects that you can use from within Angular to interact with your RESTful API.
See attached link. The gist is: .element { position: relative; top: 50%; transform: translateY(-50%); } Works in all web browsers and...