cmccabe-bin
12 years agoCreate git-identity.sh
Colin Patrick Mccabe [Tue, 14 Feb 2012 16:10:28 +0000]
Create git-identity.sh

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years agopickrand.py: seed RNG with process ID
Colin Patrick McCabe [Fri, 10 Feb 2012 06:00:27 +0000]
pickrand.py: seed RNG with process ID

Seed the random number generator with the current process ID rather than
with the clock.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years agonames_to_numbers.rb: fix rename same-to-same
Colin Patrick McCabe [Thu, 9 Feb 2012 04:20:19 +0000]
names_to_numbers.rb: fix rename same-to-same

Don't give an error when the source and destination file names happen to
be the same in our rename operation.  (This would occur if some of the
files were already named as we desire.)

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years agotagger.py: loosen mp3 regex a little bit
Colin Patrick McCabe [Mon, 6 Feb 2012 00:52:39 +0000]
tagger.py: loosen mp3 regex a little bit

Allow mp3 names to have any number of digits in their initial number, as
long as it's at least one.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years agoAdd 80x25
Colin Patrick McCabe [Mon, 5 Dec 2011 23:26:55 +0000]
Add 80x25

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years ago.gitignore: add show_default_sockopts
Colin Patrick McCabe [Tue, 8 Nov 2011 19:06:21 +0000]
.gitignore: add show_default_sockopts

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

12 years agoarchive_patch: add -m option
Colin Patrick McCabe [Tue, 8 Nov 2011 19:05:59 +0000]
archive_patch: add -m option

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoccc: add .S files, allow args to cscope
Colin Patrick McCabe [Fri, 21 Oct 2011 23:18:57 +0000]
ccc: add .S files, allow args to cscope

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd boon
Colin Patrick McCabe [Sat, 8 Oct 2011 05:13:13 +0000]
Add boon

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agosnarf_mail.rb: add date to email file name
Colin Patrick McCabe [Tue, 13 Sep 2011 04:42:27 +0000]
snarf_mail.rb: add date to email file name

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agosnarf_mail: add time-based delete strategy
Colin Patrick McCabe [Mon, 12 Sep 2011 05:55:25 +0000]
snarf_mail: add time-based delete strategy

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoMakefile: build all
Colin Patrick McCabe [Sun, 14 Aug 2011 06:22:33 +0000]
Makefile: build all

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoshow_default_sockopts: avoid signed/unsigned warn
Colin Patrick McCabe [Sun, 14 Aug 2011 06:22:17 +0000]
show_default_sockopts: avoid signed/unsigned warn

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd classpath_builder to help with java CLASSPATH
Colin Patrick McCabe [Fri, 29 Jul 2011 16:37:46 +0000]
Add classpath_builder to help with java CLASSPATH

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agopickrand.py: improvements
Colin Patrick McCabe [Sun, 3 Apr 2011 20:55:59 +0000]
pickrand.py: improvements

Don't set followlinks (it doesn't work on old versions of Python).

Add -S argument meaning "also echo to stderr"

Complain about unknown command-line arguments.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoccc: add .go
Colin Patrick McCabe [Sat, 26 Mar 2011 04:56:45 +0000]
ccc: add .go

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd go-test.sh
Colin Patrick McCabe [Fri, 25 Mar 2011 22:59:58 +0000]
Add go-test.sh

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoccc: add .py
Colin Patrick McCabe [Wed, 16 Mar 2011 19:29:01 +0000]
ccc: add .py

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agopickrand.py: fix off-by-one
Colin Patrick McCabe [Thu, 3 Mar 2011 22:46:12 +0000]
pickrand.py: fix off-by-one

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>

13 years agoAdd mp3splt-audiobook
Colin Patrick McCabe [Mon, 14 Feb 2011 06:38:17 +0000]
Add mp3splt-audiobook

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd pickrand.py
Colin Patrick McCabe [Mon, 14 Feb 2011 06:37:04 +0000]
Add pickrand.py

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoarchive_patch.sh: some improvements
Colin Patrick McCabe [Wed, 26 Jan 2011 21:27:10 +0000]
archive_patch.sh: some improvements

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd archive_patch.sh
Colin Patrick McCabe [Mon, 24 Jan 2011 20:33:07 +0000]
Add archive_patch.sh

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

13 years agoAdd gg
Colin Patrick McCabe [Thu, 13 Jan 2011 16:56:39 +0000]
Add gg

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

