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

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...

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

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

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...

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.

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

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

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

makandra dev

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...

To set a default Node version for new shells, use nvm alias default : nvm alias default 1.2.3

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

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

matthewphillips.info

A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...

caniemail.com

The french Tilt Studio built a caniuse clone for email clients. Note that while checking styling support helps using (or...

jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...

Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...