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...
There are two ways within systemd to manage the fact that you need the gluster service active before mounting the...
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...
If you have a single node elasticsearch instance and indices with replicas enabled your cluster state will be yellow. If...
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...
With passenger-status --show=requests you can get a huge JSON showing current information about the running passenger processes.
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")
Browsers support different types of redirects. Be very careful with these status codes: 301 Moved Permanently 308 Permanent Redirect
Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...