loading twitter...

git package 1.5.4.3 for OS X

Updated universal git package for Mac OS X:

(I made the mpkg on Leopard, but compiled the code on Tiger. This should work on both, but I haven’t tried the installer on Tiger. I’ve also tried to include libexpat, and thus git-http-push support. Let me know if there are any issues)

Update: I’ve rebuilt the package, which should install all the git builtin programs (which are exactly the same as the main git binary, but with a different name) as hard links, not as independent programs. This will take up less space on your hard disk, but the installer is the same size (!). If this doesn’t work for you, use the non-hard-linky installer.

Uncategorized

Comments (9)

Permalink

ditto –fail

This test script will fail about half the time on Mac OS X, both 10.5.1 and 10.4.11. Note that the second test (the “FAIL2″) never seems to fail.

#!/bin/bash

mkdir test
dd if=/dev/random of=test/file1.txt bs=1024 count=5 > /dev/null 2> /dev/null
cp test/file1.txt test/file2.txt
cp test/file1.txt test/file3.txt
cp test/file1.txt test/file4.txt
cp test/file1.txt test/file5.txt
cp test/file1.txt test/file6.txt
cp test/file1.txt test/file7.txt
mkdir test/subdir
cp test/file*txt test/subdir

zip -0 -q -r - test > f1
cat f1 | ditto -xk - .1

zip -0 -q -r - test | cat > f2
cat f2 | ditto -xk - .2

diff -r .1 .2 > /dev/null
if test $? != "0"; then echo "FAIL"; fi

ditto -xk f2 .3
diff -r .1 .3
if test $? != "0"; then echo "FAIL2"; fi

rm -rf f1 f2 .1 .2 .3 test

I’m not such which sucks worse: the fact that ditto can’t handle what is apparently a perfectly valid zip file, or that zip writes something different to stdout, depending on whether or not it is a pipe or a file.

Uncategorized

Comments (0)

Permalink

Virtua Fighter

Virtual memory sizes, Leopard

I’m impressed overall with Leopard, not the least of which the fact that it seems extremely snappy, even though for me it gets a heretofore unthinkable VM Size: 73.75 GB virtual memory size. The graphics card in my iMac still hangs every once in a while.

Uncategorized

Comments (2)

Permalink

Stupid Leopard Tricks: Non-Translucent Menu Bar

Menu Bar

It’s kind of an obvious hack, but to “disable” the translucent menu bar in Mac OS X 10.5, you can just change your desktop background to have a little strip of a solid color (or a gradient) along the top.

Now you could pay for an image editor, or wait until the Gimp works again on Leopard, or five-finger bittorrent a copy of Photoshop, but it’s easier to just install ImageMagick (through MacPorts), and do it as a batch.

I have a folder of pictures, all the right size (1920 by 1200 pixels), that I use for desktop pictures; I made a little gradient image, and then let mogrify do the work:

rigel:~/Pictures$ mkdir "Backup of Desktop Pictures"
rigel:~/Pictures$ cp Desktop\ Pictures/* Backup\ of\ Desktop\ Pictures
rigel:~/Pictures$ cp gradient-menu.jpg Desktop\ Pictures
rigel:~/Pictures$ cd Desktop\ Pictures
rigel:~/Pictures/Desktop Pictures$ for file in *.jpg
> do mogrify -draw 'image Over 0,0 1920,22 gradient-menu.jpg' "$file"
> done
rigel:~/Pictures/Desktop Pictures$ rm gradient-menu.jpg

Uncategorized

Comments (3)

Permalink

New Git package for OS X

Updated the git Mac OS X package. Let me know if there are issues (note, yes, this will only work on Tiger, and maybe Leopard).

Uncategorized

Comments (13)

Permalink