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

Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...

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

This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...

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

cyberciti.biz

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

PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...

digitalocean.com

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

makandra Curriculum

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

Talk with a colleague and find out why we're using building some of our sites using static site...

We are using the BEM pattern ("Block, Element, Modifier") to structure our CSS in all new projects. We try to...

makandra Curriculum

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

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...

hacks.mozilla.org

Unfortunately, Web APIs haven’t provided the functionality to copy text to the clipboard through JavaScript, which is why visiting...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

makandra Curriculum

Read the Rails Guide about Active Record migrations Understand why we never use models in migrations. Checkout the repository...