When you have a powerful machine with many CPU cores, you might run into an error like
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...
The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...
Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle
Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
If you need to run a program on a remote machine (e.g. to your office PC) with a graphical UI...
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...
Option 1: JSON dump In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the...
For webpages to load fast it's recommended to optimize images. Ideally an image's file size should be as...
Ruby has this handy block shortcut map(&:to_i) for map { |x| x.to_i }. However, it is limited to argument...
Whenever is a Ruby gem that provides a nicer syntax for writing and deploying cron jobs. Leading zeros are important...
When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.
Don't sum up columns with + in a sql-query if NULL-Values can be present. MySQL and PostgreSQL cannot...
geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...
mysql> SELECT @@global.version; +------------------+ | @@global.version | +------------------+ | 5.6.30 | +------------------+ 1 row in set (0,00 sec) MySQL 5.6 Reference Manual says "BLOB and TEXT...
Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...
Note netstat has mostly been superseeded by its more modern rewrite ss which nowadays comes pre-installed rather than netstat...
When making requests using curl, no cookies are sent or stored by default. However, you can tell curl to re...
wrap the text with a span use line-height for the spacing between lines ("margin")