Small web application where you can upload an image (PNG, JPEG, GIF) and generate a base64-encoded version of it...
Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...
Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...
Awesome hack by Tim VanFosson:
See this Railscast. Basically you can simply write views like index.xlsx.erb: ID Name Release Date Price <% @products.each do |product| %> <%= product.id...
jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
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...
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...
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 will fail to find tags that are missing an href attribute. This will probably happen to you every now...
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...