When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...
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...
If you migrate a Rails application from Sprockets to Webpack(er), you can either transpile your CoffeeScript files to JavaScript...
CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...
These warnings are printed when the etc Gem is installed, while etc is also included in Ruby. Fix with:
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
If you have a :string or :text field, you should pair it with a model validation that restricts its length...
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...
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...
When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...
Test-Driven Development (TDD) in its most dogmatic form (red-green-refactor in micro-iterations) can be tedious. It does...
When we write a form with date fields, we often use graphical data picker like Rome to get a consistent...
Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...
Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...
To set a default Node version for new shells, use nvm alias default : nvm alias default 1.2.3
Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
Sometimes, you might have duplicate links on a page. Trying to click those links will by default cause Capybara to...
SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...
A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...