TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

unixetc.co.uk

When a directory has more than a few thousand entries, ls will start taking really long to list its content...

makandra dev

These are Chrome plugins that proved useful at makandra. Each is the best-in-class. Dimensions Auto-measure distances by...

This pretty-prints a JSON object, with two spaces of indentation: JSON.stringify(object, null, 2)

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...

makandra dev
vectormagic.com

Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...

If you are on a Linux shell and want to open a file with whatever default application is configured for...

The following sums up all connections (ESTABLISHED, TIME_WAIT, FIN_WAIT, etc.) and sorts it: netstat -n | awk ' $5 ~ /^[0...

makandra dev

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

makandra dev

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

makandra dev
cyberciti.biz

Wondering which processes are placed in your swap you can use this bash oneliner: for file in /proc/*/status ; do...

makandra dev
serverfault.com

Logging tcpdump output all the time can create a huge amount of data. This can be both: too much data...

You can configure a stat socket for haproxy in the global section of the configuration file: global daemon

When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...

dmesg shows the kernel ring buffer containing low-level system messages. Per default, dmesg shows a timestamp:

relishapp.com

In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...

yoyo.io

Fontawesome 4 has introduced new naming conventions that make it easy to retrieve variants of a given icon.

makandra dev
dncmagazine.blob.core.windows.net

This cheat sheet...

...aims at providing a quick reference to the most commonly used features in AngularJS.