Archive

Archive for the ‘Mac’ Category

Mac mail attachments preview

August 2nd, 2010 No comments

explanation from mac support forums : If the document is just a single page; Mail in Mac OS will show you the actual document rather than an icon for the attachment. Other mail applications do not do have this feature so they’ll just show an icon for an attached document regardless of how many pages the attachment has.
turn off :

defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes

trun on :

defaults write com.apple.mail DisableInlineAttachmentViewing -bool false

Create ISO in MacOS

July 7th, 2010 No comments

open terminal ( of course )

# get drive name
$ drutil status
#un mount
$ diskutil unmountDisk /dev/disk1
#make iso
$ dd if=/dev/disk1 of=file.iso bs=2048
#test iso
$ hdid file.iso

kudos to the original post

Missing “sync with google” on mac os 10.5.8 address book

February 4th, 2010 No comments

If you want to sync your address book to google, you can do it directly from your address book.
some Leopard macs will not show this options and the following will fix it.

Open terminal
Copy and paste the following:

echo "\"{ Devices = { red-herring = { 'Family ID' = 10001; }; }; }\"" >>
~/Library/Preferences/com.apple.iPod.plist

quit/start your address book

Clean up your mac caches

February 4th, 2010 No comments

This is an aggressive fix, but one I had to take after numerous ( thousands ) or syslog errors :

2/3/10 6:08:50 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist) Throttling respawn: Will start in 10 seconds
2/3/10 6:08:59 PM [0x0-0x12012].com.adiumX.adiumX[452] (process:452): Json-CRITICAL **: json_node_get_int: assertion `node != NULL' failed
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Bug: launchd_core_logic.c:4103 (23932):13
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) posix_spawn("/Applications/Akamai/loader.pl", ...): No such file or directory
2/3/10 6:09:00 PM com.apple.launchd.peruser.502[407] (com.akamai.client.plist[6584]) Exited with exit code: 1

I followed this process ( found in mac forums ):

WARNING: “rm -rf” IS A DANGEROUS COMMAND, MAKE SURE YOU KNOW WHAT YOU ARE ERASING !!!

boot to single user : (CMD+Option+S) and run the following commands :

fsck -fy
rm -rf /Library/Caches
rm -rf /Users/YOURUSERNAME/Library/Caches
rm -rf /.Spotlight-V100

reboot

MAC – Reset office 2008 serial

December 29th, 2009 No comments

I use a time machine backup to build MAC’s for our employees, saves me time on install and configurations, however our MAC users use office 2008 and require a unique key from our licensed copy. to re enter the office serial I just run the following two commands in terminal :

rm "/Applications/Microsoft Office 2008/Office/OfficePID.plist"
rm "~/Library/Preferences/Microsoft/Office 2008/Microsoft Office 2008 Settings.plist"

and re launch office.