Showing posts with label osx. Show all posts
Showing posts with label osx. Show all posts

2008-03-03

Suspicious Package update

Suspicious Package is a QuickLook plugin that lets you examine pkg (and now mpkg) files from Finder with QuickLook. No more having to drop into Terminal.app and use lsbom.



Here are the bullet points from the release notes:



  • Added support for metapackages.

  • Fixed problem where the actual installation location was not shown for some packages.

  • Added indication when a package requires authentication with an administrator password.

  • Added indication when a package requires a system restart (or shut down, or log out) after installation.

  • Added indication when a package has install scripts, and an option to view the actual scripts (see details).

  • Added support for installer receipts and .bom files



Download the new release from http://www.mothersruin.com.

2008-02-20

Handbrake 0.9.2 released

Supports AppleTV Take 2, iPhone/iPod, Dolby 5.1 sound in mp4 files, many more new features.

Only runs on Leopard, and download it from http://handbrake.fr.

2008-01-29

iPhoneesque Growl notification

Grab it at http://macthemes2.net/forum/viewtopic.php?id=16783761.

2008-01-21

QuickLook plugin for .PKG

There's a handy QuickLook plugin to show what files a pkg will install at http://MothersRuin.com/software/SuspiciousPackage/


Suspicious Package is a plugin for the Quick Look feature of Mac OS X 10.5 (Leopard). It allows you to preview the contents of a standard Apple installer package without launching the Installer. Just select the icon in the Finder and select Quick Look

2008-01-09

New version of MacFUSE

Details posted at Google Mac Blog, direct download link is here.

2008-01-06

iTunes & FUSE

iTunesFS is a FUSE filesystem that lets you see all your iPods & iTunes playlists as Finder folders. Download it here.

2007-10-31

Leopard Security Roundup

Thomas Ptacek of Matasano Security posted a very good review of the various Leopard security features on their blog, matasano chargen.

2007-10-28

Remove APE before insalling 10.5

There are known issues with Unsanity's APE extension and 10.5. Remove it before upgrading to 10.5.

You may not realize you have APE - Logitech's mouse driver is known to use it, and AudioHijack Pro's Instant hijack is also known to use it.

If you are getting the blue screen and no loginwindow, you can nuke APE without a reinstall with the following steps:


  1. Boot into single user mode by holding Apple+S on startup

  2. fsck -fy /

  3. /sbin/mount -uw /

  4. rm -rf /Library/Preference Panes/Application Enhancer.prefpane /Library/Frameworks/Application Enhancer.framework /System/Library/SystemConfiguration/Application Enhancer.bundle /Library/Preferences/com.unsanity.ape.plist

  5. sync;shutdown -r now



Edit
John Gruber has more background on this in an article he wrote on Daring Fireball here and Apple posted a KB article about this here.

2007-10-27

New MacFUSE with Leopard support

Get it from http://code.google.com/p/macfuse/.

The QuickStart guide is here.

There's also a new SSHfs build for 10.5 as well.

2007-05-21

Subversion scripts for Finder

Adam Brytek posted a list of AppleScripts for OS X Finder that allow you to do a bunch of convenient Subversion commands here.

The current rev supports

  • Add

  • Commit

  • Delete

  • Revert

  • Status

  • Update

2007-04-19

MacFUSE 0.2.5

Another rev of MacFUSE stuff available here. Enjoy.

2007-04-04

Google Desktop for Mac

So I can finally talk about this. To sum up, very cool. You can use it for launching applications like Quicksilver, or just use it to search the docs on your machine like Spotlight, only with less frustration. And you can have it search your GMail account, too.

2007-03-16

Fun with iPhoto

Nathaniel Grey has a great little plugin for iPhoto that lets you use your own scripts when you export photos here.

You can specify scripts that get run before the export, for each file in the export, and after the export. And they can be in real languages, not just AppleScript.

2007-03-06

Get subversion to launch on boot on OSX

There's a good article on how to get subversion server to start on boot on OS X here.

2007-02-28

MacFUSE 0.2.2

Another MacFUSE release, with bugfixes and sample filesystem source code. Get it here.

Replace AppleScript with Ruby

There's a great article on replacing AppleScript with Ruby at O'Reilly's MacDevcenter here.

2007-02-21

Ugly hack to use AppleScript to present a dialog from a bash script, and get their choice.

I am reposting this from my old blog because a coworker ended up needing this. This has only been tested on 10.4, though nothing in it is all that special.

I was trying to slap a prettier interface onto a bash script for a client. I only bothered to use an AppleScript instead of just sending it to Growl because I needed them to be able to make a choice that I’m going to act on in my script. Even if it was just for display, I didn’t particularly want them to have to install Growl just for my little script.

This is ugly because I had to use a temporary file to store the AppleScript to display the dialog. It is also ugly because we can’t just display the dialog – we get an error message if we try – but we can tell another application to display the dialog. I picked System Events because it’s always running anyway.

This method also allows us to use a program-generated message instead of something static.

And just for the heck of it, I stuff the name of the button the user clicks into a variable, in case you want to use this snippet to display choices for the user.


#! /bin/bash

msg="Giant cracks appeared in the earth’s surface!"

# use $$ here so that the process ID of this script is part of the file name.
# this makes it a lot harder to accidentally step on another instance
# of the script that’s trying to also display something to the user.

tf=/tmp/ziggurat$$

# note that there should be 3 lines between EOF and EOF, in
# in case this is mangled by blogger

cat>$tf <<EOF
tell application "System Events"
display dialog "$msg" with icon stop buttons {"Foo", "Bar", "OK"} default button "OK"
end tell
EOF

foo=`osascript $tf | awk -F":" ’{print $2}’`

echo "foo: $foo"

# don’t forget to trash the temporary file when we’re done with it.
rm $tf

2007-01-26

MacFuse

Amit released the Macintosh port of FUSE at MacWorld, which lets people write filesystems that don't require kernel code. Greg Miller has written a great sample filesystem for it, SpotlightFS.

2007-01-25

Easy way to create services on OS X

ThisService is an extremely handy tool for creating services on OS X. Any script you have that reads from STDIN and writes (if appropriate) to STDOUT can be easily turned into a service.

2005-05-26

Spotlight importer for Python source

The guys over at Toxic Software have released a freeware Spotlight plugin to handle Python source code.

Very sweet, lets you search for stuff in comment strings, function names, all sorts of goodness.

Creative Commons License

This work is licensed under a Creative Commons License.
Copyright 2007, Joseph P. Block, Some Rights Reserved.

Creative Commons Logo