makandra Curriculum

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

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

makandra Curriculum

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

Understand how asynchronous JavaScript works: Read Henning's presentation about asynchronous Javascript (there's also a German video presentation...

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

Stepping forward from JavaScript Basics, the goal of this card is for you to be able to read and write...

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

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

makandra Curriculum

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

makandra Curriculum

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

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

JavaScript is a scripting language supported by all browsers. Browsers don't speak Ruby, so if we want to implement...

makandra Curriculum

Git is our version control system. Goals Understand why we use git. Learn how to work with your local repository...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

edgeapi.rubyonrails.org

Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...

There are some frontends available, but they all suck, are no longer maintained or are hard to install.

If you need to log to a file you can use Ruby's Logger class: require 'logger'

This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...

developer.mozilla.org

You can do so much more than console.log(...)! See the attached link for a great breakdown of what the developer...

If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...

gist.github.com

A nice bookmarklet to analyze how many watchers have been registered on the current page. Good for keeping an eye...

makandra dev
github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

Open a MySQL root shell and use this command: PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0...