Reverse DNS from command line
dig -x 17.254.3.183
1159 users tagging and storing useful source code snippets
dig -x 17.254.3.183
lookupd -flushcache
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
defaults write com.apple.screencapture type *format*
<?xml version="1.0" encoding="UTF-8"?> DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Labelkey>net.lighttpd< /string> <key>OnDemandkey>/> <key>Programkey> /opt/local/sbin/lighttpdstring> ProgramArguments< /key> <array> <string>/opt/local/sbin/lighttpdstring>-f /opt/local/etc/lighttpd.confstring>-D< /string> array> </dict> plist>
/System/Library/CoreServices/Menu Extras/Eject.menu
sudo gcc_select 3.3
sudo gcc_select 4.0
<?xml version="1.0" encoding="UTF-8"?> DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" " http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Labelkey>com.mysql.Mysql< /string> <key>OnDemandkey>/> <key>ProgramArgumentskey> /usr/local/mysql/bin/mysqld_safestring> </array> <key>ServiceDescriptionkey> Mysql 4.1 Database Server< /string> <key>UserNamekey>mysql< /string> <key>WorkingDirectorykey>/usr/local/mysqlstring> </dict> plist>
LIGHTTPD=-YES-
#!/bin/sh # # /Library/StartupItems/Lighttpd/Lighttpd # # Script to startup lighttpd with OS X booting. # OS X 10.3 Jaguar # modified by kjell olsen # # adapted from the startup mysql # (c) 2003 MySQL AB # Written by Lenz Grimmer# # Suppress the annoying "$1: unbound variable" error when no option # was given if [ -z $1 ] ; then echo "Usage: $0 [start|stop|restart] " exit 1 fi # Source the common setup functions for startup scripts test -r /etc/rc.common || exit 1 . /etc/rc.common # change config and script to match your machine's lighttpd config and lighttpd CONFIG="/etc/lighttpd/lighttpd.conf" SCRIPT="/usr/local/sbin/lighttpd" StartService () { if [ "${LIGHTTPD:=-NO-}" = "-YES-" ] ; then ConsoleMessage "Starting Lighttpd Server" $SCRIPT -f $CONFIG fi } StopService () { ConsoleMessage "Killing Lighttpd Server" kill `cat /var/run/lighttpd.pid` } RestartService () { ConsoleMessage "Restarting Lighttpd server" /Library/StartupItems/Lighttpd/Lighttpd stop /Library/StartupItems/Lighttpd/Lighttpd start } if test -x $SCRIPT ; then RunService "$1" else ConsoleMessage "Could not find lighttpd startup script!" fi
<?xml version="1.0" encoding="UTF-8"?> DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Descriptionkey>Lighttpd 1.13< /string> <key>OrderPreferencekey>None< /string> <key>Provideskey>/string> array> Lighttpd< Uses< /key> <array> <string>Networkstring>Resolver< /string> array> </dict> plist>