Colin Patrick Mccabe [Sat, 28 Jun 2014 20:25:29 +0000]
names_to_numbers.rb: add --glob argument.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 4 Jun 2014 22:17:43 +0000]
add ssh-restore.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Wed, 4 Jun 2014 22:01:46 +0000]
boon: make this script suitable for sourcing
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 28 May 2014 06:06:32 +0000]
vm-common.sh: use full path to sysctl
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 28 May 2014 06:06:01 +0000]
add scala to xy
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 28 Mar 2014 17:55:32 +0000]
add ttd: run a command until it fails.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 20 Nov 2013 18:08:59 +0000]
carat.sh: add -w option, change default behavior
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 12 Nov 2013 18:46:31 +0000]
snarf_mail_imap.rb: add --since and --before
note: go-go-gadget-gmail has replaced most of the uses of this script.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 12 Nov 2013 18:46:00 +0000]
xy: add support for xml, cc
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sun, 27 Oct 2013 04:06:25 +0000]
some fixups to snarf_mail scripts
* rename snarf_mail.rb to snarf_mail_imap.rb
* rename snarf_gmail.rb to snarf_mail_pop.rb
imap script: make --username argument more consistent with other
arguments. Fix syntax error with opts.delete.
pop script: we don't actually need the 'password' gem for this, so don't
include.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sun, 29 Sep 2013 21:52:43 +0000]
add print-code-points.go
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sun, 29 Sep 2013 21:52:20 +0000]
add ts, a tool to print timestamps
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sun, 29 Sep 2013 21:52:01 +0000]
xy: add .proto
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 20 Aug 2013 21:50:55 +0000]
add svn-diff-head^ script
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 20 Aug 2013 21:50:30 +0000]
add git-add-lines.sh, vm-common.sh scripts
Colin Patrick Mccabe [Sun, 4 Aug 2013 05:33:09 +0000]
mp3chop-fixes
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Sun, 14 Jul 2013 04:09:12 +0000]
simple_time.c: fix compile for Solaris
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 26 Jun 2013 08:36:33 +0000]
add dripfeed.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 15 Jun 2013 23:37:09 +0000]
add old browse.py script from Korhal
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 15 Jun 2013 23:36:31 +0000]
mp3splt-audiobook: use -f flag
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 15 Jun 2013 23:36:02 +0000]
names_to_numbers.rb: add --starting-number
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 11 May 2013 23:12:51 +0000]
add mp3chop.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 12 Apr 2013 18:38:19 +0000]
more efficient git-cur-branch.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Mon, 28 Jan 2013 23:37:07 +0000]
ascii-tyrant.sh: handle e2 80 98, use sed with g
handle 0xe2 0x80 0x98, which seems to appear in place of space when
cutting-and-pasting from certain PDFs.
Use sed 's/../.../g' so that all instances of the bad pattern are
replaced.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Mon, 28 Jan 2013 23:16:56 +0000]
Add create_sid_mp3.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Mon, 28 Jan 2013 23:16:07 +0000]
find bash through /usr/bin/env
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 12 Jan 2013 19:38:37 +0000]
simple_time.c: fix set-but-not-used warning
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 11 Jan 2013 05:40:11 +0000]
sidplayall.sh: add quotes in test to avoid syntax err
Add quotes to avoid the annoying syntax error when the string is empty.
This fix is bash-specific, but we're requesting /bin/bash anyway.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 11 Jan 2013 05:36:46 +0000]
Add xg
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 11 Jan 2013 04:35:19 +0000]
iocaine: renice m rather than mplayer
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 11 Jan 2013 04:35:06 +0000]
Add sidplayall.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 28 Sep 2012 23:45:44 +0000]
Add bytor.go
Add bytor.go to convert between Java-style signed int bytes to normal
hex bytes. For example a byte with value -1 in Java-speak has value
0xff in hex.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sun, 23 Sep 2012 22:51:24 +0000]
Add renamer.pl to rename files
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Thu, 23 Aug 2012 17:53:41 +0000]
git-cur-branch: script to print cur branch
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Thu, 23 Aug 2012 17:53:12 +0000]
pdflatex.sh, a script for creating pdfs from tex
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Thu, 23 Aug 2012 17:52:48 +0000]
git-identity.sh: remove diff.noprefix
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Thu, 23 Aug 2012 17:52:34 +0000]
xy: handle .c and .h as well
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Mon, 30 Jul 2012 08:00:27 +0000]
Add move_to_hierarchy.rb
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 20 Jun 2012 00:53:01 +0000]
git-foo: add git ls-files -o
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Wed, 20 Jun 2012 00:52:40 +0000]
vm-common.sh: enable ip forwarding just in case
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Thu, 7 Jun 2012 21:06:50 +0000]
Add vm-common.sh, remove vbridge.sh
Using -net socket is much more convenient than setting up the bridge
and tap interfaces.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 1 Jun 2012 18:14:14 +0000]
add vbridge.sh script
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 5 May 2012 22:22:10 +0000]
audiorip.sh: up quality
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 5 May 2012 20:26:16 +0000]
add git-foo, which lists new and modified files from git
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 5 May 2012 20:24:34 +0000]
Add xy tool for opening Java code
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Sat, 5 May 2012 04:25:37 +0000]
pickrand.py: allow selecting from a set of files
Allow selecting from a set of files specified on the command line,
rather than just all files in the current directory tree.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Fri, 24 Feb 2012 03:36:17 +0000]
iocaine: also renice pulseaudio
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Fri, 24 Feb 2012 03:28:40 +0000]
Add iocaine.sh
A little script to renice / ionice mplayer.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 21 Feb 2012 20:01:55 +0000]
git-identity.sh: set git config diff.noprefix true
For the work identity, set "config diff.noprefix true".
This makes it easier to generate Apache-style diff files.
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 14 Feb 2012 16:12:14 +0000]
git-identity.sh: improve usage
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick Mccabe [Tue, 14 Feb 2012 16:10:28 +0000]
Create git-identity.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
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>
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>
Colin Patrick McCabe [Mon, 5 Dec 2011 23:26:55 +0000]
Add 80x25
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
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>
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>
Colin Patrick McCabe [Sat, 8 Oct 2011 05:13:13 +0000]
Add boon
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
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>
Colin Patrick McCabe [Sun, 14 Aug 2011 06:22:33 +0000]
Makefile: build all
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
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>
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>
Colin Patrick McCabe [Sat, 26 Mar 2011 04:56:45 +0000]
ccc: add .go
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Fri, 25 Mar 2011 22:59:58 +0000]
Add go-test.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Wed, 16 Mar 2011 19:29:01 +0000]
ccc: add .py
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
Colin Patrick McCabe [Mon, 14 Feb 2011 06:38:17 +0000]
Add mp3splt-audiobook
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Mon, 14 Feb 2011 06:37:04 +0000]
Add pickrand.py
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
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>
Colin Patrick McCabe [Mon, 24 Jan 2011 20:33:07 +0000]
Add archive_patch.sh
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Thu, 13 Jan 2011 16:56:39 +0000]
Add gg
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
Colin Patrick McCabe [Mon, 25 Oct 2010 19:46:37 +0000]
Add time_sheet.rb
Colin Patrick McCabe [Wed, 20 Oct 2010 20:35:32 +0000]
Add define-to-enum.rb script
Colin Patrick McCabe [Mon, 18 Oct 2010 18:32:04 +0000]
Add cct, a ctags generation script
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
Colin Patrick McCabe [Mon, 11 Oct 2010 03:55:12 +0000]
names_to_numbers.rb: add "preserve names" option
Colin Patrick McCabe [Mon, 4 Oct 2010 21:50:29 +0000]
comake: return with exit status of make, not sed
Colin Patrick McCabe [Tue, 28 Sep 2010 00:47:20 +0000]
Add make colorizer
Colin Patrick McCabe [Mon, 27 Sep 2010 20:09:00 +0000]
ccc: treat .cc files as C++ files
Colin Patrick McCabe [Sat, 14 Aug 2010 23:10:33 +0000]
Add silly-encoder.rb
Colin Patrick McCabe [Wed, 11 Aug 2010 19:01:45 +0000]
Merge branch 'master' of unix.club.cc.cmu.edu:~/git/pub/cmccabe-bin
Colin Patrick McCabe [Wed, 11 Aug 2010 19:01:20 +0000]
Add head_grep to grep only the first few lines
Colin Patrick McCabe [Wed, 11 Aug 2010 19:00:57 +0000]
Add show_default_sockopts program to do just that.
Also update Makefile.
Colin Patrick McCabe [Wed, 11 Aug 2010 19:00:31 +0000]
simple_time.c: Remove unused variable
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
Colin Patrick McCabe [Wed, 30 Jun 2010 18:43:28 +0000]
Add .rake files to ccc
Colin Patrick McCabe [Mon, 28 Jun 2010 07:03:22 +0000]
Fix snarf_mail.rb fetch-without-del functionality
Colin Patrick McCabe [Tue, 25 May 2010 19:48:47 +0000]
ccc: handle .rb files
Colin Patrick McCabe [Mon, 24 May 2010 23:06:34 +0000]
.gitignore: ignore compiled program output
Colin Patrick McCabe [Mon, 24 May 2010 23:05:41 +0000]
ccc: ignore ./build/, ./deploy/, and .svn files
Colin Patrick McCabe [Mon, 24 May 2010 23:04:07 +0000]
Add vimstart
Colin Patrick McCabe [Thu, 13 May 2010 03:54:49 +0000]
mbr_dump.sh: should check script arguments better
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.
Colin Patrick McCabe [Wed, 5 May 2010 13:34:29 +0000]
snarf_mail: add --delete-after
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.
Colin Patrick McCabe [Mon, 3 May 2010 19:55:31 +0000]
snarf_mail: Fix total count of all messages
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.