I got the CD from the Library for my kid, and tried to play in my mac machine. Boom, it is not recognized by the mac and got stuck. Tried restarting the machine, nothing works. Finally, got into the Applications > Utility > Disk Utility. CD got ejected automatically.
Credit:
http://www.mactricksandtips.com/2009/01/ejecting-dvds-cds-from-your-mac.html
Saturday, August 16, 2014
Wednesday, April 2, 2014
how to find unused images from Xcode
#!/bin/sh
PROJ=`find . -name '*.xib' -o -name '*.[mh]'`
for png in `find . -name '*.png'`
do
name=`basename $png`
if ! grep -q $name $PROJ; then
echo "$png is not referenced"
fi
done
Credit:
http://mfaizanshaikh.wordpress.com/2012/12/17/how-to-remove-unused-images-from-xcode-project/
Subscribe to:
Posts (Atom)