View
Posted 3 months ago by Michael Leimstädtner.

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

Posted over 4 years ago by Dominik Schöler.

TL;DR A z-index larger than 10 should rarely be needed. The CSS property z-index is not as...

Posted about 3 years ago by Henning Koch.

Is your application doing something expensive every few seconds? Maybe an animated slider that rotates images? Maybe you are updating...

Posted about 8 years ago by Dominik Schöler. blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

Posted 3 months ago by Dominik Schöler.

Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...

Posted 3 months ago by Tobias Kraze.

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

Posted 3 months ago by Tobias Kraze.

To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...

Posted 3 months ago by Emanuel De.

We already have some approaches on how to test file downloads withe selenium. Nonetheless here is another approach, which inspects...

Posted 3 months ago by Tobias Kraze.

We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...

Posted 3 months ago by Dominik Schöler.

The SameSite cookie attribute was first drafted in 2016. It defines under which circumstances a cookie should be sent to...

Posted 3 months ago by Tobias Kraze.

When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...

Posted almost 3 years ago by Henning Koch.

When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...

Posted about 7 years ago by Arne Hartherz. jsfiddle.net

Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!

Posted 3 months ago by Emanuel De.

Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...

Posted over 2 years ago by Henning Koch.

In general, you should not put a block element inside an inline element. So don't do this: text

Posted 4 months ago by Emanuel De.

PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...

Posted over 2 years ago by Arne Hartherz.

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

Posted almost 9 years ago by Arne Hartherz.

There are two distinct ways of commenting Haml markup: HTML and Ruby. HTML comments This will create an HTML comment...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more