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.
  • Alternative Paths

    Today could have went very differently. I could have slept in after waking up in the middle of the night. I could have driven the main roads instead of the winding back roads. I could have driven the back road route that I knew much better instead of the slightly longer back road route. I…

    September 18, 2012
  • Creating a Readable List of Playlist songs on Mac

    1. Select Export… by two-finger/right-clicking on the playlist. 2. Export as plain text. 3. I had to do a little command-line scripting to change carriage returns to new lines and select only the first two tab-limited columns: cd ~/Desktop cat Power of Two.txt | tr ‘r’ ‘n’ | awk -F ‘t’ ‘{print $1 “::” $2}’…

    August 29, 2012
  • Naive palindrome substring check written in C.

    Below is a quick and naive implementation of a palindrome substring checker written in C. All characters are considered part of the palindrome (i.e. whitespace and punctuation is not filtered out). Substrings of larger palindromes are also printed separately. #include #include /* * printPalindromes – prints all palindromes in * a string, including substrings of…

    June 4, 2012
←Previous Page
1 … 84 85 86 87 88 … 314
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress