Skip to content

Instantly share code, notes, and snippets.


Pedro Filho pedroapfilho

Block or report user

Report or block pedroapfilho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .bash_profile
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
export PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/" ] && \. "$NVM_DIR/" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
alias python=python3
alias pip=pip3
View launch.json
"version": "0.2.0",
"configurations": [
"name": "Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
"args": ["test", "--runInBand", "--no-cache", "--watchAll=false"],
"cwd": "${workspaceRoot}",
View edit-commits.txt
git filter-branch --env-filter '
CORRECT_NAME="Your Correct Name"
You can’t perform that action at this time.