Skip to content

Instantly share code, notes, and snippets.

View metafeather's full-sized avatar

Liam Clancy metafeather

View GitHub Profile
# Installing Subversion for local use is general an easy install, but allowing remote access to your svn repository over SSH can be problomatic dependent upon your OS and the means taken to install.
# For Darwinports and Fink on OS X the install location has to be added to users $PATHs, but there are extra steps outlined here for use of the svn+ssh means of access:
# http://subversion.tigris.org/faq.html#ssh-svnserve-location
# A much easier alternate is to sym link the svn binaries to a place on the default PATH (used by the SSH login):
# For MacPorts
ln -s /opt/local/bin/sv* /usr/bin/
# Append the above to a Clearsilver generated page URL for a structured view of the template data.
?hdfdump=1
# Sets the bell length to zero for all applications
setterm -blength 0
# According to the manual page for ipconfig, this command appears to be unique to Mac OS X.
# The command will display a bunch of useful info, including:
# - server_identifier (ip): That's your DHCP server's IP address.
# - yiaddr: Your machine's IP address.
# - chaddr: Your machine's MAC address.
# - domain_name_server: Your domain name server(s).
ipconfig getpacket en0
<!-- Use to include properties per OS -->
<property file="${antutil.includes}/${os.name}-${os.arch}.properties" />
#Most useful for providing a consistent uid on machines accessing an NFS mount:
$ sudo find . -xdev -user <old-uid> -print -exec chown <new-uid> {} \;