There are a million ways to center s or text in CSS, horizontally or vertically. All the ways are unsatisfying...
During debugging you might pepper your code with lines like these: console.log('foo = ' + foo + ', bar = ' + bar) I recommend to use...
Don't use be_true to check if a value is true. It actually checks if it anything other than...
From Rails 3.0.9, there is a method Hash#to_query that will turn a Hash into a query string:
I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...
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...
Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation
Ever wondered how you can create a simple table output in bash? You can use the tool column for creating...
A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.
You login to a Linux server with a performance issue: what do you check in the first minute? uptime
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 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...
To delete a certificate request run sudo puppet ca destroy $your.full.hostname on your puppetmaster.
A list of surprisingly clever CSS expressions for common use cases.
There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available
In developing countries like Nigeria, Opera Mini is used by up to 70% of users on mobile.
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!
When you're using feature branches, they will stack up if you don't delete them after the merge to...