Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • Day 2, Week 4: Hundred Pushup Program

    Second day of week 4 of the hundred pushup program: Exhausted to start out with. Set tally, “-“=90-second recovery period. “[#]”=max Pushups: 27-21-21-18-[28], 125 total.

    July 29, 2008
  • A bit warm for the work out and back

    The parking lot was hot and windless, but most of the run had a little bit of breeze. Even better… I came back to my desk to the following KAIRE e-mail. Considering half of my run is in an industrial park, I should probably take more notice of these. An Air Quality Alert has been…

    July 29, 2008
  • Have I appropriately professed my love for Ruby yet?

    I used to play around with Ruby a lot. Here’s another script, where I was downloading fedora ISOs and giving myself feedback as to the progress of the operation (yes, I was in cygwin also). #!/usr/bin/rubyrequire ‘net/ftp’require ‘fileutils’ftp=Net::FTP.new("ftp.linux.ncsu.edu")ftp.login("anonymous", "me@email.com")FileUtils.chdir("/cygdrive/c/downloads/fedora")files=ftp.chdir("pub/fedora/linux/core/3/i386/iso")def mecallback() print ‘filename: ‘, (File.size($fileName) * 100.0 / $fileSize), "%n"end$fileName="FC3-i386-disc3.iso"$fileSize=ftp.size($fileName)print ‘filename: ‘, $fileName, "n"ftp.getbinaryfile($fileName, $fileName, 2**20)…

    July 28, 2008
←Previous Page
1 … 247 248 249 250 251 … 317
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress