Wednesday, July 14, 2010

Controlling windows services via pythong

I am going to be setting up a bunch of buildbot master processes to run on a windows host. To make restarting them easy I am going to script the service restart using python, perhaps with a web frontend.

Initial googling revealed this page describing a python script which can restart windows services.

Python Recipe for controlling windows services

Labels: , , ,

colordiff to colorize svn diff output

I came across this awesome program the other day called colordiff.

You can pipe diff output to this program to get nice in-terminal diff coloring.

Nice article on colordiff with pictures describing its output.

To install in ubuntu 10.04

sudo apt-get install colordiff


When I use it with subversion I do the following

svn diff | colordiff

Labels: , ,