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.
  • On pre-marathon meals

    Don’t necessarily do as I’ve done here–I’m just illustrating a point. For my three fastest marathon times, I’ve eaten as the last meal before: – 3:32 – cheap mediocre Mexican food. – 3:39 – Mexican in Florence, KY on the way to Cincinnati and pub grub at Nicholson’s in Cincinnati. – 3:49 – pub food…

    May 14, 2011
  • Using Escape Codes and Setting Window Title on PS1 for ksh (Korn Shell)

    I set up the following in my ~/.profile for my ksh login: export HOST=$(hostname) export PS1=$(perl -e ‘printf “33]0;${USER}@${HOST}:${PWD}07$”‘) Unfortunately, ksh doesn’t understand escape codes, so perl or awk is necessary to pull this off–or you can enter them literally via your editor. I like the perl route just for ease of maintenance. This was…

    May 10, 2011
  • Count Outlook Inbox Unread / Total From Ruby

    Well, Track your unread items/total items count in Outlook on startup, except for the pesky Outlook Macro disabled security problem. Besides, I never restarted Outlook often enough for it to track much of anything. Instead, I decided to create a Ruby script to track the count. I’ve left reference URLs and test notes in place…

    April 5, 2011
←Previous Page
1 … 92 93 94 95 96 … 314
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress