CoffeeScript and JavaScript (ECMAScript) both have operators in and of. Each language use them for more than one purpose. There...

github.com

Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...

When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...

By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your...

When your JavaScript bundle is so massive that you cannot load it all up front, I would recommend to load...

You know that you can use jQuery's text() to get an element's contents without any tags.

If your rails application is unable to send mails, it might be useful to debug your settings using the rails...

For outputting a given String in HTML, you mostly want to replace line breaks with or tags.

wiki.postgresql.org

When you have a large PG database, you may want to find out which tables are consuming the most disk...

Webpacker uses Babel and Webpack to transpile modern JavaScript down to EcmaScript 5. Depending on what browser a project needs...

Sometimes, the IRB prints a warning during boot: irb: warn: can't alias source from irb_source. Explanation

developer.mozilla.org

Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...

github.com

Recent Bundler (1.16.1) started complaining about missing dependencies in the Gemfile. This is due to a stricter handling of specifications...

Lets say we have a user with a contract whereas contract is a mounted carrierwave file. Now we want to...

hackernoon.com

CSS Flexbox has become extremely popular amongst front-end developers the last couple of years. This isn’t surprising, as...

jsfiddle.net

When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.

For applications coming with lots of stylesheets and scripts, asset compilation might take quite long. This can be annoying when...

Boot partitions from installations prior to the 16.04 era are terribly small. When you install updates and encounter errors due...

When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...

makandra dev
github.com

geordi delete_dumps [directory] Recursively search for files ending in *.dump and offer to delete those. When no...

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

api.rubyonrails.org

Rails offers a way to prepend (or append) view paths for the current request. This way, you can make the...