Posts tagged ‘python’

Better window screenshots

For some time now, I’ve been using a homemade utility, snapflickr, for taking screenshots and automatically uploading them to Flickr. It worked really well for most screenshots, but there were some, like this one from yesterday’s post, that just don’t look right because the desktop background border is either too thin or uneven or both.…


Evaluating LaTeX with Eddie and Alpha

If you work in LaTeX and write numerical equations,1 this post by Eddie Smith will cause all sorts of bells to go off in your head. He shows how Wolfram Alpha will evaluate an expression given to it in LaTeX form. In other words, you can paste something like this into the Alpha expression field…


Blogging from BBEdit, redux

I’ve been having blog problems the past couple of weeks. My script for publishing from BBEdit has been working fine when publishing new posts, but it’s been throwing errors when updating posts after editing. I’m not sure what has changed. I did update my WordPress installation recently, but I’m also suspicious of new configurations my…


Quick invoicing emails with MailMate

I’m not ready to write a post on the positives and negatives (mostly positives) of MailMate, but I am ready to share a script that automates one of my common emailing tasks. The invoices I send to clients are PDFs that I attach to a short email. The body of the email is boilerplate: here’s…


Mapping photos with Pythonista 1.5

This tweet from Ole Zorn on Saturday took a load off my mind: Pythonista 1.5 has passed Apple’s review – release on Monday, more details soon. \o/— Ole Zorn (@olemoritz) Jun 14 2014 6:27 AM First, I was relieved to see that Ole had dodged the App Store’s threat to remove Pythonista. Second, I could…


A slightly better SuperDuper! summary

Time flies. Just over seven (!) years ago, I posted a Perl script that pulls out certain information from a SuperDuper! log file and prints it to standard output. I’ve been using that script ever since as way for GeekTool to display the results of the previous night’s backup on my Desktop. It’s certainly important…


Sorting by parts, redux

I got some nice feedback on my “Sorting by parts” post from a few days ago. Enough, I thought, to write a new post instead of just updating the old one. Recall that all of this stems from T.J. Luoma’s original. The idea was to sort a list of domains, like foo.tjluoma.com a.luo.ma bar.luo.ma b.tjluoma.com…


Weather Underground without Pythonista

The little phone-hosted weather web app I wrote about a week ago was fun to build and easy to extend, but it wasn’t as convenient to use as my old CGI script. So I decided to drop the dependence on Pythonista, turn it into a CGI script hosted on a server, generalize it to handle…


Weather Underground in Pythonista

I woke up yesterday morning, checked the weather on my phone, and got a vague sense of dissatisfaction that’s probably familiar to you. This weather app doesn’t have Feature A; that app does, but it doesn’t have Feature B; this other app has both, but they’re inconveniently hidden behind a series of taps and swipes.…


Photo locations with Apple Maps

A couple of years ago I wrote a simple little script that looked through the EXIF data in a photo to see it included GPS coordinates. If it did, the script would open a map to the location at which the photo was taken. At first, the script worked with Google Maps only; I later…