Posts tagged ‘programming’
Address Book URLs
February 3rd, 2012 at 9:23 pm by Dr. Drang
Last night, Brett Terpstra wrote a post about how to get links to Notational Velocity/nvALT notes into your Address Book via AppleScript. Since I don’t use either of the NVs, linking from Address Book to a note has no value for me, but I have needed to link to Address Book. Brett’s links work because…
Über
February 2nd, 2012 at 10:17 pm by Dr. Drang
This was a little disconcerting to see in my Twitter stream: Nice. @TextExpander übergeek @drdrang has turned his attention to @PDFpen + AppleScript. Productivity nerds rejoice! smle.us/wFBGv9 — Jean MacDonald (@macgenie) Thu Feb 2 2012 Übergeek? Really? I mean, I really like that script because it uses PDFpen to turn a tedious, 2-3 minute task into…
Automatic W-9s with PDFpen
February 1st, 2012 at 10:35 pm by Dr. Drang
I resisted PDFpen for a long time. I already had OmniGraffle, and while it certainly wasn’t convenient to fill out PDF forms in OmniGraffle, I could do it. This worked fine as long as filling out PDF forms was a rare task. But as the companies I work with began using PDFs more and more,…
Setting my coordinate
January 30th, 2012 at 10:15 pm by Dr. Drang
Too many posts of my retuning of old scripts. This is another one, but I’ll try to make it the last one for a while. Today I was going to use my coordinate script to set the location of several dozen photos I took with a standard, non-GPS-equipped camera. I’d taken a photo in the…
Blackbird.py and background images
January 29th, 2012 at 11:42 pm by Dr. Drang
In his comment on last night’s post about that fraction with the interesting decimal representation, Matthew McVickar pointed out a bug in my system for displaying tweets: I’m curious about the background in that embedded tweet of mine. My Twitter profile background is solid blue, and I don’t have a background image set. Looking up…
Fun with Python’s decimal library
January 28th, 2012 at 9:02 pm by Dr. Drang
You’ve probably run across a link to this cute math fact in the past few days: [\frac{1}{998001} = 0.000001002\ldots100101102\ldots900901902\ldots999\ldots] This relatively simple fraction generates a decimal number that contains, in order, every three-digit sequence from 000 to 999 (except, sadly, 998). Pretty cool. If it’s true. I don’t want to be cynical or disparage the…
Photo location service (and Bing)
January 27th, 2012 at 9:18 pm by Dr. Drang
Following up on this morning’s post, I’ve expanded my map script to include an option for using Bing Maps to display the location of a photograph, and I’ve created a Service so I can get a map by right-clicking on a photo in the Finder and choosing “Photo location” from the contextual menu. Here’s the…
Locating your photos on Google Maps
January 27th, 2012 at 9:21 am by Dr. Drang
Back in October I wrote a little script that added GPS location information to photos. My idea was to be able to take one photo with my iPhone, which would capture the location in its EXIF metadata, and use the script to transfer that information to all the photos I took with my regular camera…
Learning
January 19th, 2012 at 1:17 pm by Dr. Drang
Many years ago when I was a new faculty member, the older guys in the department would tell us youngsters that the best way to learn a topic was to sign up to teach it. They were right. Over the years, I’ve learned some important corollaries to that rule of thumb. Before I go any…
New Blackbird.py for embedding tweets
January 12th, 2012 at 11:45 pm by Dr. Drang
If you have access to the NewNewNew Twitter (as I did for about a day several weeks ago, but haven’t since), you’ll find a button that’ll give you the HTML code necessary to embed any given tweet in your blog or webpage. This is a big improvement on the common way of showing a tweet,…




