Skip to content

Instantly share code, notes, and snippets.

View aguilarcarlos's full-sized avatar
👋

David Aguilar aguilarcarlos

👋
View GitHub Profile
@aguilarcarlos
aguilarcarlos / LC_CTYPE.txt
Created November 12, 2021 21:41 — forked from thanksdanny/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@aguilarcarlos
aguilarcarlos / clean_branches.sh
Created November 12, 2021 21:41
clean_branches
clean_branches() {
git remote prune origin
git branch -vv | grep "origin/.*: gone]" | awk '{print $1}' | xargs git branch -D
}