find files greater than 30gb in a dataset

dbs search --query="find file, file.size where (file.size > 30000000000 ) and dataset = /Calo/Commissioning09-v1/RAW"
Posted in Uncategorized | Tagged | Comments Off

bdii ldapsearch latitude longitude

ldapsearch -h uscmsbd2:2170 -b Mds-Vo-name=local,o=grid -LLL -x objectclass=GlueSite GlueSiteLatitude GlueSiteLongitude
Posted in Uncategorized | Tagged , , , | Comments Off

glite-transfer-channel-list

rm /tmp/a ; for i in `glite-transfer-channel-list` ;
do glite-transfer-channel-list $i | grep Between: |
awk '{ print $2 ; print $4 }' >> /tmp/a ; sed '/*/d' /tmp/a |
sort -u > /tmp/b ; done;
Posted in Uncategorized | Tagged , , | Comments Off

openssl userkey.pem usercert.pem

Print:

openssl x509 -in cert.pem -noout -subject | sed 's/subject= //'
openssl x509 -in hostcert.pem -noout -text
openssl smime -decrypt -noverify  -in /tmp/p -inkey ~/.globus/userkey.pem

Extract:

openssl pkcs12 -nocerts -in mycert.p12 -out userkey.pem
openssl pkcs12 -clcerts -nokeys -in mycert.p12 -out usercert.pem
chmod 0400 userkey.pem
chmod 0600 usercert.pem

For globus utilities:

mkdir ~/.globus
chmod 700 ~/.globus
openssl pkcs12 -nocerts -in foo.p12 -out ~/.globus/userkey.pem
chmod 600 ~/.globus/userkey.pem
openssl pkcs12 -clcerts -nokeys -in foo.p12 -out ~/.globus/usercert.pem
Posted in Uncategorized | Tagged , , , , | Comments Off

MINIs on Top 2007

MOT 2007

A big shout out to the Chicago MOTly Crew! I had a great time again this year.

Posted in Friends, MINI, Travel | Comments Off

Flexcar experience

Dragon Flex Car

One really important last minute change to my schedule prevented me from driving to the Dragon with my CMMC friends. No problem. Gota have my cake and eat it too :) So I booked a flight for Friday afternoon from Chicago to Atlanta and around 9pm I was in my Flexcar (a brnad new MINI Cooper Cabrio) headed for Fontana Village.

I really liked the whole Flexcar experience. After a background check, Flexcar sends you an card with an RFID chip embedded in it. It’s the key that unlocks any Flexcar!

The coolest best part about Flexcar is that gas and full insurance are included in the price of the rental. If you run below a 1/4 tank and fill it up, there is a gas card in the glove box for you to use. They’ll even deduct a small amount from your bill as because it was an inconvenience to
you ;)

All in all, if I’m visiting a city with Flexcar, I’ll look them up first. Chances are I won’t need a call the whole time I there.

Posted in Chicago MINI Motoring Club, MINI, Travel | Comments Off

Food in Tokyo

What do I eat tonight? Sushi? How about curry – Japanese or Indian? Cute, little “I could die from asphyxiation” Fugu? Maybe some French moules frites? How about American hamburgers with Champaign in a place where I’ll have stand and eat below crystal chandeliers? Yakitori from a street vendor? So many choices. So little time… and 34″ pants that don’t expand at the waist line.

I’ve enjoyed this week what I’d consider some of my most memorable meals. It’s all bitter sweet in a way; I return back home next week.

Posted in Food, Japan, Tokyo, Travel | Comments Off

Toilet fires break out across Japan

auto toilet

Well maybe not that widespread – only 3 have caught fire with a handful of others only going up in smoke.

If you’ve been to Japan, there’s a good chance that you’ve experienced the wonders of Japanese automatic wash and dry toilets. Yes, toilets with automatic seat covers, heated seating surfaces, warm water, fans, music… and probably a dozen other things I’ll never know about because I can’t read the Japanese on the Saab like array of buttons and dials attached to the toilet.

So I was a little surprised (and perhaps worried??) when I saw on local Tokyo news tonight that 180,000 warm water-spraying toilets were being recalled. Yikes! A Toto spokesperson is quoted as saying that, “fortunately, nobody was using the toilets when the fire broke out and there were no injuries.” That’s a good thing, as I’d hate to explain to friends that I suffered burns and injuries while sitting on my toilet!

Posted in Japan, Tokyo, Travel | 1 Comment

My lunch at らーめん おんぱと

My lunch at らーめん  おんぱと

Ok… so I should have taken the picture before I started eating! This shop is right around the block from my apartment.

The shop is located here.

Posted in Food, Japan, Tokyo, Travel | Comments Off

Best pasta in Tokyo!

P1100313

P1100315

Posted in Food, Japan, Tokyo, Travel | Comments Off