Archive for December, 2009
how to completely remove iWeb 09
delete the following
1) the preference file in Home Folder/Library/Preferences/com.apple.iWeb.plist
2) the domain file in Home Folder/Library/Application Support/iWeb
3) the iWeb.pkg in the System Library/Receipts
4) the iWeb file in User Library/Caches
how to make mulled wine
Ingredients
2 Bottles of Red wine
Three or four small oranges
Brown sugar or Honey
Orange rind
1 lemon
A dozen Cloves or 2 sticks of Cinnamon
Instructions
1) Insert the Cinnamon cloves into each orange
2) Grate the peal from one orange and squeeze collect the juice
3) Grate the peel from the lemon and squeeze the juice in with the orange juice.
4) Add [...]
How to set osx system default to British English
To set system language to British, in Terminal at the prompt, type the line below and hit Enter
defaults write -g NSPreferredSpellServerLanguage “en_GB”
You can also do this from the System Preferences Panel
osx terminal ifconfig command
type ifconfig from the osx Terminal to see information about your network adapters
This is useful for getting your Mac network card’s MAC Address
Type ifconfig | grep inet to return just the ip address of your network apapters
You can disable and enable network adapters by typing
ifconfig en0 down
ifconfig en0 up
osx terminal lsbom command
lsbom can be used to examine the contents of a Mac OS X installer (.pkg)
It will give you a very detailed view of all the files a package intends to install on your Mac.
From the osx terminal just type
lsbom .pkg/Contents/Archive.bom> | more
If your installer came as a disk image then you can copy the .dmg [...]
Completely un-install osx MediaCentral
MediaCentral consists of 3 modules
The MediaCentral main application
The system preferences pane
The MediaCentral Launcher
To uninstall completely please do the following
Move the main application into the trash.
Move the MediaCentral system preference pane located in ~/Library/PreferencePanes into the trash.
Move the “MediaCentral2″ application support directory located in ~Library/Application Support into the trash.
From the terminal enter the command killall “MediaCentral [...]
osx terminal “top” command
The Mac OS X command line interface is offers thousands of useful commands.
top
typing top from the command line will display a list of every process currently running on your Macintosh.
You can probably find a few processes which you didn’t know where there from previously installed software that you no longer need.
how to display php errors from within script
Self-Help Troubleshooting
If you can not find any solutions to a php problem you are having, you can enable the “Show Errors” flag in your php script:
#Don’t display errors
ini_set(‘display_errors’,0);
ini_set(‘display_startup_errors’,0);
Change the 0 value to 1
using osx Time Machine and unsupported NAS storage
Warning about using Time Machine and non-Apple NAS storage…
The disk image used for the backup may become corrupted if it is not unmounted cleanly by the third-party fileserver.
(E.g. anytime the network is interrupted during a backup)
You could end up with journal data not being flushed to the disk image, which may corrupt it.
I’ve read that [...]
ncftp usage
ncftp -R -u username -p password destination host/ip /destination folder/ /source folder/*
Read more