Links
elsewhere
Meta
Archives
- February 2022
- March 2021
- February 2021
- May 2019
- February 2017
- July 2016
- March 2016
- February 2016
- December 2015
- August 2015
- May 2015
- July 2014
- March 2014
- December 2013
- November 2013
- August 2013
- July 2013
- February 2013
- January 2013
- June 2012
- May 2012
- March 2012
- October 2011
- July 2011
- April 2011
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- February 2010
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- March 2009
- February 2009
- December 2008
- October 2008
- September 2008
- August 2008
- July 2008
- May 2008
- April 2008
- November 2007
- June 2007
- May 2007
- April 2007
- March 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- January 2006
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- July 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- September 2003
- July 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002
- February 2002
- January 2002
- December 2001
- November 2001
- October 2001
- September 2001
- August 2001
- July 2001
- June 2001
- May 2001
- April 2001
Legacy
Category Archives: scripts
Hacking Time Machine
It’s “hack some shit up” Friday. Everybody ready? Have a Time Capsule or Mac OS X Server configured to provide network time machine backups? Of course you do! Let’s examine the client / server interaction. The Time Machine preference pane … Continue reading
Posted in development, OS X, OS X Server, scripts
3 Comments
disksleep
The purpose of this script is to add a bit of granularity and intelligence to the energy saver settings in Mac OS X for disk sleep. Problem: I want to let my disks sleep, but I HATE having to wait … Continue reading
Posted in OS X, scripts
Leave a comment
Tiger Server servermgrd library for Python
motivation I finally found a reason to write some Python. Being something of a monitoring and data junkie, I’ve had a fair amount of experience with snmp, data mining scripts, etc. After writing this post to the server list, I … Continue reading
Posted in development, OS X Server, scripts, tutorials
17 Comments
DNS Zone File record generation script
In wrote the following as part of my response to this. #!/usr/bin/perl -w use strict; # Place the first three octets here. my $AddressPrefix = “10.0.1”; # Define the range of numbers, inclusive. my $range = “2 .. 10”; # … Continue reading
Posted in OS X Server, scripts
Leave a comment
Eggdrop TCL using Google’s SOAP API
Link to google-soap I was helping my brother with a script called incith-google used by one of his IRC bots. It acts as a bridge between IRC and google, allowing IRC users to perform queries against google from the comfort … Continue reading
Posted in development, scripts
Leave a comment
Apple airport base station monitor
Download. {1} andre@dude [~] % airport -h Program Options: -h print this help -d output in comma delimited format (base station ID lines are designated by ‘*’) -v verbose mode (stacks up to 3 times) –encode Specify plaintext to retrieve … Continue reading
Posted in OS X, scripts
4 Comments
Installing perl modules locally
Dealing with CPAN has always felt a little weird. Today I found a nice shortcut for getting perl modules installed in a home directory, which is really useful for when you don’t have admin on the box, or if you … Continue reading
Posted in development, OS X, OS X Server, scripts
Leave a comment
Spotlight indexes on read-only media
Here’s a way to let spotlight do a full content index of a read only CD. It can even persist across uses :) #!/bin/sh # pass in the name of the r/o volume, e.g. DiskWarriorCD # this is proof of … Continue reading
adduser script for Mac OS X / Mac OS X Server
http://www.dreness.com/bits/tech/adduser.html (syntax colored) http://www.dreness.com/bits/tech/adduser (raw)
Posted in OS X, OS X Server, scripts
Leave a comment
Automated backups of Open Directory databases
# Automated backups of Open Directory databases (ldap / kerberos / password server) # This needs to run as root and should be mode 700 due to embedded password # Get current date TODAY=`/bin/date +’%m-%d-%y_%H:%M:%S’` # Set destination directory (do … Continue reading
Posted in OS X Server, scripts
Leave a comment