I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...

puppet.com

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

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

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...

makandra dev
addyosmani.com

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

With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...

makandra dev
stackoverflow.com

git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...

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

If you have jQuery code like this: if (condition) { $element.show(); } else { $element.hide(); } ... you can shorten this to: $element.toggle(condition);

makandra dev

Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...

Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...

The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...

Some tasks in a web application are better not done live when a user request a page, but in the...

This is a guide on how to effectively use Git when working on a feature branch. It is designed to...

makandra dev

Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...

postgresonline.com

When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...

ma.ttias.be

Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

makandra dev
developer.chrome.com

In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer

Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class

stackoverflow.com

With ngAnimate, you can easily animate certain events (see directive support). We'll make use of ngClass animations to style...

cyberciti.biz

Bash stores the exitcodestatus of piped commands in the environment variable PIPESTATUS So you can just echo ${PIPESTATUS[@]} to get...