S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...
Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...
Phusion Passenger changed the way how it gets restarted several times. Through the project's history, these all were valid...
In this example we assume that not only the storage gem changes but also the file structure on disc.
Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...
Cross-Site Request Forgery (CSRF) is an attack pattern for websites. A CSRF attack is usually relevant in a...
Let's say you have a gem which has the following module: module SuperClient def self.foo 'Foo' end
We want to keep a changelog for all gems we maintain. There are some good practices for writing a changelog...
Most forms have a single submit button that will save the record when pressed. Sometimes a form needs additional submit...
In a project team for a bigger project people have several roles: Developer: at makandra Project lead: at makandra
At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...
Having a unique selector for an element is useful to later select it from JavaScript or to update a fragment...
Option 1: JSON dump In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the...
If possible your code should detect features, not browsers. But sometimes you just need to sniff the browser. And when...
Just like Ruby Gems tag their version releases to the corresponding Git commit, it can be helpful to track production...
In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...
A matcher is a function that returns an object with a compare key. Usually it is registered with beforeEach...
Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...
Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...
CarrierWave comes with some RSpec matchers which will make testing more comfortable. Let's say you have an Uploader like...
If freshclam updates are failing even though the update servers are available and you find error messages like the following...
You might have some trouble running a Rails LTS 2 app with MySQL 5.7. If you don't want to...
MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...
On your local system that only hosts non-critical development data and only you have access to, you can store...