I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...
The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...
TinyMCE is a WYSIWYG editor which is quite customizable. Add a custom button to the tinyMCE toolbar and tell tinyMCE...
The linked blog post contains some background information about the alt attribute and the figure / figcaption element. It is interesting...
Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...
Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...
If you're experiencing problems with your Google Chrome installation after an update, it might help downgrading Chrome to check...
There is a common view that extracting text from a PDF document should not be too difficult. After all, the...
Good reference how to build bootstrap forms with simple_form.
Important If your railscomplete-deployment uses the net-ssh-gem please ensure you use version 5.2.0 or newer to ensure...
After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...
If you're about to handle X509 certificates and don't want to remember/google a handful of openssl commands you...
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...
"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...
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...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
Test-Driven Development (TDD) in its most dogmatic form (red-green-refactor in micro-iterations) can be tedious. It does...
Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...