View
Posted 5 months ago by Henning Koch.

If your app does not need to support IE11, you can use most ES6 features without a build step. Just...

Posted over 4 years ago by Judith Roth.

If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...

Posted 6 months ago by Henning Koch. developer.mozilla.org

The cancelable promises proposal was withdrawn some time ago. The new standard way is that your long-running function take...

Posted 6 months ago by Dominik Schöler.

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

Posted over 7 years ago by Ulrich Berkmueller.

What collapsing margins are Imagine you have 2 HTML boxes. The first one has a margin-bottom of let's...

Posted 6 months ago by Arne Hartherz.

When doing Basic Authentication, your browser will send an "Authorization" header. Its value is simply a Base64-encoded representation of...

Posted over 4 years ago by Dominik Schöler.

Starting Terminator with split screens is quite simple: Just store a layout and start Terminator with the --layout option.

Posted 6 months ago by Emanuel De.

The rendered font often depends on the local font your system provides, therefore you often find a rule like below...

Posted almost 6 years ago by Tobias Kraze.

Next time you have to do more than trivial CSS changes on a project, you probably want to have live...

Posted 7 months ago by Arne Hartherz.

The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...

Posted 7 months ago by Arne Hartherz. jakearchibald.github.io

There are many ways to optimize SVGs. Ideally, your build pipeline does that automatically for you (e.g. via postcss-svgo...

Posted over 5 years ago by Martin Straub.

Use protocol independent URLs whenever possible so that the browser will choose the protocol related to the protocol which the...

Posted almost 3 years ago by Dominik Schöler.

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

Posted 7 months ago by Arne Hartherz. codepen.io

Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...

Posted 7 months ago by Arne Hartherz.

Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle

Posted almost 7 years ago by Arne Hartherz.

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

Posted 8 months ago by Dominik Schöler. github.com

This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...

Posted over 4 years ago by Thomas Klemm. gist.github.com

A nice bookmarklet to analyze how many watchers have been registered on the current page. Good for keeping an eye...

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