After restarting an OpenStack host you may encouter problems with missing iptables rules (we're on an quite old release...

While you usually do not need a Content-Type on GET request (which have a blank body), an external API...

makandra dev

Installing SSL certificates usually implies additionally using intermediate certificates. If one of them is missing, some SSL client implementations might...

You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...

makandra dev

Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...

postgresql.org

PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...

speakerdeck.com

Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...

makandra dev

Starting with Ruby 1.9, most #each methods can be called without a block, and will return an enumerator. This is...

To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...

As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...

When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...

digitalocean.com

I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

makandra dev

tig is a command line explorer for Git that is just awesome. Install via apt-get or brew. Handy commands...

Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

azimi.me

Interesting hack to move expensive JSON.parse calls out of the main thread.

In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...

If you see a stacktrace beginning with lines like this: E, [2015-07-16T09:23:10.896146 #23308] ERROR -- : app...

In my RubyMine I have recorded two macros for debugging and linked them to some keyboard shortcuts. Since I believe...