Category: Software

F-Script Injection in Mavericks

I continue to use F-Script occasionally to investigate how programs work internally. The framework itself has been updated to handle the changes in OS X Mavericks. However, the developer tools included with Xcode 5 swap out the gdb debugger for lldb, breaking the injection script again. After playing around with the automator action some more, here's what I came up with that works on Mavericks.

1

gpredict build for Mac

I really like the open-source satellite tracking program predict. I'm primarily a Mac user, so to get it I had to use macports to build it. I don't really care for alternate build systems like that, so to use it on my other systems, I decided to bundle it all up, and to spare some people the trouble, I'm going to post it here.

5

Move Windows with Hotkeys

This is a more complicated example of what can be done using AutoHotKey. I use this script every day at work and pretty much consider it indispensable when using multiple monitors.

0

F-Script Injection in Lion

I wanted to use the very handy F-Script environment to snoop around inside an application. F-Script can be injected into running applications by using gdb, which of course works fine, but they also provide a services-menu item for performing the injection. Due to several changes in OS X 10.7 Lion, the automator workflow that came with F-Script to perform this did not work.

I reworked the injector service so it works on Lion and doesn't leave behind (or even create) any temp files.

2
Screenshot of PDF Maps, showing geolocation dot exactly over shelter icon.

Georeferencing Trail Maps for PDF Maps on iOS

When I first got an iPhone, one of the first app ideas I had was one that would let me take a trail map image, mark a few known coordinates, then use the GPS to display the blue dot like in the built-in Maps app. I've searched for something similar a few times, and had actually started doing some research into libraries for doing the math. This weekend, I thought I'd search one more time, and there was actually a free app recently posted called PDF Maps by Avenza.

0

HP LaserJet P1102w Firmware Update on Mac

Update: as of the last few versions, the standard HP firmware updater appears to be working fine on the most recent OS X versions. What follows is now strictly of academic value.

I have had an HP P1102w printer for over a year now.
I've had no complaints about it so far, but a firmware update was recently released that adds AirPrint support, allowing printing from iOS devices.
The problem is: the firmware updater refuses to do anything on OS X (at least in 10.6.8 and 10.7.x).
I searched but was never able to find a solution that worked.
So, I did what any normal person would do: I loaded it up in gdb.

2

Server Attack Visualizer

This project consisted of two programs. The first was a server, basically just written as a shell script, which sat on a Linux machine watching log...

0

AVR Plugins for Eclipse

This set of plugins for the Eclipse IDE was originally designed to provide two key functionalities when developing C/C++ programs for the Atmel AVR family of microcontrollers (way before Arduino made them cool).

0