...the old versions you wish to remove. Keep at least one recent, working kernel besides the one you are currently running. Address Metapackage Conflict (GA vs. HWE)
If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...
Scope is all about where something is visible. It’s all about what (variables, constants, methods) is available to you...
...as e.g. Spreewald does, the following snippet will save you typing. It recognizes a prose BEM-style selector and maps it to the corresponding BEM class. For a variation on...
...this idea, see An auto-mapper for ARIA labels and BEM classes in Cucumber selectors. Examples "the main menu" -> '.main-menu' "the item box's header" -> '.item-box--header'
Take care when using rescue_from to rescue multiple errors. The following will not work, because later rescue_from statements...
This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...
If you have a time given in a different time zone than your local one, parsing will convert it for...
Given group size If you would like to split a Ruby array into pairs of two, you can use the...
Say you have an RGBA color that you need as a non-transparent color because of reasons. Basically, this is...
Check your GPU state on chrome://gpu. If it reads "WebGL: Hardware accelerated" in the first list, you're set...
...gitignore, see https://makandracards.com/makandra/15947 [diff] algorithm = patience # A slower algorithm that sometimes produces better diffs [fetch] prune = true # Remove local remote-tracking branches that have been deleted [rebase]
main-view = date:relative author:abbreviated commit-title:graph=true,refs:true A better diff tool You may switch to delta, a fancy diff tool with syntax highlighting and...
...future we will be able to transition to display: none by using the transition-behavior: allow-discrete property. This will delay the display change until the transition ends. This is...
You can define what will be printed by checking View -> Preview Page Breaks and then moving around the blue borders...
Connect to your memcached host. (AWS elasticache is memcached) telnet foohost23.cs2631.0001.euw1.cache.amazonaws.com 11211 Once you're connected, find out which 'slabs...
This might seem obvious, but I'm rejecting stories because of this on a regular basis. Whenever a list (e.g...
Ruby has the class Rational which allows you to store exact fractions. Any calculation on these variables will now use...
Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...
...visibilitychange event to be notified if visibility changes. This allows your background tab to become completely passive: function pulse() { // do expensive thing } let pulseInterval function schedulePulse() { if (document.hidden) { if (pulseInterval...
The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...
This only works when you actually have a session ID (not the case for Rails' CookieStore, for example): request.session_options...
You can use the config.x configuration in combination with config_for to configure global settings for your Rails 4.2+ application...
The DB schema is the most important source of truth for your application and should be very self-explanatory. If...
Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the site you're about to test is placed behind a...
...value_2;cookie_name_3=cookie_value_3 ... Open a terminal and run your benchmark: ab -n 100 -c 10 -C $cookie_string http://your_site/admin/site-to-load. man ab to find...
...John Doe <user@example.com> Date: Thu Dec 23 13:37:00 2010 +0100 make everything better Once you are done bisecting you can go back with git bisect reset