Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.
When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...
Rails middlewares are small code pieces that wrap requests to the application. The first middleware gets passed the request, invokes...
If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...
We structure our CSS using the BEM pattern. Our naming convention for blocks, elements and modifiers has evolved over the...
Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...
grep is the go-to CLI tool to accomplish tasks like filtering large files for arbitrary keywords. When additional context...
CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...
We use Sentry to be informed about different kinds of issues. One of the key features is that you are...
"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...
# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...
RubyMine has a HTTP Client that can be useful to test web APIs. Just create a .http scratch file an...
In a web application you sometimes have tasks that can not be processed during a request but need to go...
Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...
If you render markdown from user input, an attacker might be able to use this to inject javascript code into...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
Test-Driven Development (TDD) in its most dogmatic form (red-green-refactor in micro-iterations) can be tedious. It does...