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...

This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...

makandra dev
labs.detectify.com

The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...

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

makandra dev
badssl.com

Website that offers lots of different kinds of HTTPS configurations, bad or good or complicated. They also offer a dashboard...

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

manpages.ubuntu.com

run-one is a wrapper script that won't run the given command while another instance of it is running...

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

makandra dev
iamvdo.me

Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...

makandra dev

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

developer.mozilla.org

You can easily have a JavaScript hash/object that returns a default value for unset keys/properties -- as long as you need...

stackoverflow.com

A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...

There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...

evilmartians.com

Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...

Web technology is a broad field and you cannot be an expert in all aspects. However, it is useful to...

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

We generally use multiple application servers (at least two) and you have to search on all of them if you...

Advanced cucumber features Learn about the following cucumber features: Doc Strings ("multiline strings") Tables Tags Before/after hooks Background Scenario outlines...

makandra dev

We have projects that have been developed using many different versions of Ruby. Since we do not want to...

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

On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...

makandra dev
github.com

Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...

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...