-shellstuff
+FILE INDEX
==========
-
-My shell stuff (config etc)
+* authorized_keys = ~/.ssh/authorized_keys
+* bashrc = ~/.bashrc
+* gitconfig = ~/.gitconfig
+* gitignore_global = ~/.gitignore_global
+* paste2 = /usr/local/bin/paste2 *or* ~/bin/paste2
+* screenrc = ~/.screenrc
--- /dev/null
+ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIBtqiB8Q1k0/0fDVonvZNk3kT9lMqRT0vVWoq7yWfZ1gw8A5z6NQNeDpjBlpcgSCxvt4hAc3whvZAE4aHvKiDQfqfbVKJOLYOi/0Ud/TVxIUoOnKc8554DFIQk7k4Phkb7FaAqd+1S15I8CrdG0AL/WuDw9iHpnb4A8gsUgZZ/8yw== windows@gx270
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC8wWciC2/YJvC1ZRo9miEABmqsNazDc4oz6G4KOv8EIfGVkqFuDTjBGVjwZpjT67Sy943jzSzEKaTpJDMZ62BP2iIXwL9oj0MPH+/RXvKPAGKilPTGvcfS+4ZwElGqlw6mbNWb3LhMKfhlXOPR3vs3UCkxQnDoYJxL5CG9JsJDFw== Kyocera
--- /dev/null
+[ -z "$PS1" ] && return
+shopt -s checkwinsize
+
+#PS1='\[\033]0;\u@\h\007\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
+
+umask 0027
+
+eval "$(dircolors -b)"
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+
+alias screen='screen -U'
+
+export PATH="$HOME/bin:$PATH"
+
+# For system-specific config (i.e. readmail alias on mailserver)
+if [ -f $HOME/.bashrc_local ]; then
+ source $HOME/.bashrc_local
+fi
--- /dev/null
+[core]
+ excludesfile = /home/jrunyon/.gitignore_global
+[user]
+ name = John Runyon
+ email = jayru@users.noreply.github.com
+[color]
+ ui = true
--- /dev/null
+# Backup files
+*~
+*.bak
--- /dev/null
+#!/usr/bin/perl
+
+# Usage:
+# (sh) paste2 perl Paste2 CLI script <paste2.pl
+# (vim) :w !paste2 perl Paste2 CLI script
+
+use URI::Escape;
+use IO::Socket::INET;
+
+my $lang, $desc;
+
+$lang = (shift or 'text');
+if (@ARGV) {
+ $desc = join ' ', @ARGV;
+} else {
+ $desc = '';
+}
+
+my $code = do {
+ local $/ = undef;
+ <STDIN>;
+};
+
+my @fields = (
+ 'lang='.uri_escape($lang),
+ 'description='.uri_escape($desc),
+ 'code='.uri_escape($code),
+ 'parent=0',
+);
+my $cont = join('&', @fields)."\r\n";
+my $len = length($cont);
+
+my $s = IO::Socket::INET->new('paste2.org:80');
+my $out = "";
+$out .= "POST /new-paste HTTP/1.1\r\n";
+$out .= "Host: paste2.org\r\n";
+$out .= "User-Agent: Paster/1.0\r\n";
+$out .= "Content-Type: application/x-www-form-urlencoded\r\n";
+$out .= "Content-Length: $len\r\n";
+$out .= "Connection: Close\r\n";
+$out .= "\r\n";
+$out .= $cont;
+$out .= "\r\n";
+
+print $s $out;
+while (<$s>) {
+ if (s/^Location: //) {
+ print "http://paste2.org".$_;
+ last;
+ }
+}
--- /dev/null
+bell_msg 'Bell in window %n '
+screen bash
+#screen -t irssi1 irssi