This file contains hidden or 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
# pg_dump | |
pg_dump -h localhost -p 5432 -U postgres -d my_db -x -O -Fc > my_db.dump | |
# pg_restore | |
pg_restore -h localhost -p 5432 -U postgres -d my_db -x -O -c -j 4 my_db.dump |
This file contains hidden or 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
# <- Subject message. Maximum 50 characters. ->| | |
# | |
# <- After two line breaks come the rest of the lines, or the body. ->| | |
# <- The maximum line length for the body is 72 characters. ->| | |
# | |
# For more info on how to write a good commit message, see: | |
# http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html |
This file contains hidden or 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] | |
name = | |
email = | |
github = raymzag | |
[push] | |
default = current | |
[credential] | |
helper = osxkeychain | |
[color] | |
ui = always |
This file contains hidden or 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
# list config | |
git config -l | |
# update git user in current repo | |
git config user.email "[email protected]" | |
git config user.name "Raymond Aung" | |
# create new branch | |
git checkout -b new-branch |
This file contains hidden or 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 | |
set rtp+=~/code/my-projects/.vim | |
" execute pathogen#infect() | |
filetype on | |
syntax on | |
" let mapleader=" " | |
set encoding=utf8 | |
" syntax enable |