makandra dev
ohshitgit.com

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation...

There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...

makandra dev
github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...

makandra dev

Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...

quilljs.com

A new open source WYSIWYG editor that promises superior fidelity and customizability. This might be a future alternative to Redaktor...

Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...

makandra dev

Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...

Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...

Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...

On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...

Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...

There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...

If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...

To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...

There is no built in possibility to convert a float to an integer. You have to use an inline_template...

Ruby's __FILE__ keyword returns the path to the current file. On popular for this are Ruby binaries: #!/usr/bin/env ruby...

To check the currently running PG version from your Rails application (e.g. Rails console on your production server), simply do...

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

makandra Operations
redis.io

Hint You're not able to control which redis replica will chosen for the failover. Connect to your sentinel instance...

We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

makandra dev
piwik.org

Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...

When your controller action raises an unhandled exception, Rails will look at the exception's class and choose an appropriate...