makandra dev

Option 1: JSON dump In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the...

Why secure-only cookies used to be necessary Cookies have an optional secure flag. It tells the browser to not...

Background information about session storage in Rails Rails has a default mechanism to store the session in the CookieStore. This...

makandracards.com

In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...

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

There are two ways within systemd to manage the fact that you need the gluster service active before mounting the...

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

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

If freshclam updates are failing even though the update servers are available and you find error messages like the following...

jsfiddle.net

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

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

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

The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...

Running rails server will start a local server that you can access via http://localhost:3000. When you are working...

We often use the Then console step from spreewald in combination with geordi vnc from geordi to debug tests within...

Form fields can be rendered as noneditable by setting the disabled or the readonly attribute. Be aware of the differences...

stackoverflow.com

Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...

This should not be necessary in any case and is only for special cases, for e.g. if the assets...

Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...

If you want to make a screenshot of a website that works well in print or on a high-DPI...

makandra dev

When a Rails controller action should handle both HTML and JSON responses, do not use request.xhr? to decide that. Use...