Lately the internet has had a wave of sites using the cherished Konami Cheatcode to reveal easter eggs or similar functionality in the site or app. I wrote a (crappy but working) class to implement such functionality in ActionScript about a year ago here. I decided to polish it up a bit for the benefit [...]
Category Archives: Code
Migrate from Things to The Hit List
Edit: I updated the app to work on Snow Leopard. Go here to get the app or source code. So this all started out with me pining for the release of the fabled iPhone version of The Hit List. I started out just wanting to create a script that would let me use Things Touch [...]
Adobe Updodger
Do you use any Adobe products? Tell me if this sounds familiar: “Oh hai! I need to update some totally unrelated stuff on your machine! You know, some camera raw stuff or InDesign whatchamacallits, so I’m just going to force you to quit all your browsers, because lordy lordy who knows what might happen if [...]
Prattle of the Pettiest
Original photo by Flickr user alexerde. Bastardized thoroughly by yours truly. These two posts by Keith Peters do a marvelous job at summarising an age-old frustration that most ActionScript developers and I’m certain developers in many other languages, have either faced or actively promulgated.Namely the attitude that while my language is certainly a robust and [...]
Twitter, Twitter, Twitter
Update!! Yahoo did the same dick move of cockblocking Flash. :/ To remedy this the URLRequest on line 80 had to be changed. If your project used to work but doesn’t anymore; Try this. If this is your first time here; Ignore this message. — Ad infinitum, ad nauseum. So, I saw that I’m still [...]
Some Path Finder AppleScripts
How’s that for a TitleCased title? So I’ve been checking out Path Finder again. The thing with Path Finder is that it’s very nearly awesome, but there are a few things that bug the hell out of me. I may or may not come back to the most irritating shortcomings in a later post, but [...]
Clean flashlog.txt with a keystroke
Scenario: You’re working with the Flex SDK and you’re tracing messages to the Terminal via flashlog.txt. The damn logfile has heaps of clutter in it from the last project you were working on, and you want to clean it up. Solution: Save this snippet and assign it a Quicksilver hotkey: 1234try do shell [...]
ActionScript 3 URL validator class
Fairly robust AS3 utility class for evaluating, parsing and tagging URLs.
Open Safari URL in Firefox
Scenario: You are browsing in Safari (because it’s speedier than Firefox) and feel the urge to inspect the site in Firebug or the Web Dev Toolbar. Solution: Save this script and activate it from QuickSilver. 12345678910tell application "Safari" activate set theUrl to the URL in document 1 end tell tell application "Firefox" [...]
Center and resize window with AppleScript
I use a 15″ MacBook Pro that I carry between work and home. At work I have a 30″ Cinema Display which means I can actually have half of the Flash IDE showing at once. Mostly it’s plug and play but every once in a while some app just doesn’t realize that I’ve unplugged the [...]
