Skip to content

Instantly share code, notes, and snippets.

View pbronez's full-sized avatar

Peter Bronez pbronez

View GitHub Profile
@pbronez
pbronez / cli_calc.py
Created May 22, 2016 14:45
A complete Python 3 program with a command-line interface powered by docopt.
# The module docstring starts the file and defines the CLI
"""cli_calc.py
Usage:
cli_calc.py add <x> <y>
cli_calc.py subtract <x> <y>
cli_calc.py multiply <x> <y>
cli_calc.py divide <x> <y> [--integer]
Note:
@pbronez
pbronez / keybase.md
Created March 25, 2014 21:57
Public key proof for keybase.io

Keybase proof

I hereby claim:

  • I am pbronez on github.
  • I am peterbronez (https://keybase.io/peterbronez) on keybase.
  • I have a public key whose fingerprint is EA7F E843 0B63 F89C BF5F DE88 0538 05F4 C5F2 FC60

To claim this, I am signing this object:

@pbronez
pbronez / .condarc
Created January 7, 2014 18:06
A template for Conda configuration file pointing to a user-specific binstar.org channel
# This is a sample .condarc file
# a condarc file should be placed in $HOME/.condarc
channels:
- defaults
- http://conda.binstar.org/<username>