Skip to content

Instantly share code, notes, and snippets.

View buithehoa's full-sized avatar
🐢
Moving slowly ...

Bùi Thế Hòa buithehoa

🐢
Moving slowly ...
View GitHub Profile
git difftool --dir-diff --tool=meld
git stash push -u -m "stash_name"
git stash list
git stash apply stash^{/stash_name}
git stash apply stash@{n}
B.new.method(:m).source_location
var x = document.querySelectorAll('button.artdeco-button--secondary'); for (var i=0 ; i<x.length; i++) x[i].click();
git remote set-url --add --push origin git://original/repo.git
git remote set-url --add --push origin git://another/repo.git
npm install electron --save
mysqldump -u <username> -h <host> --password <database> > <file_name>.sql
git log --pretty=oneline | grep 'comment text' | cut -d ' ' -f1 | xargs -n1 git revert --no-edit