Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line

Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

ombulabs.com

Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...

OAuth requires a set of params to be carried along requests, among which a nonce. Some libraries pass these along...

Awesome is a very good tiling window manager that provides neat features like automatic layouting of windows, good multi-display...

makandra dev
robots.thoughtbot.com

When creating an index using CREATE INDEX, Postgres will create a B-Tree type index by default. The B-Tree...

You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API

jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...

This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...

The attached Coffeescript helper will let you create mouse events: $element = $('div') Trigger.mouseover($element) Trigger.mouseenter($element) Trigger.mousedown($element) Trigger.mouseup($element...

explainshell.com

Enter any command into explainshell and it will explain it to you: split into separate commands (if present), with each...

makandra dev

Sometimes you might want to check a short link for it's destination before clicking on it. Additional you get...

Some modern Javascript APIs return iterators instead of arrays. In plain Javascript you can loop through an iterator using

To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.

Angular's location provider stalls links to the current URL, i.e. window.location. As soon as the $location service is activated...

about.gitlab.com

When full text search is overkill and like queries do not deliver this might be an approach you could try...

If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...

RSpec provides a nice diff when certain matchers fail. Here is an example where this diff is helpful while comparing...

mathiasbynens.github.io

This will give the target site full access to your Javascript environment through window.opener, if the target is on the...

github.com

Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...

Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...

reddit.com

Chrome has discontinued support for 32-Bit Linux builds and this might break your apt-get update.

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

nginx.org

If you want to configure your nginx to drop connections to a specific location, you can do so by responding...