makandra dev

To change RAM size, VDISK size or VCPU count of an openstack instance you have to use nova resize. You...

Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...

If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...

makandra dev
github.com

The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...

The migration DSL now supports adding and removing foreign keys. They are dumped to schema.rb as well. At this time...

In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...

tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...

If you need the debug output of the puppetmaster running with passenger you have to uncomment this setting in the...

leomayleomay.github.io

Your after_commit callbacks will not know about changes, as Rails discards them when committing. The linked article shows a...

Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...

If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...

makandra dev
github.com

Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...

If a SOAP API expects you to call a remote method with arguments of complex types, Savon lets you manually...

As developers we are dealing with many tasks every week. We need a system to organize ourselves. Goals After completing...

makandra dev
zeldman.com

How can a client blame you for a cab driver’s mistake? How can a conference organizer hold you accountable...

makandra Curriculum

Understand the differences between git diff and git diff --staged (or git diff --cached) Understand the difference between git...

Get an idea of the varying support for HTML/CSS/JavaScript features in different browsers like Chrome, Firefox, Internet Explorer, Edge...

makandra Curriculum

Learn Enough Command Line to be Dangerous (it's in our library => Google Drive) CLI tricks every developer should...

Action Mailer Basics and Previews Chapter "Task H1: Sending Confirmation Emails" from Agile Web Development with Rails (in our...

Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...

makandra Curriculum

Understand what Memoization is and when it can be useful. Understand the @variable ||= computation pattern. Learn how to use...

In this card we will learn to write code that scales with a large number of database records. We will...

makandra Curriculum

Understand why we use pagination Exercises Create 7500 movies in MovieDB (hint: Doing it in a single transaction is...

makandra Curriculum

Learn to read and write Haml. Understand the different attributes syntaxes (curly braces vs. round parentheses) Exercises Convert MovieDB...