The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...
Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \
In the Controller: // Instead of doing this: app.controller('TodoCtrl', function ($scope) { $scope.input = 'ex. buy milk'; }); // Do this: app.controller('TodoCtrl', function...
Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...
An amped-up alternative to Turbolinks that differs in points like this: It's opt-in instead of opt-out...
Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...
If you make a gem with Bundler, you will get a rake release task that will instantly publish your gem...
Using this gem I could get JSON generation from a large, nested Ruby hash down from 200ms to 2ms.
To bind an HTML value to ng-bind-html, you need to mark it as "trusted" first. Among other ways...
If you have issues with PDFs, fix them like this: pdftk .pdf output .pdf Background I had an issue where...
The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...
Angular-xeditable is a bundle of AngularJS directives that allows you to create editable elements. Such technique is also known...
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...
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...
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...
These two addons will change your life: Search as list This will always open search results in the list views...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...