cmccabe-bin
3 years agoAdd udate to get UTC date
Colin P. Mccabe [Mon, 23 Aug 2021 06:10:06 +0000]
Add udate to get UTC date

3 years agosuperrip.rb: update for latest ruby
Colin P. Mccabe [Mon, 23 Aug 2021 06:09:54 +0000]
superrip.rb: update for latest ruby

3 years agoAdd superrip2
Colin P. Mccabe [Mon, 23 Aug 2021 05:37:36 +0000]
Add superrip2

3 years agoAdd summer.sh
Colin P. Mccabe [Thu, 22 Jul 2021 23:29:20 +0000]
Add summer.sh

3 years agoAdd remove-pdf-password.sh
Colin P. Mccabe [Thu, 22 Jul 2021 23:28:54 +0000]
Add remove-pdf-password.sh

3 years agopickrand.go: use longer random buffer
Colin P. Mccabe [Thu, 22 Jul 2021 23:28:36 +0000]
pickrand.go: use longer random buffer

3 years agoAdd recursive_decompress.go
Colin P. Mccabe [Thu, 22 Jul 2021 23:28:21 +0000]
Add recursive_decompress.go

4 years agopickrand.go: use cryptographic randomness
Colin P. Mccabe [Sat, 9 May 2020 05:33:34 +0000]
pickrand.go: use cryptographic randomness

Use cryptographic randomness to avoid getting the same random file
multiple times in a row due to coarse clock granularity.

5 years agoAdd audible-to-mp3.sh
Colin P. Mccabe [Thu, 21 Nov 2019 22:01:24 +0000]
Add audible-to-mp3.sh

5 years agoenc.sh: add password confirmation
Colin P. Mccabe [Mon, 23 Sep 2019 17:53:58 +0000]
enc.sh: add password confirmation

5 years agoAdd colortest.sh
Colin P. Mccabe [Mon, 22 Jul 2019 18:06:54 +0000]
Add colortest.sh

5 years agoAdd path-fixer to remove duplicate lines from PATH
Colin P. Mccabe [Mon, 22 Jul 2019 18:06:44 +0000]
Add path-fixer to remove duplicate lines from PATH

5 years agotagger.py: use python2 in the shebang line
Colin P. Mccabe [Mon, 22 Jul 2019 18:06:10 +0000]
tagger.py: use python2 in the shebang line

5 years agoSome improvements to random_word
Colin P. Mccabe [Thu, 20 Dec 2018 21:48:09 +0000]
Some improvements to random_word

* Change name from random-word to random_word.
* Make the path to the dictionary configurable.
* Add random_word to the Makefile.

5 years agoAdd the musictube script
Colin P. Mccabe [Thu, 20 Dec 2018 00:12:03 +0000]
Add the musictube script

5 years agoRemove passtool.sh
Colin P. Mccabe [Thu, 20 Dec 2018 00:11:14 +0000]
Remove passtool.sh

Remove passtool.sh since vault should be used instead.

5 years agopasstool improvements
Colin P. Mccabe [Thu, 20 Dec 2018 00:11:02 +0000]
passtool improvements

5 years agoxy: use reverse sort
Colin P. Mccabe [Thu, 20 Dec 2018 00:10:23 +0000]
xy: use reverse sort

This is a bit of a hack, but it fixes an issue where build/ is visited before src/

5 years agoSome improvements to audiobooker
Colin P. Mccabe [Thu, 20 Dec 2018 00:10:09 +0000]
Some improvements to audiobooker

5 years agoAdd audiobooker
Colin P. Mccabe [Wed, 19 Dec 2018 23:01:01 +0000]
Add audiobooker

6 years agoUpdate .gitignore
Colin P. Mccabe [Wed, 21 Nov 2018 21:57:14 +0000]
Update .gitignore

6 years agoAdd pickrand.go
Colin P. Mccabe [Wed, 21 Nov 2018 21:56:42 +0000]
Add pickrand.go

6 years agoxy: include JSON files
Colin P. Mccabe [Mon, 24 Sep 2018 18:25:40 +0000]
xy: include JSON files

6 years agotagger.py: set track title for audiobooks
Colin P. Mccabe [Sat, 22 Sep 2018 01:00:00 +0000]
tagger.py: set track title for audiobooks

Set track title for audiobooks.  Some music players sort on this field.

6 years agomove_to_hierarchy.rb: fix typo
Colin P. Mccabe [Wed, 8 Aug 2018 18:00:29 +0000]
move_to_hierarchy.rb: fix typo

6 years agoAdd cargo.sh
Colin P. Mccabe [Sat, 21 Jul 2018 00:06:10 +0000]
Add cargo.sh

6 years agoAdd passtool.sh
Colin P. Mccabe [Mon, 2 Apr 2018 00:53:37 +0000]
Add passtool.sh

