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

What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...

The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...

Some tasks in a web application are better not done live when a user request a page, but in the...

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

makandra Curriculum

Understand how nested attributes appear in the params. See how the Rails form helpers encode the names of nested...

digitalocean.com

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

You have the following HTML structure:

If you want to run Javascript code whenever someone clicks on a ...

..., you...

In our daily life as web developers we are constantly faced with technical problems that can be solved with a...

makandra Curriculum

We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...