techblog.netflix.com

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

makandra dev
cyberciti.biz

Wondering which processes are placed in your swap you can use this bash oneliner: for file in /proc/*/status ; do...

Once Rails knows a given string is html_safe, it will never escape it. However, there may be times when...

postgresql.org

PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...

nateberkopec.com

rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...

There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available

makandra dev
wtfoperamini.com

In developing countries like Nigeria, Opera Mini is used by up to 70% of users on mobile.

makandra dev
github.com

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

If you have many connections to your MySQL or MariaDB (as we have) you might want to filter the list...

makandra dev

When you're using feature branches, they will stack up if you don't delete them after the merge to...

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

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

github.com

We will use this for new Angular code. Consider the guide in "beta". Things will still refine, but the general...

CSS4 comes with :has. E.g. h1:has(b) would select all tags that contain a tag. This is implemented in...

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

makandra dev
github.com

Install this gem and stop using bundle exec or even Geordi's handy b. Yay!

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

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

github.com

When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...

This looks like it is safe to use: 2.2.1 :001 > a = b = "hello world" "hello world" 2.2.1 :002 > a

I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...