Random ramblings about Mac, Python, TeX, programming, and more  |     |          |     |  


Automate tasks with AppleScript, Fake, and the keychain

April 27, 2015  |  tools, os-x, web, programming

You can make life a lot easier on your Mac if you learn how to automate things. The standard approach to do this on Macs are to use Automator (see How to use Automator: What Automator is and how it works from Macworld UK). If you include AppleScript, Fake, and the keychain in your toolchain, you can achieve even more. As an example I will develop an automated task to create a new email alias usin …

Last updated: April 27, 2015

Including source code in papers and on the web

March 20, 2015  |  tools, programming, python, publ, web

I've written many papers and a lot of web pages that includes source code. Since Python code was an important part of my Dr. thesis, I even wrote a tool to generate a pretty-printed Python code for LaTeX (this was written in 1997, but since I've been using it ever since it has had a few minor bug fixes since then; however, it needs Python 1.6 and it was the first Python program I ever wrote!). Jus …

Last updated: March 20, 2015