In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

crazylittlehacks.blogspot.com

I found a nice script on crazylittlehacks and modified it slightly. Put the attachment to /usr/local/bin, chmod +x and run...

makandra dev

If you want to enforce soft tabs (spaces instead of tabstops) in Vim put this into your ~/.vimrc (Linux) or...

Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...

blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias...

When your cucumber features grow massively over time, the test execution can take a lot of time.

howtogeek.com

One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window...

Today I needed to execute a ruby gem executable with sudo. But, surprisingly, bash would tell me command not found...

makandra dev

Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide

If you need to strip carriage return characters from a text file, you can use Vim: vim file.txt

We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...

makandra dev

When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...

Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...

We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

makandra dev

To set the hostname of your Mac, run the following command in Terminal: sudo scutil --set HostName my-new-hostname.local

makandra dev
ndpsoftware.com

Make sure you understand differences between git's areas (such as stash, workspace, upstream, etc.) and what commands affect which...

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

httpd.apache.org

If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...

ActiveRecord models know how to cast a given string to the type of a given attribute (or column).

linux.die.net

Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...