Technical information on this site may be out of date : no updates since 2015

verbose remote ssh (with echo)

January 20, 2012 , posted under linux bash ssh sysadmin

I usually manage website deployment with bash scripts that run remote commands on the servers

In order that I can see what is going on and debug any errors verbose output is useful.

Running “bash -ex” causes each line to be output as it progresses and halt on any error so that you don’t miss it.

within the remote command “set -x” cause bash to echo all commands

Read More…

RAID ext4 disk problems

September 20, 2011 , posted under linux note to self raid

One of those posts for myself in case I need to come back to this later

I have a new PC which is very fast apart from problems with disc access seeming slow (and the disks being physically noisy)

The following related links led me to try a solution

Read More…

svn merges and excess merginfo properties

July 13, 2011 , posted under svn

The main svn server I’m working on has finally upgraded to svn 1.5 - so easier merging is now possible - hooray.

But we’ve been seeing merges that should only affect one file resulting in property changes on lots of files/directories. This isn’t especially harmful - but it is annoying and makes reviewing the merge harder because of the extra noise.

It turns out that this extra mergeinfo is likely because of earlier merges on subtrees http://blogs.collab.net/subversion/2009/11/where-did-that-mergeinfo-come-from/

It is possible to remove the subtree mergeinfo via this command run from the root of the branch

Read More…

Selenium test for computedStyle

June 28, 2011 , posted under css testing selenium

I wanted to write some automated tests for CSS changes and bugs, these type of issues are quite prone to regression so re-running the tests has a large benefit.

It is possible to add new assertions to selenium via the user-extensions.js file

The following adds a test for computed style, this only works in firefox as far as I know - but some automation is better than none

Read More…