makandra dev
elastic.co

Dashboard (Marvel Kibana) and query tool (Marvel Sense) for Elasticsearch. Once installed you can access Kibana and Sense at these...

github.com

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

makandra dev

Ever wondered how you can create a simple table output in bash? You can use the tool column for creating...

github.com

A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.

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

SELECT pg_database.datname as "database_name", pg_database_size(pg_database.datname)/1024/1024 AS size_in_mb FROM pg_database ORDER...

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

You can tell git to ignore different kinds and amounts of whitespace when merging or cherry-picking. This often occurs...

nateberkopec.com

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

makandra dev

To delete a certificate request run sudo puppet ca destroy $your.full.hostname on your puppetmaster.

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

In Ruby 2.3 you can use <<~ instead of <<- to automatically remove indentation from a HEREDOCs: str = <<~MESSAGE Hello Universe!

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

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!

unix.stackexchange.com

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