Submitted by Graham on Sun, 2006-07-16 18:30
Ran 4.5 miles today in 45 minutes. Should find it easy to run the 3 miles scheduled for tomorrow. No muscle pain today but beginning to think that sports drinks may be a good idea as I seemed to be lacking energy towards the end of this run.
Submitted by Graham on Sat, 2006-07-15 19:00
Ran my first 4 miles today at Bridgend Esporta. Getting easier to run the first 3 now. Lets see if I can run the same distance again tomorrow.
Submitted by Graham on Thu, 2006-07-13 13:22
I'm going to be running the Great North Run this year on the 1st of October along with my 3 brothers. I'm running to raise money for Mencap so please sponsor me!
Please sponsor me, it's really easy - you can donate online by credit or debit card at the following address:
http://www.justgiving.com/grumpy
All donations are secure and sent electronically to Mencap. If you are a UK taxpayer, Justgiving will automatically reclaim 28% Gift Aid on your behalf, so your donation is worth even more.
cheers,
Graham
Submitted by Graham on Tue, 2006-06-27 17:13
using scp, if available
scp -C -o CompressionLevel=<compression> <file> <machine>:<location>
compressed whole directory:
tar cvf - . | gzip -c -1 | rsh remote_machine "cd dest_dir; gunzip -c | tar xvf -"Â
be carfeul of tar throwing errors on files too big though
transfer individual files using
compressed:
dd if=filename bs=256k | gzip -c -1 | rsh remote_machine "gunzip -c | dd of=filename ibs=256k obs=256k"
or uncompressed:
Submitted by Graham on Wed, 2006-05-31 11:55
Submitted by Graham on Mon, 2006-05-15 14:19
Submitted by Graham on Fri, 2006-05-12 19:00
for those systems where grep -r just doesn't work!
find . -exec grep "find string" '{}' \; -print
Submitted by Graham on Thu, 2006-04-27 10:50
Submitted by Graham on Wed, 2006-04-26 10:12
Submitted by Graham on Tue, 2006-04-25 16:37
java to get the name of the instance for a db on the local host
(uses shell script similar to the srvcheck solution)
import java.net.InetAddress;
import oracle.ops.mgmt.database.Instance;
import oracle.ops.mgmt.database.ParallelServerConfig;
import oracle.ops.mgmt.operation.GetConfigurationOperation;
import oracle.ops.mgmt.operation.GetConfigurationResult;
public class ClusterLocalInstance {
private static final String USAGE = "checks to see name of local instance for provided db name";
Pages