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

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

makandra dev

ActiveSupport::Dependencies takes care of auto-loading any classes in development. This is usually useful, but when you run into...

github.com

When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...

We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

docs.ruby-lang.org

Use return to return from a method. return accepts a value that will be the return value of the...

If you want to ssh into your vagrant box without switching into the project directory and typing vagrant ssh, you...

Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

makandra dev

Crontabs are often unordered, especially when generated for an application where you usually group tasks by their domain/scope.

We generally use multiple application servers (at least two) and you have to search on all of them if you...

Chrome gives you the currently selected element in the inspector with $0. If you select a button in the DOM...

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

web.archive.org

xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...

If you want to find the commits that touched a specific text in a file, use git log -S 'text...

makandra dev

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

api.rubyonrails.org

ActiveSupport::Notifications provides an instrumentation API for Ruby. It is used throughout rails to publish instrumentation events that include information...

When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

jakearchibald.com

The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...

makandra dev

Connect to your IMAP server. If you have SSL enabled: openssl s_client -connect your-server:993 if your server...

Edit /etc/default/bind9 and change OPTIONS="-u bind" to OPTIONS="-u bind -d 50 -g" Restart BIND and you'll see...