Once upon a time I had to learn to script in bash. I’m still learning, as with most people, but I’m feeling pretty comfortable. I often have people ask me what is the easiest way to learn scripting and I find myself telling people to use the history command. Much of what people need beyond simply looking at their bash history involves variable substitution, loops and regular expressions. Tackled separately this makes a palatable experience. So then what makes object-oriented or interpretive languages such as perl or python so much more difficult? Is it the lack of a bash history? Let’s try and exercise and see about that. Open a…
-
-
Disable SyncServices
Microsoft Entourage’s Sync feature can be a bit problematic for certain environments. And while administrators can disable the feature users seem to often simply turn it back on. But you can turn it back off programatically if you wish to do so. The settings are stored in ~/Library/Preferences/com.microsoft.entourage.syncservices.plist. To read the contents of the com.microsoft.entourage.syncservices domain, use the following command: defaults read com.microsoft.entourage.syncservices This will net you the following results: { “sync calendar” = 1; “sync contacts” = 1; “sync notes” = 1; “sync tasks” = 1; } These are boolean and so changing the 1’s to 0’s will disable syncservices. To do so you would use the following command: defaults write…