6 years agoAdd networkcanary.sh
Colin P. Mccabe [Fri, 23 Feb 2018 22:18:56 +0000]
Add networkcanary.sh

7 years agoRename mp4-to-mp3 to music-to-mp3.sh
Colin P. Mccabe [Tue, 21 Nov 2017 17:36:50 +0000]
Rename mp4-to-mp3 to music-to-mp3.sh

7 years agoAdd to-audiobook-mp3.sh
Colin P. Mccabe [Tue, 21 Nov 2017 17:35:52 +0000]
Add to-audiobook-mp3.sh

7 years agoenc.sh: add prompt for PASS, if it wasn't supplied
Colin P. Mccabe [Tue, 21 Nov 2017 17:35:05 +0000]
enc.sh: add prompt for PASS, if it wasn't supplied

7 years agodec.sh: add password prompt
Colin P. Mccabe [Fri, 4 Aug 2017 23:31:57 +0000]
dec.sh: add password prompt

7 years agoxy: add .py files
Colin P. Mccabe [Wed, 14 Dec 2016 21:38:27 +0000]
xy: add .py files

7 years agodssh: handle quoted arguments better
Colin P. Mccabe [Fri, 9 Dec 2016 23:51:17 +0000]
dssh: handle quoted arguments better

7 years agodssh: run ssh in the background when it's not being run interactively
Colin P. Mccabe [Tue, 29 Nov 2016 23:16:14 +0000]
dssh: run ssh in the background when it's not being run interactively

7 years agodssh: add the option to set (or not set) a controlling terminal.
Colin P. Mccabe [Tue, 29 Nov 2016 23:12:23 +0000]
dssh: add the option to set (or not set) a controlling terminal.

Basically, we want ssh's behavior, where the command will "just do the
right thing" based on whether it is being run interactively or not.

7 years agodssh: add the ability to execute arbitrary commands
Colin P. Mccabe [Tue, 29 Nov 2016 22:53:29 +0000]
dssh: add the ability to execute arbitrary commands

7 years agoAdd docker-rm-f.sh
Colin P. Mccabe [Tue, 29 Nov 2016 22:18:50 +0000]
Add docker-rm-f.sh

7 years agodssh: add login-by-name
Colin P. Mccabe [Tue, 29 Nov 2016 22:18:35 +0000]
dssh: add login-by-name

7 years agoAdd dssh: get a login for a docker container
Colin P. Mccabe [Tue, 29 Nov 2016 18:01:02 +0000]
Add dssh: get a login for a docker container

8 years agogit-identity.sh: update email addresses
Colin P. Mccabe [Tue, 22 Nov 2016 23:10:20 +0000]
git-identity.sh: update email addresses

8 years agoAdd directory_merge.go
Colin Patrick Mccabe [Sun, 21 Aug 2016 22:17:45 +0000]
Add directory_merge.go

8 years agotagger.py: add -A for audiobook mode option
Colin Patrick Mccabe [Thu, 7 Jul 2016 18:17:24 +0000]
tagger.py: add -A for audiobook mode option

8 years agodec / enc: don't set SALT
Colin Patrick Mccabe [Mon, 11 Apr 2016 03:18:19 +0000]
dec / enc: don't set SALT

8 years agoAdd hdmi-dimmer.sh
Colin Patrick Mccabe [Mon, 11 Apr 2016 03:14:59 +0000]
Add hdmi-dimmer.sh

9 years agomsgpack-translate.go: add program for msgpack translation
Colin Patrick Mccabe [Fri, 26 Jun 2015 01:05:27 +0000]
msgpack-translate.go: add program for msgpack translation

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

9 years agoadd albumize.sh to create albums
Colin Patrick Mccabe [Sat, 28 Mar 2015 17:40:27 +0000]
add albumize.sh to create albums

Signed-off-by: Colin Patrick McCabe <cmccabe@cloudera.com>

9 years agoxy: add .go
Colin Patrick Mccabe [Mon, 23 Mar 2015 06:13:51 +0000]
xy: add .go

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

9 years agogit-identity.sh: add apache identity
Colin Patrick Mccabe [Mon, 23 Mar 2015 06:13:36 +0000]
git-identity.sh: add apache identity

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

9 years agoadd openssl encrypt / decrypt wrappers
Colin Patrick Mccabe [Mon, 23 Mar 2015 06:13:02 +0000]
add openssl encrypt / decrypt wrappers

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

10 years agoadd hexconv.c, a tool for converting hex strings to signed decimals
Colin Patrick Mccabe [Thu, 6 Nov 2014 04:12:48 +0000]
add hexconv.c, a tool for converting hex strings to signed decimals

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

