To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.

makandra dev

Cause logstaglia is so cool you may want to record a video. We're lucky: Logstalgia has a parameter for...

During debugging you might pepper your code with lines like these: console.log('foo = ' + foo + ', bar = ' + bar) I recommend to use...

E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

makandra dev
serverfault.com

Logging tcpdump output all the time can create a huge amount of data. This can be both: too much data...

After restarting an OpenStack host you may encouter problems with missing iptables rules (we're on an quite old release...

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

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

For each movie in MovieDB, we want to track which other movie it was inspired by. For...

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