makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

github.com

Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema...

makandra dev
elastic.co

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

makandra dev

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

techblog.netflix.com

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

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

docs.google.com

A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.

keycdn.com

Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts

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

With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...

makandra dev
github.com

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

stackoverflow.com

There are many solutions, but a very concise one is this: hash.merge!(hash) do |key, old_value, new_value|

makandra dev
stackoverflow.com

git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...

phili.pe

One useful postgres command I stumbled upon recently was \x. It gives you an expanded display which allows you to...

You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...

When dealing with AR scopes, you can remove conditions, order, etc by using the unscope method. It is available on...

makandra dev

Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...

postgresql.org

PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...