10 years agonames_to_numbers.rb: add --prefix-counter-increment, fix bug in --starting_number
Colin Patrick Mccabe [Mon, 13 Oct 2014 00:33:21 +0000]
names_to_numbers.rb: add --prefix-counter-increment, fix bug in --starting_number

* add --prefix-counter-increment

* fix bug where --starting_number did not take effect when preserving
the names of files.

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

10 years agonames_to_numbers.rb: fix bug in non-glob operation
Colin Patrick Mccabe [Sun, 7 Sep 2014 22:51:56 +0000]
names_to_numbers.rb: fix bug in non-glob operation

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

10 years agoadd mp4-to-mp3.sh
Colin Patrick Mccabe [Sun, 7 Sep 2014 22:29:21 +0000]
add mp4-to-mp3.sh

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

10 years agoaudiorip.sh: add audiobook mode
Colin Patrick Mccabe [Sat, 28 Jun 2014 20:25:47 +0000]
audiorip.sh: add audiobook mode

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

10 years agonames_to_numbers.rb: add --glob argument.
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>

10 years agoadd ssh-restore.sh
Colin Patrick Mccabe [Wed, 4 Jun 2014 22:17:43 +0000]
add ssh-restore.sh

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

10 years agoboon: make this script suitable for sourcing
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>

10 years agovm-common.sh: use full path to sysctl
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>

10 years agoadd scala to xy
Colin Patrick Mccabe [Wed, 28 May 2014 06:06:01 +0000]
add scala to xy

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

10 years agoadd ttd: run a command until it fails.
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>

11 years agocarat.sh: add -w option, change default behavior
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>

11 years agosnarf_mail_imap.rb: add --since and --before
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>

11 years agoxy: add support for xml, cc
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>

11 years agosome fixups to snarf_mail scripts
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>

11 years agoadd print-code-points.go
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>

11 years agoadd ts, a tool to print timestamps
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>

11 years agoxy: add .proto
Colin Patrick Mccabe [Sun, 29 Sep 2013 21:52:01 +0000]
xy: add .proto

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

11 years agoadd svn-diff-head^ script
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>

11 years agoadd git-add-lines.sh, vm-common.sh scripts
Colin Patrick Mccabe [Tue, 20 Aug 2013 21:50:30 +0000]
add git-add-lines.sh, vm-common.sh scripts

11 years agomp3chop-fixes
Colin Patrick Mccabe [Sun, 4 Aug 2013 05:33:09 +0000]
mp3chop-fixes

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

11 years agosimple_time.c: fix compile for Solaris
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>

11 years agoadd dripfeed.sh
Colin Patrick Mccabe [Wed, 26 Jun 2013 08:36:33 +0000]
add dripfeed.sh

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

11 years agoadd old browse.py script from Korhal
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>

11 years agomp3splt-audiobook: use -f flag
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>

11 years agonames_to_numbers.rb: add --starting-number
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>

11 years agoadd mp3chop.sh
Colin Patrick Mccabe [Sat, 11 May 2013 23:12:51 +0000]
add mp3chop.sh

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

11 years agomore efficient git-cur-branch.sh
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>

11 years agoascii-tyrant.sh: handle e2 80 98, use sed with g
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>

11 years agoAdd create_sid_mp3.sh
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>

11 years agofind bash through /usr/bin/env
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>

11 years agosimple_time.c: fix set-but-not-used warning
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>

11 years agosidplayall.sh: add quotes in test to avoid syntax err
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>

11 years agoAdd xg
Colin Patrick Mccabe [Fri, 11 Jan 2013 05:36:46 +0000]
Add xg

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

11 years agoiocaine: renice m rather than mplayer
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>

11 years agoAdd sidplayall.sh
Colin Patrick Mccabe [Fri, 11 Jan 2013 04:35:06 +0000]
Add sidplayall.sh

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

12 years agoAdd bytor.go
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>

12 years agoAdd renamer.pl to rename files
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>

12 years agogit-cur-branch: script to print cur branch
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>

12 years agopdflatex.sh, a script for creating pdfs from tex
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>

12 years agogit-identity.sh: remove diff.noprefix
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>

12 years agoxy: handle .c and .h as well
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>

12 years agoAdd move_to_hierarchy.rb
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>

12 years agogit-foo: add git ls-files -o
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>

12 years agovm-common.sh: enable ip forwarding just in case
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>

12 years agoAdd vm-common.sh, remove vbridge.sh
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>

12 years agoadd vbridge.sh script
Colin Patrick Mccabe [Fri, 1 Jun 2012 18:14:14 +0000]
add vbridge.sh script

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

12 years agoaudiorip.sh: up quality
Colin Patrick Mccabe [Sat, 5 May 2012 22:22:10 +0000]
audiorip.sh: up quality

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

12 years agoadd git-foo, which lists new and modified files from git
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>

12 years agoAdd xy tool for opening Java code
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>