user/alex/software/my-snippets.git
12 years agoScript to sort lines into different files
Alex Dehnert [Thu, 2 Feb 2012 04:33:55 +0000 (23:33 -0500)]
Script to sort lines into different files

13 years agoMake mail-merge slightly more generic
Alex Dehnert [Thu, 28 Apr 2011 05:17:14 +0000 (01:17 -0400)]
Make mail-merge slightly more generic

13 years agopag-screen: report more errors
Alex Dehnert [Thu, 21 Apr 2011 23:33:59 +0000 (19:33 -0400)]
pag-screen: report more errors

13 years agoPrint the LDAP command-line
Alex Dehnert [Mon, 24 Jan 2011 06:28:27 +0000 (01:28 -0500)]
Print the LDAP command-line

Some large fraction of the times I use ldapfinger, I'm using it instead of
reading the ldapsearch man page. Consequently, printing the commandline instead
of requiring me to run "cat $(which ldapfinger)" would be convenient.

13 years agoAdd README with license and ~history
Alex Dehnert [Wed, 6 Oct 2010 21:45:41 +0000 (17:45 -0400)]
Add README with license and ~history

13 years agomake-zcrypt-key: Punt 2>/dev/null
Alex Dehnert [Tue, 20 Jul 2010 02:09:06 +0000 (22:09 -0400)]
make-zcrypt-key: Punt 2>/dev/null

Anders suggests that it isn't necessary and might be a bad idea. I can't
remember why it was ever there, so I'll try punting it...

13 years agoAvoid early termination of the key
Alex Dehnert [Tue, 20 Jul 2010 02:04:28 +0000 (22:04 -0400)]
Avoid early termination of the key

Newlines will end a zcrypt key early, which is bad. So delete them.

Thanks to Anders on -c rye -i ask-zephyr.d.

13 years agoMakefile: similar treatment for arch list
Alex Dehnert [Fri, 25 Jun 2010 08:26:06 +0000 (04:26 -0400)]
Makefile: similar treatment for arch list

13 years agoMakefile: sort list of scripts
Alex Dehnert [Fri, 25 Jun 2010 08:23:35 +0000 (04:23 -0400)]
Makefile: sort list of scripts

13 years agoMakefile: Nicer line breaks in script list
Alex Dehnert [Fri, 25 Jun 2010 08:20:53 +0000 (04:20 -0400)]
Makefile: Nicer line breaks in script list

13 years agoSplit list of scripts onto multiple lines
Alex Dehnert [Fri, 25 Jun 2010 08:16:50 +0000 (04:16 -0400)]
Split list of scripts onto multiple lines

13 years agoAdd pag-screen script
Alex Dehnert [Fri, 28 May 2010 07:34:49 +0000 (03:34 -0400)]
Add pag-screen script

Based on owl-screen (from kchen), this creates a screen in a new PAG
with a new kerberos ticket cache.

13 years agosshroot: better handling of getting keys
Alex Dehnert [Fri, 25 Jun 2010 07:51:16 +0000 (03:51 -0400)]
sshroot: better handling of getting keys

* Rename with-keys to with-agent to better reflect what it does
* Make a new with-keys that does the same thing as with-agent, except
  that it passes $keys to keychain so that those keys are actually
  unlocked
* Divide between using with-keys and with-agent more-or-less
  reasonably

13 years agoBetter sshroot script
Alex Dehnert [Fri, 25 Jun 2010 07:48:12 +0000 (03:48 -0400)]
Better sshroot script

14 years agoAdd get-emails and mail-merge scripts to Makefile
Alex Dehnert [Wed, 21 Apr 2010 16:18:02 +0000 (12:18 -0400)]
Add get-emails and mail-merge scripts to Makefile

14 years agoAdd get-emails and mail-merge scripts
Alex Dehnert [Wed, 21 Apr 2010 16:16:23 +0000 (12:16 -0400)]
Add get-emails and mail-merge scripts

* get-emails: search LDAP by last name, and write out all possible results
  with name and username to a CSV file for further fiddling
