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
USER=$(git config --get github.user) | |
# takes in new repo's name as argument | |
# ex// $ git-create tufts-hackathon | |
function git-create () { | |
git init | |
touch README.md | |
curl -u "${USER}" https://api.github.com/user/repos -d '{"name":"'${1}'"}' > /dev/null | |
git remote add origin [email protected]:${USER}/${1}.git |
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 | |
# virtualenv-auto-activate.sh | |
# | |
# Installation: | |
# Add this line to your .bashrc or .bash-profile: | |
# | |
# source /path/to/virtualenv-auto-activate.sh | |
# | |
# Go to your project folder, run "virtualenv .venv", so your project folder | |
# has a .venv folder at the top level, next to your version control directory. |
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
let $NVIM_TUI_ENABLE_TRUE_COLOR=1 | |
" Autoreload vimrc | |
autocmd! bufwritepost .vimrc source % | |
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif | |
let mapleader = "," | |
noremap ; : | |
call plug#begin('~/.vim/plugged') |