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.
  • Tandy/Radio Shack TRS-80 Model 16 Graphics

    TRS-80 Model 16 Basic Graphics Interpreter discovery

    July 6, 2021
  • String#tr in ruby (like tr in Linux) complete with figuring out slashes.

    It seems like I’ve seen quite a few programming puzzles in the last few weeks that involved translating mistyped input in which the hands were shifted (right) on the keyboard. My first thought was the tr utility in *nix operating systems, but didn’t immediately go looking for or notice that ruby has a tr method…

    July 5, 2021
  • Easy Debug / Trace Ruby output like set -x in bash 10 lines of Ruby (or less)

    In writing some shell scripts in ruby, I decided that I needed to be able to debug (trace) the lines that were being executed. I even ran across a closed StackOverflow question looking for the same thing — a way to trace ruby like set -x in bash. A very naïve script to add tracing…

    July 4, 2021
←Previous Page
1 … 41 42 43 44 45 … 317
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress