When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

makandra dev
github.com

Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...

jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...

Over the years we have tried several solution to have vector icons in our applications. There are many ways to...

To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...

We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...

Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...

PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...

To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...

Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...

Rubymine 2024.3 bundles Grazie Lite by default. You need to enabled "German" under Settings/Preferences | Editor | Natural Languages.

Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...

At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...

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

github.com

/home/.../ruby/gems/2.1.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError) Solution: Upgrade Rubygems beyond 2.6.9...

If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...

makandra dev

These are Chrome plugins that proved useful at makandra. Each is the best-in-class. Dimensions Auto-measure distances by...

makandra dev
github.com

It claims to be even faster and brings a new plugin that polyfills object-fit and object-position. This allows...

stackoverflow.com

When you are working with jQuery selectors and collections, many times you want to know if the collection actually contains...