makandra dev

RubyMine has a HTTP Client that can be useful to test web APIs. Just create a .http scratch file an...

Select2 is a fantastic library for advanced dropdown boxes, but it depends on jQuery. Alternatives Tom Select

When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...

CSS selectors are a very simple tool to select elements from a Nokogiri document. However, the colon in the XML...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...

To make CSS rules dependent on the screen size, we use media queries: @media (max-width: 500px) { // rules for screen...

When you have many changes, and you want to spread them across different commits, here is a way to stage...

github.com

The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...

Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...

When we write a form with date fields, we often use graphical data picker like Rome to get a consistent...

Embedding videos on a website is very easy, add a tag to your source code and it just works...

By default, Devise redirects to a sign-in form when accessing a route that requires authentication. If for some reason...

developer.mozilla.org

Heads up: transparent is not a real color, but black with 0% opacity. In transparent gradients, this adds some gray...

If you need to test some HTML, e.g. an embed code, you can use RubyMine's "scratch files":

You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...

Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...

Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...

makandra dev

SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...

Browsers come with a set of built-in elements like or . When we need a new component not covered by...

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

So I had the issue that User input (coming from many different sources and users) often contains the...

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...