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

gdm error after while…..

ns2 ~ # /usr/bin/gdm

/usr/bin/gdm: error while loading shared libraries: libdirectfb-0.9.so.25: cannot open shared object file: No such file or directory

Revdep-rebuild should find out the problem for you, the most obvious reason whyit might not is if a previous run of revdep-rebuild did not complete and thetemporary files were still present.  Please try running “revdep-rebuild -i” toensure that the temporary files are cleaned out.  If you do this before trying to re-emerge totem-pl-parser, you can test whether it spots, it and then againwhether totem-pl-parser fixes the problem.

If after you’ve got the results the problem hasn’t been fixed, orrevdep-rebuild wasn’t correctly finding the issue, then please feel free to reopen this bug…  5:)

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

— become — on wordpress

— or — become — on wordpress 2.7
to avoid it. change formatting.php in wp-include folder.

line 47 before:
$static_characters = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn–’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—’, ‘ — ‘, ‘—’, ‘xn--‘, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);

line 47 after:
$static_characters = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn–’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘xn--‘, ‘…’, ‘“’, ‘’s’, ‘”’, ‘ ™’), $cockneyreplace);