Difference: TimothyBrooks (28 vs. 29)

Revision 2912 Jul 2010 - TimothyBrooks

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"

Tim Brooks

First Year PhD Student - Supervised by Glen Cowan
Line: 11 to 11
 

My Links

Added:
>
>
 
Added:
>
>
 
Changed:
<
<
>
>
 

ATLAS Links

Added:
>
>
  • GridView - Nice visualisation of what the grid is doing (Watch ATLAS hit 100TB/day)
 
Changed:
<
<
>
>
 

Programming Tips

Added:
>
>

Bash Basics

It's handy to have a /bin folder in your home area. This can be added to your path in your bash start script: export PATH=~/bin:$PATH
Placing scripts here can make mindless tasks much easier.
e.g. To rename a bunch of files that are called xxxthisxxx to xxxthatxxx, I have a bash script called mvls that is run like: mvls this that and changes every file in the pwd that contains 'this' in the name to have 'that' instead.
Here's the script

#!/bin/bash
for file in *;do
newfile=$(echo $file | sed s/$1/$2/g)
test "$file" != "$newfile" && mv "$file" $newfile
done

JaxoDraw needs to be run in it's home directory for axoDraw.sty else it can't export to .eps
A quick script switches the wd, and returns it to how it was:

#!/bin/bash
export jaxodrawdir=/scratch0/brooks/tools/JaxoDraw-2.0-1/
export OWD=$PWD
cd $jaxodrawdir
java -jar ${jaxodrawdir}jaxodraw-2.0-1.jar
cd $OWD
 

PyROOT

Basic script

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback