blog.phusion.nl

Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.

If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...

The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...

phusion.github.io

Traveling Ruby is a project which supplies self-contained, "portable" Ruby binaries: Ruby binaries that can run on any Linux...

askubuntu.com

Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \

Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...

The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the...

If you get one of this errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ( ): found...

For our production servers we use Passenger as a Ruby application server. While it is possible to use Passenger for...

makandra dev

Cucumber allows for prose in features and scenarios. Example: Feature: Cancel account There are several ways to cancel a user...

makandra dev
tex.stackexchange.com

tlmgr is the TeX Live Manager and responsible for the TeX installation on your (Linux) machine. If you're getting...

In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. And that's not a float! This occurs because JavaScript uses...

gist.github.com

A nice bookmarklet to analyze how many watchers have been registered on the current page. Good for keeping an eye...

Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...

So you want to organize your I18n using multiple .yml files but your Rails 4.1 application simply won't use...

When your system is not running on English, you may sometimes want to run some applications and not use your...

In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...

makandra dev
developers.facebook.com

For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an...

makandra dev
github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

curl http://ipecho.net/plain; echo

Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

makandra dev
github.com

edge_rider is Power tools for ActiveRecord relations (scopes). Please note that some of the functions edge_rider provides have...

dev.mysql.com

Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...

When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...