makandra dev

When dealing with time zones in Rails, there is one key fact to keep in mind: Rails has configurable time...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

ombulabs.com

Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...

jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...

To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.

makandra Operations

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

nginx.org

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

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

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

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

litmus.com

You know that layouting HTML e-mails is terrible. For more fun, check Litmus' list of top 10 e-mail...

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

puppet.com

The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll...

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

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

makandra dev

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

Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...

While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...