This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...
on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...
So you downloaded a theme for Chrome a while ago and don't remember which one it is?
The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...
PostgreSQL uses the C library's locale facilities for sorting strings: First, all the letters are compared, ignoring spaces and...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
The NestedHash class allows you to read and write hashes of any depth. Examples: hash = {} NestedHash.write hash, 'a', 'b', 'c...
The following sums up all connections (ESTABLISHED, TIME_WAIT, FIN_WAIT, etc.) and sorts it: netstat -n | awk ' $5 ~ /^[0...
First, decide if you want to pull with rebase. There are some implications of changing this, so think before you...
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...
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
Logging tcpdump output all the time can create a huge amount of data. This can be both: too much data...
I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...
Sending a testmail from a server with a configured exim is easy as pie. From your usershell: tell exim that...
Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...
Ruby allows multiple assignment: a, b, c = o In order to prove multiple values from a single object, Ruby calls...
If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...
For each movie in MovieDB, we want to track which other movie it was inspired by. For...
If you need a postgresql extension for your database it isn't a good idea to give your applications database...
Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...