* mail-merge: given a CSV file and an email, merge the two

14 years agoAdd (non-functional) rt-merge script
Alex Dehnert [Wed, 21 Apr 2010 16:15:47 +0000 (12:15 -0400)]
Add (non-functional) rt-merge script

14 years agoAdd make-zcrypt-key script
Alex Dehnert [Wed, 21 Apr 2010 16:15:23 +0000 (12:15 -0400)]
Add make-zcrypt-key script

14 years agoAdd sshroot --- krbroot for ssh-agent
Alex Dehnert [Fri, 5 Mar 2010 00:34:55 +0000 (19:34 -0500)]
Add sshroot --- krbroot for ssh-agent

The goal here is to make it easy to have one set
of ssh keys that you use frequently and want to
be able to not expire and stuff, and have one
set that you use for root or otherwise sensitive
access.

This version has a bunch of issue --- prominently,
it doesn't try to unlock keys particularly --- but
does mostly work.

14 years agoAdded nelhage's (?) krbroot
Alex Dehnert [Thu, 4 Mar 2010 22:17:37 +0000 (17:17 -0500)]
Added nelhage's (?) krbroot

14 years agoupdate-officers should be executable
Alex Dehnert [Mon, 8 Feb 2010 05:17:29 +0000 (00:17 -0500)]
update-officers should be executable

14 years agoMore functional card-access script
Alex Dehnert [Mon, 8 Feb 2010 05:16:57 +0000 (00:16 -0500)]
More functional card-access script

14 years agoNew script to ease updating officer lists
Alex Dehnert [Mon, 8 Feb 2010 05:16:42 +0000 (00:16 -0500)]
New script to ease updating officer lists

14 years agoConvert username to lower automatically
Alex Dehnert [Wed, 20 Jan 2010 05:36:03 +0000 (00:36 -0500)]
Convert username to lower automatically

14 years agocheck-host: Also display the ~text for jweiss
Alex Dehnert [Mon, 21 Dec 2009 01:30:49 +0000 (20:30 -0500)]
check-host: Also display the ~text for jweiss

14 years agolist-of-lists-updater: don't try to add the l-o-l
Alex Dehnert [Fri, 18 Dec 2009 17:01:09 +0000 (12:01 -0500)]
list-of-lists-updater: don't try to add the l-o-l

14 years agoAdd check-host to facilitate scripts tickets
Alex Dehnert [Fri, 18 Dec 2009 17:00:45 +0000 (12:00 -0500)]
Add check-host to facilitate scripts tickets

14 years agolist-of-lists-updater: mostly: use egrep and gaus
Alex Dehnert [Fri, 18 Dec 2009 01:20:07 +0000 (20:20 -0500)]
list-of-lists-updater: mostly: use egrep and gaus

14 years agoAdd rt-resolve to Makefile
Alex Dehnert [Wed, 16 Dec 2009 20:18:06 +0000 (15:18 -0500)]
Add rt-resolve to Makefile

14 years agoAdd bores-me
Alex Dehnert [Wed, 16 Dec 2009 20:17:40 +0000 (15:17 -0500)]
Add bores-me

14 years agort-resolve script to mass-resolve tickets
Alex Dehnert [Tue, 1 Dec 2009 22:36:18 +0000 (17:36 -0500)]
rt-resolve script to mass-resolve tickets

14 years agoAdd #! line to card-access
Alex Dehnert [Sat, 28 Nov 2009 00:38:56 +0000 (19:38 -0500)]
Add #! line to card-access

14 years agoAdd rt-set to change status etc on RT tickets
Alex Dehnert [Sat, 28 Nov 2009 00:38:29 +0000 (19:38 -0500)]
Add rt-set to change status etc on RT tickets

14 years agoMakefile for the scripts
Alex Dehnert [Thu, 29 Oct 2009 15:26:58 +0000 (11:26 -0400)]
Makefile for the scripts

14 years agoInitial commit of various scripts
Alex Dehnert [Thu, 29 Oct 2009 15:08:26 +0000 (11:08 -0400)]
Initial commit of various scripts