automated network folder mount script for mac

set myip to do shell script “ifconfig | grep ‘broadcast’ | awk ‘{print $6}'”
if myip = “10.168.1.255” then
mount volume “smb://workgroup;username:password@10.168.1.254/path/”
else
display dialog “Not able to connect server” buttons {“ok”} default button “ok”
end if

safari 4 extra tips

$ strings /Applications/Safari.app/Contents/MacOS/Safari | grep DebugSafari4
DebugSafari4TabBarIsOnTop
DebugSafari4IncludeToolbarRedesign
DebugSafari4IncludeFancyURLCompletionList
DebugSafari4IncludeGoogleSuggest
DebugSafari4LoadProgressStyle
DebugSafari4IncludeFlowViewInBookmarksView
DebugSafari4TopSitesZoomToPageAnimationDimsSnapshot
DebugSafari4IncludeTopSites

How to use example
defaults write com.apple.Safari DebugSafari4TabBarIsOnTop -bool NO
defaults delete com.apple.Safari DebugSafari4TabBarIsOnTop
defaults write com.apple.Safari DebugSafari4LoadProgressStyle -bool NO

Dictionary Trainer (Mac OS X)

How to stop Dictionary Trainer on Mac OS X.

1. Open /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer / Trainer.dict

with koetori register words.

2. import file into any user specified dictionary.

3. delete processedMail file on /home/library/Preferences/ com.appple.JapaneseAnalysis / DictionaryTrainer /

4. Restart your mac and Done