This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "read 'icns' (-16455) \"Icon.icns\";" > Icon.r | |
Rez -append -o File.ext Icon.r | |
SetFile -a CE File.ext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:if(frames[1]){var%20d=frames[1].document;}else{var%20d=document;}var%20is=d.getElementsByTagName("img");window.open(is[is.length-1].getAttribute("src")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
$Images = array(); | |
$img = ''; | |
$r = 0.5; | |
$H = 300; | |
$W = 0; | |
for($i=1; $i<$argc; $i++) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compare application bundle sizes to size of binaries in Mac OS X. | |
du -sk /Applications/ | |
du -sk /Applications/*.app/Contents/MacOS | awk '{total=total+$1} END {print total}' | |
# Size of designable.nib files. Requires up-to-date locatedb. | |
locate /Applications/*designable.nib | xargs -I P du -sk 'P' | awk '{total=total+$1} END {print total}' |