And it is a free upgrade for 8.x users!
The Caching Server in OS X is a little bit of a black box. But, it’s not all that complicated, compared to some things in the IT world. I’d previously written about command line management of the service itself here. When you enable the caching service, the server registers itself as a valid Caching Server.…
I was puzzling out part of this a few days ago. Very good write Up!
I had previously posted about one of my oldest but still frequently used scripts which gathers all tabs from a window into a text list to be pasted in an email or something like that.
I have recently adapted that script to do something new. This new script will gather the tabs in the frontmost Safari window and create a note in the Notes app with all the links (then, presumably, you would want to clean out and close most of the tabs)
Also I learned that the Safari tabs from all your Macs and iOS devices are stored in the `~/Library/SyncedPreferences/com.apple.Safari.plist` and extended the script to read that instead of grabbing them directly from Safari:
To use it is probably easiest to enable the Script menu (in Script Editor > Preferences) and drop the scripts in the `~/Library/Scripts/Applications/Safari` folder.
Several people I follow in Twitter have pointed a quite useful looking tools called ShellCheck. It will scan shell script code for common problems that may lead to errors later, especially quoting.
However, the script is written in Haskell, which brings with it a rat’s tail of dependencies if you want to install it on your own Mac.
Since I did not want to bother with that I wrote a script that will grab the code from the frontmost BBEdit window and paste it into the webpage:
Drop this in your BBEdit Scripts folder and enjoy!
In OS X 10.9 Mavericks Apple added the option to connect a Mac client to Active Directory with a configuration profile. In previous OS versions admins have to script AD connection with the
dsconfigad CLI tool.
Many of the configuration options for this profile are described here. By default the client Mac’s
hostname will be used as the machine record name to connect to AD. However, you can provide a
ClientID key to override the default. There are also placeholders you can provide for this filed as described here. In our setup we use the
ComputerName (as defined in Sharing preference pane or with
scutil --set ComputerName) instead, since the hostname of a given MacBook may change depending on which Thunderbolt ethernet adaptor is used.
The easiest way to create an Active Directory Profile is to use Profile Manager on OS X Server to create one with the settings you want, then download the profile and further edit in a text editor. You can also use this generic Active Directory configuration profile as a starting point.
Great overview on new scripting features in OSX 10.9 Mavericks:
I have used this for few things:
This could come in useful in many situations.