When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

makandra dev

General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...

blog.cloudflare.com

Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

github.com

From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...

superuser.com

Inspecting the source of an email does not always reveal the plain HTML source, but some encoded byte mess. In...

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

makandra dev
github.com

Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...

Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...

Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...

The issue in this card can occur if the node_modules directory is checked into your Git repository. We usually...

When installing a gem you can use version comparators like >= or ~>. That way it is possible to fetch the latest...

Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...

jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...

It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...

Over the years we have tried several solution to have vector icons in our applications. There are many ways to...