-
Circular dependency detected while autoloading constant
I ended up with this error because the class name I was referencing was ClassNameXML but I was trying to call it as ClassNameXml. Not following naming conventions combined with not calling a class by its properly capitalized name will trigger this. I burned an hour figuring this out. I hope you don’t have to.
-
Applescript to periodically raise unsent Outlook replies to the foreground
I’ve had a particular problem starting replies in Outlook for Mac and then losing track of them or forgetting about them. This script is a fairly naive attempt at having such replies raised to the foreground. It doesn’t distinguish between a reply you’re reading and one you’re writing. It also won’t notice email that you’re…
-
Using a vimscript to run through a list of substitutions with dictionary pairs
I wanted to modify a test suite to call a method using ruby 2’s keyword arguments. There were several calls to the same initialization function that followed a pattern that made it a good candidate for a series of `%s` calls using key-value pairs in a dictionary. Interesting how vimscript uses a leading slash as…