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

unix.stackexchange.com

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

makandra dev
catonmat.net

Activate VI mode by running set -o vi Now use your Bash as if it were VI! Hit Esc to...

I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...

makandra dev
ne.di.unimi.it

Command line text editor with syntax highlighting, menus (F1), etc. This might be a worthy replacement for nano if you...

mail-tester.com

You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...

You can configure a stat socket for haproxy in the global section of the configuration file: global daemon

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...