Home Link

Hello, my name is Brett Terpstra, and it’s nice to meet you. Elegant solutions to complex problems. Curious?

Posts tagged ‘scripting’

Nov 09
2011

This next geeklet is quite similar to the Top CPU Processes geeklet I last shared. It finds the apps and processes with the biggest memory footprint on your system and lists the top 10. The output looks like:

It includes system-level processes, too, so you can see if something other than your running apps is taking up RAM. Keep in mind that RAM is meant to be used, and having it…

Nov 08
2011

I am nearing the end of my first semester as a professor at a small liberal arts college. My graduate school years left me fairly detached from some of the topics I learned in my undergrad years and so I spend a decent amount of time simply re-aquainting myself with material. It is easy to digest the second time around, but as I process the material I also have to think about how…

Nov 05
2011

If you read A solution for scatterbrains yesterday, but were left feeling like the solution just wasn’t geeky enough… here’s a Saturday morning post to help you out. You do actually need to read that for this to make any sense. Here, I’ll link it again for you.

To make this a little geekier: if you’re doing this in nvALT, you can right click the note in the…

Nov 04
2011

I’ve been having an issue with the latest version of Growl (1.3.1) where notifications randomly get “stuck.” No amount of clicking and option-clicking will make them go away. Until there’s a fix for this, I’m using a brute force restart to clear them. I have it set up as an alias (killgrowl) in my .bash_profile and as a LaunchBar action (Restart Growl.scpt). It’s a really…

Nov 02
2011

Ok, I made something interesting (to me) last night. It’s probably not worth taking the time to write up, but someday someone might find it and think it useful. I apologize for the messiness of the code, if I take this further and clean it up, I’ll update this post.

I was working on a few text-analysis features for Marked and decided I wanted to be able to show repeated…

Oct 04
2011

I’m not up for doing a full Bash autocomplete tutorial tonight, but wanted to share something I figured out instead of eating lunch. Here it is with a modicum of explanation.

I’ve been using Jon Stovell’s quit script to stop running applications with various save options as part of tweaking a safer universal computing setup with Dropbox. For various reasons I found myself…

Oct 01
2011

To pick the winners for the Yoink and Listary giveaways, I wrote an AppleScript to make the process completely random and as painless as possible for me. I still have plans for making a similar WordPress plugin, but that’s still in the planning stages. For now, this is working quite well and I thought I’d share it. I doubt many people have the exact same setup and requirements…

Entries (RSS) and Comments (RSS), or Subscribe by Email