It might happen that your Sidekiq queue gets stuck, hanging at 0% CPU load. When we inspected the process using...
Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \
Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...
The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the...
A very clever hack to parse a structured URL object is to create a element and set its href to...
When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...
When you need to check a value for presence, don't rely on JavaScript since it considers 0 or "0...
Browsers make this very hard. Even when you explicitely set the selection inside the textarea (e. g. using jquery-fieldselection...
Getting rid of your old LibreOffice Remove your old LibreOffice: sudo apt-get remove libreoffice* You probably also want to...
PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...
If you want to move an element inside an array, neither JavaScript/ES6+ nor libraries like LoDash offet that natively.
When you have an Angular directive that transcludes content, you might want to do something in case there is no...
You know each_with_index from arrays: ['hello', 'universe'].each_with_index do |value, index| puts "#{index}: #{value}" end
Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...
When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
I use this to simulate the (non-existing) :last-letter CSS pseudoclass, e. g. to insert a tombstone at the...
There are 3 built-in file descriptors: stdin, stdout and stderr (std=standard). (You can define your own, see the...
If you once had HTTP Strict Transport Security enabled for a domain, and you want to disable it again, you...
When you want the table headers to always stay around (e.g. because that table is huuuge), use the code below...
With this command you can initiate an application restart without touching restart.txt. Unlike touching restart.txt, this tool initiates the restart...
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Check out the jsFiddle Demo. CSS .absoluteCenterWrapper { position: relative; /* Declare this element as the anchor point for centering */ } /* Positioning */ .absoluteCenter...
When you, as a developer, look at the choices used to build a particular application, you’re blown away at...