makandra dev

Google Chrome disables Notifications for insecure origins (i.e. those using HTTP). Only http://localhost is considered secure.

To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...

news.ycombinator.com

This is an extract from the linked article. It shows an approach on how to implement encrypted passwords with the...

CSS variables are very different from preprocessor variables. While preprocessors use variables to compile a static piece of CSS, CSS...

A flat folder structure can be cool if you have only a few folders but can be painful for huge...

Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.

This error occurs when passing an object instead of a string to Jasmine's describe(): # Bad describe(HoverClass, function() {...

Important If your railscomplete-deployment uses the net-ssh-gem please ensure you use version 5.2.0 or newer to ensure...

gomakethings.com

Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...

After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...

Sometimes new versions of software introduce new bugs. In this case you might not want the package to upgrade on...

When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...

makandra dev
medium.com

In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.

If you have a very large datadir in MariaDB and you want to transfer the data to another host (e.g...

makandra dev
developers.google.com

Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.

In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...

Here is an example with the --tags option. You need to wrap them inside --cucumber-options option of parallel_cucumber...

Rails middlewares are small code pieces that wrap requests to the application. The first middleware gets passed the request, invokes...

If you're about to handle X509 certificates and don't want to remember/google a handful of openssl commands you...

makandra dev

We structure our CSS using the BEM pattern. Our naming convention for blocks, elements and modifiers has evolved over the...

I experienced a lot of issues with google chrome that made it almost impossible to work with it. Here are...

Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...

If you want to prevent that two processes run some code at the same time you can use the gem...

makandra dev
github.com

grep is the go-to CLI tool to accomplish tasks like filtering large files for arbitrary keywords. When additional context...