makandra Operations

If you want to perform a failover on another haproxy backend server this is the way you should do it...

makandra Operations
brendangregg.com

Brendan Gregg is the Linux performance god. Use the information in this link to find out what ways there are...

github.com

Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...

reddit.com

Chrome has discontinued support for 32-Bit Linux builds and this might break your apt-get update.

If you are on a Linux shell and want to open a file with whatever default application is configured for...

nginx.org

If you want to configure your nginx to drop connections to a specific location, you can do so by responding...

Imagine you have a list you want to render inline on large screens, but stacked on small screens. high

The following sums up all connections (ESTABLISHED, TIME_WAIT, FIN_WAIT, etc.) and sorts it: netstat -n | awk ' $5 ~ /^[0...

getpostman.com

Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...

github.com

Uses FFI and works all relevant operating systems. If you'd try to do it yourself, you'd have to...

RSpec supports a one-liner syntax for setting an expectation on the subject: describe Array do describe "when first created...

makandra dev

Cause logstaglia is so cool you may want to record a video. We're lucky: Logstalgia has a parameter for...

A HTTP 302 Found redirect to PATCH and DELETE requests will be followed with PATCH or DELETE. Redirect responses to...

makandra dev

In JavaScript we often use Immediately Invoked Function Expessions (or IIFEs) to prevent local variables from bleeding into an outside...

To install gems Bundler needs to be able to talk to https://api.rubygems.org. If you are behind a proxy you...

During debugging you might pepper your code with lines like these: console.log('foo = ' + foo + ', bar = ' + bar) I recommend to use...

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

techblog.netflix.com

You login to a Linux server with a performance issue: what do you check in the first minute? uptime

makandra dev
github.com

Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

nginx.org

You can use proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location

unix.stackexchange.com

As described by the linked Stackoverflow answer, run these commands: sudo add-apt-repository ppa:git-core/ppa -y