HTTP Basic Auth for Mysql password and old_password in Rails

Posted by Edmund Haselwanter on Nov 02, 2009
Tags: http basic auth, mysql, rails
Technorati Tags: , ,

I recently had to develop a small application for a client. The goal was to add a feature to grown Java web application.

As the software was maintained for several years there are users with old an new MySql passwords in the system.

Continue Reading…

chef from opscode and the power of ruby

Posted by Edmund Haselwanter on Oct 14, 2009
Tags: chef, opschef, opscode, opscookbook, sysadmin
Technorati Tags: , , , ,

Recent releases of chef from opscode provide a new resource: ruby_block

This is really great news as this allows for interesting problem solving.

Consider you want to do a very special HTTP request. E.g. a GET to localhost but with custom “Host” header information.

Continue Reading…

webalizer cookbook and definition for chef from opscode

Posted by Edmund Haselwanter on Oct 13, 2009
Tags: apache2, chef, opschef, opscode, opscookbook, sysadmin
Technorati Tags: , , , , ,

Install and run the webalizer with Chef from Opscode

http://github.com/ehaselwanter/cookbooks/tree/COOK-195/webalizer

As DRY as possible ;-)

Continue Reading…

Simple ping.fm extension for radiant

Posted by Edmund Haselwanter on Oct 11, 2009
Tags: ping.fm, radiantcms
Technorati Tags: ,

I just created a simple Ping.fm extension for RadiantCMS on github: ping.fm extension

With this you can have updates to your site automatically send details to your
Ping.fm account. All you’ll need to do is provide your account information in the Radiant::Config settings.

Continue Reading…

Glassfish cookbook for chef from opscode

Posted by Edmund Haselwanter on Oct 11, 2009
Tags: chef, Glassfish, java, opschef, opscookbook, Sun
Technorati Tags: , , , , ,

Install and run the Sun Glassfish Application Server from Sun with Chef from Opscode

At the moment its really dumb and just installs Glassfish and runs it:
http://github.com/ehaselwanter/cookbooks/tree/COOK-191/glassfish/

cruise from Thougthworks and ant 1.7.1 on centos 5.2

Posted by Edmund Haselwanter on Sep 29, 2009
Tags: ant, centos, cruise, Thougthworks
Technorati Tags: , , ,

This is on howto use apache ant 1.7.1 in Cruise 1.2 from Thoughtworks

Continue Reading…

Extending Chef from Opscode with header params for http_request

Posted by Edmund Haselwanter on Jul 31, 2009
Tags: http_request, opschef, opscode
Technorati Tags: , ,

Added support for custom header options in chef for the http_request

Opscode Chef Ticket
Resolved on Github

Continue Reading…

Upgraded Page to Radiant 0.8

Posted by Edmund Haselwanter on Jun 28, 2009
Tags:
Technorati Tags:

used extensions

Continue Reading…

Twitter notification

Posted by Edmund Haselwanter on Jun 28, 2009
Tags:
Technorati Tags:

added Twitter notification to blog posts. Testing with Ping.fm Continue Reading…

Howto add Secure Shell Client SSH Key to OpenSSH Server

Posted by Edmund Haselwanter on May 13, 2009
Tags: ssh
Technorati Tags:

You have to convert the key like so:

ssh-keygen -i -f id_dsa_2048_a.pub >>.ssh/authorized_keys