Skip to content

Instantly share code, notes, and snippets.

View irlndts's full-sized avatar
🚴
never stop exploring

Artem Piskun irlndts

🚴
never stop exploring
View GitHub Profile
git config merge.tool vimdiff
git config merge.conflictstyle diff3
git config mergetool.prompt false
git config --global mergetool.keepBackup false
git mergetool
:diffg RE " get from REMOTE
:diffg BA " get from BASE
:diffg LO " get from LOCAL
// convert wav to mp3
for i in *.wav; do lame -b 320 -h "${i}" "${i%.wav}.mp3"; done
// resize images
sips -Z 1600 *jpg --out=converted/
// set up git repo
git remote set-url origin [email protected]:username/repo.git