ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...

github.com

Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...

This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...

Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.

makandra Operations

on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...

makandra dev

Crontabs are often unordered, especially when generated for an application where you usually group tasks by their domain/scope.

There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

Using the dialog command you can launch ASCII-art dialogs from your shell scripts. Check out man dialog for a...

makandra dev

Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...

Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...

If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...

First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...

medium.freecodecamp.com

Collection of useful tools in the Chrome JavaScript console. Make the whole page editable This is not special to Chrome...

Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...

In general, you should not put a block element inside an inline element. So don't do this: text

Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...

So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

If your external displays not switching on or showing a weird behavior (for e.g. all displays getting the same configuration...

When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...

In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...

If you want to find the commits that touched a specific text in a file, use git log -S 'text...