makandra Curriculum

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

makandra is responsible for maintaining about 75 Ruby projects. These projects use a large number of different versions for Ruby...

makandra Curriculum

Ruby is the programming language we use on the backend. Goals After finishing this lesson you should be able to...

Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...

Today I ran into this: Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. You need a newer Rubygems version. Try...

duri.me

Small web application where you can upload an image (PNG, JPEG, GIF) and generate a base64-encoded version of it...

Since version 2.6 exception notifier distinguishes between foreground and background sections. The reason is that with background jobs (e.g. methods...

Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...

sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443...

makandra dev
semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

bevacqua.github.io

Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...

bugs.ruby-lang.org

TL;DR Under certain circumstances, dynamically defined symbols may break keyword arguments in Ruby 2.2. This was fixed in Ruby...

yoyo.io

Fontawesome 4 has introduced new naming conventions that make it easy to retrieve variants of a given icon.

When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...

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

help.github.com

Please don't simply copy line number links from Github. The URL usually contains a branch name like master which...

railscasts.com

See this Railscast. Basically you can simply write views like index.xlsx.erb: ID Name Release Date Price <% @products.each do |product| %> <%= product.id...

When you want to look up a class for a given factory, do it like this: >> FactoryBot.factories.find('admin').build_class...

github.com

An official Github repo by Google containing the binary font files served through Google Fonts, so you can easily download...

makandra dev
jbt.github.io

An online markdown live previewer with GitHub Flavoured Markdown support. Another online markdown live previewer with GitHub Flavoured Markdown support...

jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...

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

makandra dev

Obviously, you only can do this for your own sites. You need to authenticate a domain you want to remove...

When uploading images, adding more than one process to a version can cause MiniMagick to run multiple commands. In order...