Doing some cleanup in ~/src last night and I spotted some .diff's I've had lying around. These might be useful to you, or they might cause serious hardware failure. Only one way to know for sure though.
-
godkill-pgrp.diffSometimes
goddoesn't kill a process it has daemonized. It sends a TERM signal to the process it forked but this leaves the forks child running (if you know what I mean). Sincegodhas already forked, it's safe to send the TERM signal to the process group containing the subprocess. -
ImageScienceimage_science_with_buffer.diffImageScience is a lightweight Ruby replacement for ImageMagick built on FreeImage (and if you've ever tried resolving all ImageMagicks dependencies by hand you'll understand why someone wrote a lightweight replacement). One of the features it's missing though is the ability to load an image from a buffer already in memory. This patch adds that capability.
Once applied, you can use
ImageScience.with_buffer(buffer, buffer.length)where buffer is a plain old Ruby string.image_science_with_alpha_icos.diffAlpha channel support for ICO images why not.
-
pybeanstalkdpybeanstalk-osx.diffpybeanstalk provides a Python interface to the beanstalkd queue. This patch lets it play nicely on MacOS (OS X Python lacksselect.pollbut it's easily worked around here).Edit: oops, this patch was accepted a while ago. If pybeanstalk isn't working on your Mac, just update to the latest version.
