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

From time to time, RubyMine suddenly did not accept any keyboard input and felt crashed, while mouse interaction was still...

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

When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...

makandra dev
stackoverflow.com

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

stackoverflow.com

Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...

You can say this in Javascript: $.fn.jquery => "1.11.1"

stackoverflow.com

Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...

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

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

To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...

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

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

When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

You have the following HTML structure:

If you want to run Javascript code whenever someone clicks on a ...

..., you...

andismith.com

If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

In our daily life as web developers we are constantly faced with technical problems that can be solved with a...

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...

makandra Curriculum

Your MovieDB gained traction and is now a popular tool among cineasts. This comes with a downside: You noticed a...

makandra Curriculum

Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...