##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/.git
""" | |
Simple example of building your own context manager. | |
Resources: | |
- http://preshing.com/20110920/the-python-with-statement-by-example/ | |
- https://docs.python.org/3/library/contextlib.html | |
- PEP 343 -- the "with" statement: https://www.python.org/dev/peps/pep-0343/ | |
""" |
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/.git
#!/bin/bash -ex | |
# Paste this into ssh | |
# curl -sL https://gist.github.com/andsens/2913223/raw/bootstrap_homeshick.sh | tar -xzO | /bin/bash -ex | |
# When forking, you can get the URL from the raw (<>) button. | |
### Set some command variables depending on whether we are root or not ### | |
# This assumes you use a debian derivate, replace with yum, pacman etc. | |
aptget='sudo apt-get' | |
chsh='sudo chsh' |
#!/usr/bin/env bash | |
# Path to the bash it configuration | |
export BASH_IT="/home/giggio/.bash_it" | |
# Lock and Load a custom theme file | |
# location /.bash_it/themes/ | |
export BASH_IT_THEME='powerline-multiline' | |
# (Advanced): Change this to the name of your remote repo if you |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |