blog.phusion.nl

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

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

Copy data from LibreOffice Calc When you copy data from multi-line cells in LibreOffice Calc, quotation marks are automatically...

When using git diff, you might encounter weird characters where umlauts (or any other UTF-8) characters should be. It...

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

The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...

makandra dev

The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...

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

makandra dev
github.com

Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...

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

Starting Terminator with split screens is quite simple: Just store a layout and start Terminator with the --layout option.

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

stackoverflow.com

Have you ever opened a file with vim, edited it and when you wanted to save your changes it told...

Settings -> Editor -> General -> Smart Keys -> Unindent -> To nearest indent position RubyMine 7.0: Settings -> Editor -> General -> Smart Keys -> Backspace...

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

metricsgraphicsjs.org

MetricsGraphics.js is a library built on top of D3 that is optimized for visualizing and laying out time-series data...

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

makandra dev
blog.idrsolutions.com

If you have issues with PDFs, fix them like this: pdftk .pdf output .pdf Background I had an issue where...

Browsers make this very hard. Even when you explicitely set the selection inside the textarea (e. g. using jquery-fieldselection...

marvin.soup.io

If you have this problem when you update your FreeBSD Ports: ===>>> Launching child to update ruby19-iconv-1.9.3.547,1 to...

github.com

bower-rails is a great solution for managing vendored assets in your Rails app. It feels especially much more convenient...

We upgraded a Rails 2 application to Rails 3.2 and Ruby 2.1, changed the mysql adapter from mysql to mysql2...