github.com

Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation

makandra dev

To delete a certificate request run sudo puppet ca destroy $your.full.hostname on your puppetmaster.

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...

github.com

A collection of 700+ svg vector logos. The logos are optimized (removed duplicated paths / excessive groups / empty defs, linting, etc...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...

I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...

keycdn.com

Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts

Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...

While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...

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

speakerdeck.com

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

Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...

makandra dev

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

blog.intercom.io

A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...

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...

bibwild.wordpress.com

While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...

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.

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...