The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...
Let's say you have two factories that share some attributes and traits: FactoryBot.define do factory :user do screen_name...
Have you ever mistaken one Rails environment for another? The attached helper will help you to never do it again...
This extension allows you to manually sort (order) your folders in the folder pane of Thunderbird or automatically sort them...
Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...
It claims to be even faster and brings a new plugin that polyfills object-fit and object-position. This allows...
As your Rails project grows, you will accumulate a number of small patches. These will usually fix a bug in...
Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...
When you are working with jQuery selectors and collections, many times you want to know if the collection actually contains...
to create a Gallery that has a name and has_many :images, which in turn have a...
UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows
The attached ImageLoader helper will start fetching an image and return an image that is resolved once the image is...
In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...
jQuery's find looks in the element's descendants. It will never return the current element itself, even if the...
Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...
TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...
Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...
Connect to your IMAP server. If you have SSL enabled: openssl s_client -connect your-server:993 if your server...
When you find yourself in the situation that you would like to define a custom matcher in your specs, but...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
To delay your entire Jasmine test suite until the DOM is ready, add the following: beforeAll(function(done) { $(done); });
Since jQuery 3 saw it's first release candidate today, the links has a list of (breaking) changes.
brandcolors.net provides you with the colors of the world's biggest brands, easily searchable.
When you have a localized website, you may want to redirect users to their preferred language when they visit the...