This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import argparse | |
def generate_argparser(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('filename', type=str, | |
help="the name of the file to be split") | |
parser.add_argument('criteria', nargs='+', type=str, | |
help='a list of space delinated strings to split the file') | |
parser.add_argument('-b', '--blank', help='Split file on blank lines', action='store_true') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
" Set up python | |
let g:python_host_prog='/usr/bin/python' | |
call plug#begin() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
export _sys | |
_sys=$(uname -s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Fancy prompt | |
# | |
# Source this file in your .bashrc | |
# | |
# Configuration options: | |
# | |
# Set _prompt_config to an array of strings. Each string is in the |