makandra dev
icomoon.io

Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...

makandra dev

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...

makandra dev
piwik.org

Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...

By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...

tenderlovemaking.com

You can define methods using def or define_method. In the real world, there is no performance difference.

Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...

to create a Gallery that has a name and has_many :images, which in turn have a...

makandra dev
browsercookielimits.squawky.net

TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...

guides.rubyonrails.org

ActiveRecord offers an explain method similar to using EXPLAIN SQL statements on the database. However, this approach will explain all...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

workaround.org

You will need to look here and find your own device. Look for the "bootable CD" download, which will give...

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

TL;DR There are three dimensions you can control when scoping routes: scope module: 'module', path: 'url_prefix', as: 'path...

postgresql.org

PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...

makandra dev
github.com

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

Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...

While you usually do not need a Content-Type on GET request (which have a blank body), an external API...

postgresql.org

PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...

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

Some tasks in a web application are better not done live when a user request a page, but in the...

github.com

When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...