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.

getpostman.com

Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...

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

makandra dev

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

github.com

Note Maintenance mode is enabled on application server as soon as the file /public/system/maintenance.html is present. Note that the servers...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

github.com

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

makandra dev
ne.di.unimi.it

Command line text editor with syntax highlighting, menus (F1), etc. This might be a worthy replacement for nano if you...

mail-tester.com

You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...

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

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

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

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

makandra dev

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

duri.me

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

google.com

Surprisingly exhaustive new icon set by Google. Available as PNG, SVG and as a icon font. Comment from Henning

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