Skip to content

Instantly share code, notes, and snippets.

View abhinavshaw1993's full-sized avatar
🎯
Focusing

Abhinav Shaw abhinavshaw1993

🎯
Focusing
  • Mountain View
View GitHub Profile
[user]
name = [Name]
email = [Email]
[push]
default = matching
[alias]
lsdiff = show --pretty="" --name-only
onelog = log --pretty=oneline
co = checkout
br = branch
@abhinavshaw1993
abhinavshaw1993 / pypi.md
Created February 4, 2019 06:33 — forked from gboeing/pypi.md
How to organize and distribution a package on pypi

To distribute a package on pypi

Directory structure

/project/
    /package/
        __init__.py
        module.py
 setup.py
@abhinavshaw1993
abhinavshaw1993 / sampleREADME.md
Created January 23, 2019 15:14 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@abhinavshaw1993
abhinavshaw1993 / yml_parser.py
Created February 19, 2018 20:04
YAML Parser Pthon.
# Install pyyaml trhough conda or pip first.
import yaml
with open("../resources/config.yml", "r") as ymlfile:
cfg = yaml.load(ymlfile)
# cfg is a nested dictionary