E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

makandra dev
github.com

Install this gem and stop using bundle exec or even Geordi's handy b. Yay!

unix.stackexchange.com

As described by the linked Stackoverflow answer, run these commands: sudo add-apt-repository ppa:git-core/ppa -y

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

github.com

When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...

This looks like it is safe to use: 2.2.1 :001 > a = b = "hello world" "hello world" 2.2.1 :002 > a

Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...

Spreewald 1.4.0 comes with this step: When I click on the element ".sidebar" We recommend to define a selector_for...

puppet.com

The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll...

makandra dev
serverfault.com

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

Spreewald 1.3.0 comes with these steps: Then I should see an element ".panel" Then I should not see an element...

Ruby has the class Proc which encapsulates a "block of code". There are 2 "flavors" of Procs: Those with "block...

makandra dev
catonmat.net

Activate VI mode by running set -o vi Now use your Bash as if it were VI! Hit Esc to...

ruby-doc.org

This class contains nerdcore things such as disassembling a piece of Ruby into VM calls or enabling tail-call optimization...

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

makandra dev
stackoverflow.com

When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...

github.com

Live markdown previewer (with Github flavored syntax) for VIM. Will open a preview in your browser and update automatically on...

Simply add this to your .rspec instead: --require spec_helper If you are on rspec >= 3 and use a rails_helper.rb...

I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...

makandra dev
addyosmani.com

MutationObserver provides developers a way to react to changes in a DOM. Any: insertion, deletion, attribute change – anything. Quickstart: https://...

docs.google.com

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

makandra dev
ne.di.unimi.it

Command line text editor with syntax highlighting, menus (F1), etc. This might be a worthy replacement for nano if you...