When creating an index using CREATE INDEX, Postgres will create a B-Tree type index by default. The B-Tree...
jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...
You can find out about disk space usage of all tables within your database by running this: SELECT table_name...
Brendan Gregg is the Linux performance god. Use the information in this link to find out what ways there are...
Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...
If you are on a Linux shell and want to open a file with whatever default application is configured for...
Our preferred way of testing ActiveRecord is to simply create/update/destroy the record and then check if the expected behavior has...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
Cause logstaglia is so cool you may want to record a video. We're lucky: Logstalgia has a parameter for...
From Rails 3.0.9, there is a method Hash#to_query that will turn a Hash into a query string:
Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...
Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema...
Dashboard (Marvel Kibana) and query tool (Marvel Sense) for Elasticsearch. Once installed you can access Kibana and Sense at these...
Ever wondered how you can create a simple table output in bash? You can use the tool column for creating...
You login to a Linux server with a performance issue: what do you check in the first minute? uptime
SELECT pg_database.datname as "database_name", pg_database_size(pg_database.datname)/1024/1024 AS size_in_mb FROM pg_database ORDER...
PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...
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
If you have many connections to your MySQL or MariaDB (as we have) you might want to filter the list...
CSS4 comes with :has. E.g. h1:has(b) would select all tags that contain a tag. This is implemented in...
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts
You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...