makandra dev

tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

Reason: You very likely have a model that has a delay attribute. You can configure Sidekiq to remove its delay...

makandra dev
bootswatch.com

Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...

Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:

Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...

makandra Curriculum

Watch Solving bizarre authorization requirements with Rails Read the Consul README Read the assignable_values README Understand how Consul...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra Curriculum

Authentication is all about being able to verify the identity of a user in the context of our application.

makandra Curriculum

Goal of this lesson is to understand what middlewares in Rack are good for. Rack Start with these articles:

In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...

makandra Curriculum

Read (or re-read) the following chapters from our book Growing Rails Applications in Practice (it’s in our...

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

A common task in web applications is to add client-side JavaScript behavior to existing HTML elements.

Software engineering principles Read about the following software engineering principles and code smells: Single Responsibility Principle Law of Demeter

azimi.me

Interesting hack to move expensive JSON.parse calls out of the main thread.

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

jasmine.github.io

The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...

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

When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...

marcparadise.com

When you the following error: zsh: corrupt history file /home/marc/.zsh_history You can try and fix your history file by extracting...