Clear DNS lookup / IP address cache on OS X Tiger
lookupd -flushcache
2766 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
lookupd -flushcache
lookupd -configuration
LookupOrder: Cache FF DNS NI DS _config_name: Host Configuration
hdiutil burn image.iso
defaults write com.apple.iTunes invertStoreLinks -bool YES
send host-name "dapperbox";
sudo /etc/services/networking restart
ssh username@dapperbox
ssh username@1.2.3.4
sudo pmset -a disksleep 0 sleep 0
install darwinports package Add 'export PATH=/opt/local/bin:$PATH' to ~/.bashrc sudo port -d selfupdate sudo port install ruby sudo port install rb-rubygems sudo gem install rails --include-dependencies sudo port install readline sudo port install lighttpd vi /opt/local/etc/lighttpd.conf [edit lighttpd.conf to your liking] set up launchd item for lighttpd -- restart lighttpd: sudo launchctl stop net.lighttpd sudo launchctl start net.lighttpd sudo port install fcgi sudo port install rb-fcgi install official OS X MySQL package (not darwinports) sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
$RAILS_APP_DIR/script/runner 'ActiveRecord::Base.connection.delete("DELETE FROM sessions WHERE updated_at < now() - INTERVAL 1 HOUR")'
<?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>us.boygeni.mysql-session-sweeper< /string> <key>LowPriorityIOkey>/> <key>ProgramArgumentskey> /users/defeated/Sites/rails_apps/boygenius/script/runnerstring> 'ActiveRecord::Base.connection.delete("DELETE FROM sessions WHERE updated_at < now() - INTERVAL 1 HOUR")'< /string> array>RunAtLoad< /key> <true/> <key>StartIntervalkey>3600< /integer> dict> </plist>
<input type="search" name="blah" value="Search"/>
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>