When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...

Sometimes, due to git or other "accidents", important files get deleted or overwritten. At a state when even Ctrl+Z...

collectd5 in version 5.9.0 is broken and you upgraded it everywhere. But because it's FreeBSD it does not...

blog.cloudflare.com

Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...

makandra dev

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

superuser.com

Inspecting the source of an email does not always reveal the plain HTML source, but some encoded byte mess. In...

git apply allows you to apply a diff onto your HEAD. Most often you can achieve the same result with...

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...

With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

makandra dev
github.com

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

Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...

When you update your ChromeDriver to version 75 or beyond, you might get w3c errors in your tests.

When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...

If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...

stackoverflow.com

Set up a package root in your homedir to hold the Node "global" packages: $ NPM_PACKAGES="$HOME/.npm-packages"

Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...

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

If you get e.g. this error message when you try to run puppet agent: Error: Failed to apply catalog: undefined...

It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...