makandra dev

If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...

CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...

makandra dev

# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...

makandra dev
github.com

If you render markdown from user input, an attacker might be able to use this to inject javascript code into...

We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...

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

github.com

Because colors improve readability so much. On Ubuntu 18.04 you can install it with sudo apt install grc

developer.mozilla.org

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

Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...

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

This checklist should help you to check edge cases that are not part of the default Carrierwave configuration.

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

makandra dev

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

This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

makandra dev

CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...

makandra dev
realfavicongenerator.net

This favicon generator will guide you to a perfect set of favicon files, suitable for all devices and situations (browser...

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

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

makandra dev

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

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

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

makandra dev

TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...

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