14 years agoAdd time_sheet.rb
Colin Patrick McCabe [Mon, 25 Oct 2010 19:46:37 +0000]
Add time_sheet.rb

14 years agoAdd define-to-enum.rb script
Colin Patrick McCabe [Wed, 20 Oct 2010 20:35:32 +0000]
Add define-to-enum.rb script

14 years agoAdd cct, a ctags generation script
Colin Patrick McCabe [Mon, 18 Oct 2010 18:32:04 +0000]
Add cct, a ctags generation script

14 years agoMerge branch 'master' of unix.club.cc.cmu.edu:~cmccabe/git/pub/cmccabe-bin
Colin Patrick McCabe [Mon, 11 Oct 2010 03:55:51 +0000]
Merge branch 'master' of unix.club.cc.cmu.edu:~cmccabe/git/pub/cmccabe-bin

14 years agonames_to_numbers.rb: add "preserve names" option
Colin Patrick McCabe [Mon, 11 Oct 2010 03:55:12 +0000]
names_to_numbers.rb: add "preserve names" option

14 years agocomake: return with exit status of make, not sed
Colin Patrick McCabe [Mon, 4 Oct 2010 21:50:29 +0000]
comake: return with exit status of make, not sed

14 years agoAdd make colorizer
Colin Patrick McCabe [Tue, 28 Sep 2010 00:47:20 +0000]
Add make colorizer

14 years agoccc: treat .cc files as C++ files
Colin Patrick McCabe [Mon, 27 Sep 2010 20:09:00 +0000]
ccc: treat .cc files as C++ files

14 years agoAdd silly-encoder.rb
Colin Patrick McCabe [Sat, 14 Aug 2010 23:10:33 +0000]
Add silly-encoder.rb

14 years agoMerge branch 'master' of unix.club.cc.cmu.edu:~/git/pub/cmccabe-bin
Colin Patrick McCabe [Wed, 11 Aug 2010 19:01:45 +0000]
Merge branch 'master' of unix.club.cc.cmu.edu:~/git/pub/cmccabe-bin

14 years agoAdd head_grep to grep only the first few lines
Colin Patrick McCabe [Wed, 11 Aug 2010 19:01:20 +0000]
Add head_grep to grep only the first few lines

14 years agoAdd show_default_sockopts program to do just that.
Colin Patrick McCabe [Wed, 11 Aug 2010 19:00:57 +0000]
Add show_default_sockopts program to do just that.

Also update Makefile.

14 years agosimple_time.c: Remove unused variable
Colin Patrick McCabe [Wed, 11 Aug 2010 19:00:31 +0000]
simple_time.c: Remove unused variable

14 years agoMerge branch 'master' of unix.club.cc.cmu.edu:~cmccabe/git/pub/cmccabe-bin
Colin Patrick McCabe [Sun, 1 Aug 2010 19:18:39 +0000]
Merge branch 'master' of unix.club.cc.cmu.edu:~cmccabe/git/pub/cmccabe-bin

14 years agoAdd .rake files to ccc
Colin Patrick McCabe [Wed, 30 Jun 2010 18:43:28 +0000]
Add .rake files to ccc

14 years agoFix snarf_mail.rb fetch-without-del functionality
Colin Patrick McCabe [Mon, 28 Jun 2010 07:03:22 +0000]
Fix snarf_mail.rb fetch-without-del functionality

14 years agoccc: handle .rb files
Colin Patrick McCabe [Tue, 25 May 2010 19:48:47 +0000]
ccc: handle .rb files

14 years ago.gitignore: ignore compiled program output
Colin Patrick McCabe [Mon, 24 May 2010 23:06:34 +0000]
.gitignore: ignore compiled program output

14 years agoccc: ignore ./build/, ./deploy/, and .svn files
Colin Patrick McCabe [Mon, 24 May 2010 23:05:41 +0000]
ccc: ignore ./build/, ./deploy/, and .svn files

14 years agoAdd vimstart
Colin Patrick McCabe [Mon, 24 May 2010 23:04:07 +0000]
Add vimstart

14 years agombr_dump.sh: should check script arguments better
Colin Patrick McCabe [Thu, 13 May 2010 03:54:49 +0000]
mbr_dump.sh: should check script arguments better

14 years agoAdd names_to_numbers script
Colin Patrick McCabe [Thu, 13 May 2010 03:52:09 +0000]
Add names_to_numbers script

