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

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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

13 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.

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

13 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

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

13 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