Links
elsewhere
Meta
Archives
- October 2024
- November 2023
- October 2023
- 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
A Better Activity Metric
Using CPU utilization to measure overall CPU activity is like trying to infer how far a car has traveled by looking at the speedometer instead of the odometer. Continue reading
Posted in quiesce, scripts, The More You Know
Leave a comment
Splashguard of Departure
Trivia question: what kind of protection should you wear when calling diff from a Shortcuts.app “Run Shell Script” action? You should affix the Splashguard of Departure, ideally with some +charisma to offset the posix misalignment. This is because “Run Shell … Continue reading
Posted in development, OS X, Pro Tip, scripts
Leave a comment
How to rescue aborted QuickTime Player audio recordings
Know that feeling when you remember you don’t have your keys while you are closing a locked door? It’s the same feeling as when you use QuickTime Player to record some lengthy audio, and you remember you didn’t stop the recording while you are putting the … Continue reading
Posted in media, OS X, Pro Tip, scripts, The More You Know, tutorials
Leave a comment
Traffic micro-management: limit network bandwidth used by an OS X process
Problem: you have some silly uploader app that only knows one speed: maximum. You would love a way to make that app back off so it doesn’t saturate your uplink and badly impact the other things using your network. Previously in … Continue reading
Posted in OS X, scripts, The More You Know, tutorials
3 Comments
irssi auto-op your friends
From the ‘short and sweet’ department, here’s a fast recipe for configuring irssi to automatically op users of your choosing. cd ~/.irssi/scripts curl -O https://scripts.irssi.org/scripts/friends_peder.pl mkdir -p autorun ; cd autorun ; ln -s ../friends_peder.pl If irssi is already running … Continue reading
Posted in bit bucket, scripts
Leave a comment
Chasing your tail, and winning! (or: ramdisk soothes latency bumps)
My 8 drive RAID array is a little weird. Throughput is decent, but latency is kinda bad. This causes World of Warcraft for mac to not be able to keep up when capturing in-game video at high data rates (200+ … Continue reading
Posted in games, media, scripts
Leave a comment
Gnuplot time-series buckets quickie
Let’s say you’ve got a log file of events with time stamps; the nature of the events isn’t relevant, and let’s say the stamps look like this: 14/Mar/2012:17:49:34 14/Mar/2012:17:49:34 14/Mar/2012:17:49:39 14/Mar/2012:17:49:40 14/Mar/2012:17:49:41 14/Mar/2012:17:49:58 14/Mar/2012:17:51:46 14/Mar/2012:17:51:46 14/Mar/2012:17:52:56 14/Mar/2012:17:52:56 14/Mar/2012:17:52:57 14/Mar/2012:17:52:57 14/Mar/2012:17:53:16 … Continue reading
Posted in scripts
Leave a comment
Mailman members only
Recently I had occasion to cook up some glue for a Mailman deployment that wanted a privacy and membership management policy that would not be facilitated by the Mailman mailing list software in its current form. We wanted to host … Continue reading
Posted in development, scripts
Leave a comment
Somniac and a UI scripting quickie
Just about every time I want an AppleScript to wait a second or two during script execution, I instinctively insert a “sleep x” statement, where x is some small number of seconds. Every time, I’m surprised when I test the … Continue reading
Posted in bit bucket, scripts, The More You Know
Leave a comment
Cross-application URL cache searching!
I was out taking a (filesystem) walk, and wandered into /var/folders. Not remembering where / when this came from, I was pleased to find that the hier(7) manpage is aware of this directory, describing it as ‘per-user temporary files and … Continue reading
Posted in OS X, scripts, The More You Know
3 Comments