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.
  • Monkey patching if you need to force an error in delayed_job

    I wanted to force an error condition in my cucumber tests, but the code ran through a DelayedJob, so I couldn’t redefine the code running under the .delay chain, because the DelayedJob worker will reload the normal code base for its processing. I finally realized that simply patching the delay instance method to return self…

    November 22, 2013
  • How long until a randomly chosen string of letters with no results shows up in Google if I include it in a post?

    Inquiring minds want to know. So, I’m including a string of letters that looks Slavic – yznvenskya – in the first couple of lines of a post. Update:  Looks like it took less than 16 minutes to show up.

    May 11, 2013
  • On Mac OSX Lion: “ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension”

    Running Mac OSX Lion, trying to bundle install a project that included the ruby-oci8 gem, I received the following error: Building native extensions. This could take a while… ERROR: Error installing ruby-oci8: ERROR: Failed to build gem native extension. The fix: Fortunately, the 64-bit client for Oracle has now been updated for Lion/Mountain Lion. Download…

    April 11, 2013
←Previous Page
1 … 83 84 85 86 87 … 317
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress