Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...

This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...

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

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...

gist.github.com

A list of common computer I/O actions and how long they take. Visual comparison chart: http://i.imgur.com/k0t1e.png

shrinerb.com

Now that CarrierWave is no longer maintained, Shrine might be worth a look.

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...

makandracards.com

Writing ruby methods that accept both optional and keyword arguments is dangerous and should be avoided. This confusing behavior will...

postgresonline.com

When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...

cyberciti.biz

Bash stores the exitcodestatus of piped commands in the environment variable PIPESTATUS So you can just echo ${PIPESTATUS[@]} to get...

devdocs.io

All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...

makandra dev
netvlies.nl

Looking for a way to embed raster images for both low- and high-DPI displays, this developer had some good...

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...

Read the following material: World's shortest UI/UX design course 7 Rules for Creating Gorgeous UI (Part 1)

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

Learn to store attachments in a way that is accessible by authorized users only Learn to prevent users from...

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

Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that...

makandra dev

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

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