April 2011
6 posts
Apr 30th
Convert to MP3, ffmpeg and Applescript
AppleScript to convert lots of audio files into mp3. At first, I had aac set as the output format, but it said that wasn’t a suitable output format. So to convert to AAC, drop into iTunes and convert. Requires MacPort installation of ffmpeg. Room for improvement: escaping characters in file path selector for fileformat better input format detector (to remove extention) The code: on...
Apr 27th
Comic Strips to Comic Book Pseudocode
This isn’t written in any particular language and represents a sketch of what a program might look like that takes a directory of images and creates static images to be zipped into a CBZ file or similar. Since this is “pseudocode” it is not meant to actually function in it’s current state and would need to be re-written in the language/environment of your choice which I...
Apr 27th
Nine down to Two
I find the following example to be what I enjoy about writing code before I get to execute it. Nesting if statements to sketch out an idea in 9 lines: if Condition_A then if Condition_B then set OutputValue to (2 * Var_1) + Var_2 else set OutputValue to Var_1 end else set OutputValue to Var_1 end I noticed the Var_1 term being in each case. So instead, I...
Apr 27th
Feature Request - Keychain Access Advisor
In regards to services such as the Playstation Network being hacked and personal data being stolen, it would be nice to have some view in Keychain Access that would aid in changing my passwords. The problem as I see it is that if you use a selection of passwords, or a scheme of passwords (a changing password with some sort of static or similar portion) and one of those passwords becomes...
Apr 26th
4 notes
Excel Rant
I hate Excel’s Developer Ribbon which you have to enable separately, so that tells you that MS doesn’t feel it’s a real feature to headline. iWork Numbers will let you format cells as checkmarks, it’s a number style like currency or time & date. Excel has not had this sort of idea. Instead, they rely on a gui for placing checkmark elements on an active sheet, and then...
Apr 14th