Sales Tax Refunds from Apple

27 03 2015

For sales tax refunds on purchases made through the Mac App Store or iTunes Store, contact:

itunes_tax_refunds@apple.com

with attached exemption certificate and information in the format:

Your Name:
Name of Exempt Organization:
Amount of Sales Tax to be Refunded:
Order Numbers:

For sales tax refunds on purchases made through the Apple Store, contact:

salestax@apple.com





diff STDOUT or other output streams

3 04 2014

The ‘diff’ shell command is useful for comparing text files, but also great for comparing shell outputs with this method:

diff <(ls -alh /or/something) <(ls -alh /or/whatever)

Add any favorite flags and go to town.

diff -y --suppress-common-lines <(ls -alh /or/something) <(ls -alh /or/whatever)

(Note: this may not work for all substitutions.)





Leftover PGP kernel extensions vs. FileVault 2

10 03 2014

A couple of times we’ve had machines that were newly encrypted with FileVault 2 give us the “circle-with-slash” on boot. Booting to verbose mode mentioned some PGP information, which shouldn’t be there. If that happens, boot to the recovery Partition and decrypt via Disk Utility or perform a CoreStorage revert via Terminal. Once you can access the partition again, look for /System/Library/Extensions/PGPwde.kext and /Library/PriviledgedHelperTools/com.pgp.framework.PGPwde and remove them if present. Try FileVault again and you’ll probably have better luck.





New rsync remote host syntax

7 03 2014

Updated rsync syntax. This version accounts for symlinks and does a better job with file permissions, now that the source files are on a network drive:

rsync -v -r -u -l -e ssh --chmod=a+r,Dg+s,ug+w,o-w,+X,Fa-x --exclude-from=/path/to/skip.txt /path/to/mounted/network/drive netid@server.domain.url:/remote/destination

-v = verbose
-r = recursive
-u = update changed files only
-l = copy symlinks as symlinks
-e = specify remote shell (“ssh” in this example)
-chmod = affect file and/or directory permissions

  • a+r = all add read
  • Dg+s = Directories only, group add sticky bit
  • ug+w = owner/group add write
  • o-w = other remove write
  • +X = make a directory or file searchable/executable by everyone if it is already searchable/executable by anyone…
  • Fa-x = …but remove searchable/executable if it’s a file and not a directory

As before, you can also get a “dry run” to list changes (but not actually execute the change) by adding the -n flag:

rsync -v -r -u -l -n -e ssh --chmod=a+r,Dg+s,ug+w,o-w,+X,Fa-x --exclude-from=/path/to/skip.txt /path/to/mounted/network/drive netid@server.domain.url:/remote/destination





OS X Icons

12 04 2013

Looking for pretty OS X icons for use in presentations?

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/








Skip to toolbar