Ohio USA
Saturday, July 29th, 2006Oh, and I woke up today after dreaming that I jumped a plane to Ohio with
an open ticket. I think it’s time I holidayed in the US of A for a
while ![]()
Oh, and I woke up today after dreaming that I jumped a plane to Ohio with
an open ticket. I think it’s time I holidayed in the US of A for a
while ![]()
I found an awesome way to listen to CD’s the other day…Just turn down
the volume in Warcraft 3! I have trouble listening to CD’s without
actually actively doing anything, and if I do anything that requires
concentration, then I don’t pay attention to the CD playing hehe.Lately
I’ve been playing a lot of Tower Defence (TD), especially one called
Cube. It’s touted as ‘the most technically advanced TD’. I’m not sure
about that, but it certainly is fun :)Theres a whole bunch of other good TD’s available in this TD map-pack .
Oh, and I woke up today after dreaming that I jumped a plane to Ohio with
an open ticket. I think it’s time I holidayed in the US of A for a
while ![]()
This is at the end, when Pauline was saying things she shouldn’t -
gotta’ love Sanguines! And of course Peter, the melencholy, is in the
background doing the Mona Lisa thing on me… ![]()
Well I just listed myself on friendsreuinuted.com.au
- I thought it’d eat up a few minutes while I was waiting for an email
to come through. I tell you what, it’s strange to see your
ex-girlfriend listed on there. Not because it brings back memories
(there arn’t that many), but simply because of what everyone used to
tell me. It’s a mythical name, “Remember xxxx??”. How can I forget,
when you keep reminding me ![]()
Just added a bit about me . Helps make this page a little less anonymous I think.
I attempted <a href=”http://www.blogger.com/img/gl.link.gif“>expect scripting
for the first time today. I must say, if I used it more, I’d be writing
a complete tutorial to it. I had trouble finding a good, verbose,
tutorial on it. As it is, I’ll just post a (working) version of my scp
script that uses expect to automate the process:
#!/usr/bin/expect --set localfile [lindex $argv 0]
set timeout 30
spawn /usr/bin/scp $localfile user@host:~remotedirexpect {
"password:" {
send "mypass\r"
interact }
"yes/no)?" {
send "yes\r"
set timeout -1 }
timeout {
exit } eof {
exit }}
What this does, is take an argument off the command line as the local file,
and copies it to the remote server as hard coded in the file. I wanted
to keep it simple, but the two things I wanted to point other that I
had (a little) trouble finding are:1. To access command line
variables, it’s kind of funky. So you will want to declare normal local
variables at initialization like:set localfile [lindex $argv 0]With $argv 0 being the first argument. I couldn’t get this to work with the C-style $argv[0] - it causes a syntax error.2. When you are <span style=”font-weight: bold;”>spawning a command that actually does something and prints information to the screen, you need to tell expect to <span style=”font-style: italic;”>interact. Otherwise, it will just quit after performing the operations you tell it to explicitly.
It took me about 2 hours to work out why my table kept showing a gap
underneath it. Wehn you have a 40px image on the corner, then the
middle content cell has a background color that extends _below_ the
image size, even though you have specified every possible height to
40px, and set all possible spacing to 0px, it is VERY annoying!I eventually found this: http://www.draac.com/tabletricks.html Check the first part. Very interesting. A trvial [typical IE]hack but ruins the alignment of my table tags ![]()
It took me about 2 hours to work out why my table kept showing a gap underneath it. Wehn you have a 40px image on the corner, then the middle content cell has a background color that extends _below_ the
image size, even though you have specified every possible height to 40px, and set all possible spacing to 0px, it is VERY annoying!I eventually found this: http://www.draac.com/tabletricks.htmlCheck the first part. Very interesting. A trvial [typical IE]hack but ruins the alignment of my table tags ![]()
The other day I created a module that shows what I’m currently reading, and
how long I’ve been reading each book for on the sidebar. If you click
on the book title / author, it does a Google “I’m Feeling Lucky”
search. I’m _hoping_ the page it brings up will be about the relevent
subject… ![]()