Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...
Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
While debugging a SPF record I found spf-record.de to be very helpful. it lists all IPs that are covered by...
When loading a database dump created with pg_dump into your database, you might run into an error like
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.
When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...
Pagy is a gem for pagination. They make some bold claims: Pagy is the ultimate pagination gem that outperforms the...
ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...
If you want to get the path of a file relative to another, you can use the expand_path method...
Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.
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...