Add names_to_numbers script. I mainly use it for renumbering directories
full of audio book mp3s.

14 years agosnarf_mail: add --delete-after
Colin Patrick McCabe [Wed, 5 May 2010 13:34:29 +0000]
snarf_mail: add --delete-after

14 years agosnarf_mail: get rid of hard tabs
Colin Patrick McCabe [Mon, 3 May 2010 19:55:55 +0000]
snarf_mail: get rid of hard tabs

Normally in ruby code we don't use hard tabs.

14 years agosnarf_mail: Fix total count of all messages
Colin Patrick McCabe [Mon, 3 May 2010 19:55:31 +0000]
snarf_mail: Fix total count of all messages

14 years agoAdd vfat-label script
Colin Patrick McCabe [Sun, 25 Apr 2010 06:54:14 +0000]
Add vfat-label script

This script provides an interface similar to e2label to set the labels
on vfat-formatted disks.

It's basically a pretty thin wrapper around mtools, which mitigates
mtools' awkward syntax.

14 years agosuperrip: add an option to change cd device
Colin Patrick McCabe [Sat, 3 Apr 2010 22:14:17 +0000]
superrip: add an option to change cd device

14 years agosuperrip: check exit status of children
Colin Patrick McCabe [Sat, 3 Apr 2010 20:58:45 +0000]
superrip: check exit status of children

Always check the exit status of children to make sure there were no
errors. Also, when handling an exception in the child, print out what it
is before exiting.

14 years agosuperrip: fix manifest validation
Colin Patrick McCabe [Sat, 3 Apr 2010 20:36:45 +0000]
superrip: fix manifest validation

Fix manifest validation.

Also, fix parsing of cdda2wav output for discs with fewer than 10
tracks.

14 years agosuperrip: limit maximum child processes
Colin Patrick McCabe [Sat, 3 Apr 2010 20:27:22 +0000]
superrip: limit maximum child processes

superrip: limit the maximum number of child processes. Try to do too
many things at once can actually slow the system down because of
caching, etc. Also, do a waitall at the end of the script so that we can
be sure when we're done.

14 years agosuperrip: Fork a new process to do lame and flac
Colin Patrick McCabe [Sat, 3 Apr 2010 20:09:09 +0000]
superrip: Fork a new process to do lame and flac

14 years agosuperrip: Be less verbose in flac and lame programs
Colin Patrick McCabe [Sat, 3 Apr 2010 08:58:02 +0000]
superrip: Be less verbose in flac and lame programs

14 years agosuperrip.rb: Get basic track ripping working
Colin Patrick McCabe [Sat, 3 Apr 2010 08:34:51 +0000]
superrip.rb: Get basic track ripping working

14 years agosuperrip: incremental improvements
Colin Patrick McCabe [Sat, 3 Apr 2010 08:08:24 +0000]
superrip: incremental improvements

Get count_number_of_tracks working.

Add some future TODOs.

Get inspect methods working for Track and Manifest

14 years agoInitial rev of superrip
Colin Patrick McCabe [Sat, 3 Apr 2010 07:47:51 +0000]
Initial rev of superrip

14 years agouse /dev/cdrom for audiorip.sh
Colin Patrick McCabe [Sat, 27 Mar 2010 22:26:04 +0000]
use /dev/cdrom for audiorip.sh

14 years agorandom-word: Seed using gettimeofday
Colin Patrick McCabe [Sat, 13 Mar 2010 15:56:34 +0000]
random-word: Seed using gettimeofday

Seed using gettimeofday(2) rather than time(2).

Seeding with time(2) gave some humorous results because we could get the
same word back multiple times if the program was invoked multiple times
a second.

14 years agorandom-word: write output without newline
Colin Patrick McCabe [Sat, 13 Mar 2010 15:54:40 +0000]
random-word: write output without newline

14 years agoAdd find-random-word script
Colin Patrick McCabe [Sat, 13 Mar 2010 15:53:13 +0000]
Add find-random-word script

14 years agoAdd ascii-tyrant.sh
Colin Patrick McCabe [Mon, 15 Feb 2010 22:19:31 +0000]
Add ascii-tyrant.sh

ascii-tyrant.sh strips non-ascii characters from text files.

14 years agoAdd ccc, a script that wraps cscope
Colin Patrick McCabe [Mon, 15 Feb 2010 22:18:58 +0000]
Add ccc, a script that wraps cscope

