You might have some trouble running a Rails LTS 2 app with MySQL 5.7. If you don't want to...
On your local system that only hosts non-critical development data and only you have access to, you can store...
The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...
When you have string contents (e.g. a generated binary stream, or data from a remote source) that you want to...
You need to update a lof gems. Make sure you don't have any version constraints in your...
Running rails server will start a local server that you can access via http://localhost:3000. When you are working...
Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...
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...
If you want to make a screenshot of a website that works well in print or on a high-DPI...
I recently had fun with replacing a custom video plattform ("mycustomtv") in one of our applications. I learned a lot...
Understanding your type of cronjob Some cronjobs must only run on a single server. E.g. when you run nightly batch...
Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
Let's say you have a folder images and want to to move all files in there to a new...
RSpec allows defining methods inside describe/context blocks which will only exist inside them. However, classes (or any constants, for that...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...
After loading a staging dump into development, you might get an ActiveRecord::EnvironmentMismatchError when trying to replace the database (like...
On my Ubuntu MATE machine, switching applications with ALT + TAB was impossible, because it took nearly 2 seconds. The culprit...
You need to disable "Bluetooth low energy", then follow these core steps: Make sure the headphones are in pairing mode...
Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...
If you want to ssh into your vagrant box without switching into the project directory and typing vagrant ssh, you...
You can use local copies of gems in your Gemfile like this: gem 'spreewald', path: '~/gems/spreewald' As soon as you...
In the ruby shell (IRB) and rails console the return value of the previous command is saved in _ (underscore). This...