A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...
You can use the Youtube API to get data from youtube. Here are some resources and some things that are...
There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...
ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...
Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...
Normally, Rails handles encryption and signing of cookies, and you don't have to deal with the matter. Should you...
coffeescript.org contains only documentation for the latest CoffeeScript version. Version 2 transpiles to ES6. We stopped using CoffeeScript a while...
WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
Most of the time it is a tedious task to apply a code style guide to an existing code...
When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...
This repository is a community-curated list of flexbox issues and cross-browser workarounds for them. The goal is that...
The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...
CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
There are several ways to merge two (or more) PDF files to a single file using the Linux command line...
Example (broken in IE): flex: 0 1 calc(50% - 20px) Workaround: flex-basis: calc(50% - 20px) flex-grow: 0 // Default...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
When upgrading Clearance, pay attention whether the password hashing strategy might have changed. Old clearance versions (< 1.0) used SHA1-encrypted...
You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...