"ccc" is a script that runs the cscope program. It builds an index
before launching cscope, similar to how "cscope -R" would work.  Unlike
cscope -R, ccc can handle .java files and others.

14 years agoAdd .gitignore file to ignore intermediate prods
Colin McCabe [Mon, 15 Feb 2010 03:55:00 +0000]
Add .gitignore file to ignore intermediate prods

14 years agoAdd Makefile to build C programs
Colin McCabe [Mon, 15 Feb 2010 03:53:38 +0000]
Add Makefile to build C programs

14 years agoAdd dual_rename.sh to make ripping CDs easier
Colin McCabe [Mon, 15 Feb 2010 03:53:09 +0000]
Add dual_rename.sh to make ripping CDs easier

14 years agosimple_time: include unistd.h for sleep(3)
Colin McCabe [Mon, 15 Feb 2010 03:52:29 +0000]
simple_time: include unistd.h for sleep(3)

14 years agoAdd snarf_mail script to get IMAP mail
Colin McCabe [Thu, 28 Jan 2010 01:02:38 +0000]
Add snarf_mail script to get IMAP mail

14 years agotagger.py: make sure that we have the id3v2 prog
Colin McCabe [Wed, 27 Jan 2010 21:52:14 +0000]
tagger.py: make sure that we have the id3v2 prog

14 years agoClarify license in README
Colin McCabe [Tue, 19 Jan 2010 23:17:53 +0000]
Clarify license in README

The readme now points out the license. Also, the LICENSE file no longer tells
you to consult... itself. :)

14 years agoAdd app for dumping the MBR
Colin McCabe [Tue, 19 Jan 2010 23:15:47 +0000]
Add app for dumping the MBR

Add an app for dumping the MBR. I guess now that everyone is moving to GUID
partition tables (GPTs) this may not be useful forever. Still, I might need it
again.

14 years agoAdd simple_time.c app
Colin McCabe [Tue, 19 Jan 2010 23:15:36 +0000]
Add simple_time.c app

14 years agoAdd snarf_gmail.rb script
Colin McCabe [Thu, 14 Jan 2010 01:15:33 +0000]
Add snarf_gmail.rb script

14 years agomount.qemu: mount raw image read/write
Colin McCabe [Tue, 29 Dec 2009 23:43:07 +0000]
mount.qemu: mount raw image read/write

14 years agoAdd mount.qemu script to mount raw qemu images
Colin McCabe [Mon, 28 Dec 2009 23:18:10 +0000]
Add mount.qemu script to mount raw qemu images

14 years agoInclude string.h in errno_speak.c
Colin McCabe [Tue, 15 Dec 2009 23:49:13 +0000]
Include string.h in errno_speak.c

14 years agoAdd "ser" script for accessing the serial port
Colin McCabe [Tue, 15 Dec 2009 23:43:48 +0000]
Add "ser" script for accessing the serial port

14 years agoAdd audiorip script for ripping audio cds
Colin McCabe [Mon, 14 Dec 2009 01:11:19 +0000]
Add audiorip script for ripping audio cds

14 years agoAdd p4_check.rb script
Colin McCabe [Mon, 14 Dec 2009 00:01:41 +0000]
Add p4_check.rb script

14 years agoAdd tagger.py
Colin McCabe [Sun, 13 Dec 2009 23:49:51 +0000]
Add tagger.py

14 years agoAdd pdfgrep.sh script
Colin McCabe [Sun, 13 Dec 2009 23:35:04 +0000]
Add pdfgrep.sh script

14 years agoAdd carat.sh quoting program
Colin McCabe [Sun, 13 Dec 2009 23:29:04 +0000]
Add carat.sh quoting program

14 years agoAdd lossy_mirror script
Colin McCabe [Sun, 13 Dec 2009 23:28:05 +0000]
Add lossy_mirror script

14 years agoAdd errno-printing program
Colin McCabe [Sun, 13 Dec 2009 23:27:54 +0000]
Add errno-printing program

14 years agoAdd bulk_rename.pl script
Colin McCabe [Sun, 13 Dec 2009 23:23:24 +0000]
Add bulk_rename.pl script

14 years agoAdd quoteline script
Colin McCabe [Sun, 13 Dec 2009 23:18:34 +0000]
Add quoteline script

14 years agoAdd COPYING, LICENSE, README
Colin McCabe [Sun, 13 Dec 2009 23:15:42 +0000]
Add COPYING, LICENSE, README