showmount -e 192.168.1.1/etc/exports line on linux (share /blah with 192.168.1.2)
/blah 192.168.1.2(ro)On the mac the options format is different. As with linux, root_squash to nobody is the default.
/blah -ro 192.168.1.2
showmount -e 192.168.1.1/etc/exports line on linux (share /blah with 192.168.1.2)
/blah 192.168.1.2(ro)On the mac the options format is different. As with linux, root_squash to nobody is the default.
/blah -ro 192.168.1.2
sudo sh setuptools-0.6c11-py2.X.eggand from then on it is the same as for linux
sudo easy_install pip sudo pip install virtualenvCreate a virtualenv instance:
virtualenv ENVand you'll get something like:
Could not call install_name_tool -- you must have Apple's development tools installedSo you need to go off and install XCode, which will probably take a while (4.2 is 1.7 G).
$ virtualenv ENV New python executable in ENV/bin/python Installing setuptools............done. Installing pip...............done. $ source ENV/bin/activate
launchctl listStart:
sudo launchctl load /Library/LaunchDaemons/com.myorg.somejob.plistStop:
sudo launchctl unload /Library/LaunchDaemons/com.myorg.somejob.plist
<dict> <key>Disabled</key> <false/> <key>Label</key> <string>com.myorg.somejob</string> <key>Program</key> <string>/usr/local/sbin/somejob</string> <key>Sockets</key> <dict> <key>Listeners</key> <dict> <key>SockServiceName</key> <string>9999</string> </dict> </dict> <key>inetdCompatibility</key> <dict> <key>Wait</key> <false/> </dict> </dict>
dscl . -mcxread /Computers/local_computerBut they don't get propagated to the relevant plists under managed preferences until a logout or reboot happens. You can check the managed preferences plists like this:
defaults read /Library/Managed\ Preferences/com.apple.loginwindowFortunately on 10.6 and later, you can run mcxrefresh to force this propagation without a reboot:
sudo mcxrefresh -n myusername
exec { 'something':
# This has to be a double quote for the fact to get expanded
command => "/usr/bin/something ${my_custom_fact}",
refreshonly => 'true',
}
"app": {
"launch": {
"web_url": "https://mail.google.com/mail/mu/?mui=ca"
},
"urls": [ "https://mail.google.com/mail/mu/" ]
},
These don't seem to appear anywhere in the UI apart from when you open a new tab (there is no about:apps, see about:about for a full list of what is available). "theme": {
"colors": {
"bookmark_text": [ 105, 96, 87 ],
"frame": [ 92, 82, 73 ],
"ntp_background": [ 235, 234, 211 ],
"ntp_link": [ 105, 96, 87 ],
"ntp_section": [ 158, 163, 139, 1 ],
"ntp_section_link": [ 105, 96, 87 ],
"ntp_section_text": [ 105, 96, 87 ],
"ntp_text": [ 105, 96, 87 ],
"tab_background_text": [ 255, 255, 255 ],
"tab_text": [ 255, 255, 255 ],
"toolbar": [ 158, 163, 139 ]
},
"name": "__MSG_some_name__",Which means you need to go look in the relevant locale file like _locales/en/messages.json to find the actual name, it will look like this (note MSG and underscores stripped):
{
"some_name": {
"message": "My Rad Extension"
}
}
The exception is if it is a theme, the messages.json file will look like:
{"themeName": {"message": "Earthy", "description": "theme name"}}
Except it also has a UTF-8 Byte Order Mark prepended to the start of the file, which is the three bytes 'ef bb bf'. If you're trying to parse it with an external JSON parser, those bytes might cause it to fail.
mount -uw /Then you need the daemon loaded. On snow leopard:
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plistAnd on Lion:
launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist