Skip to content

Instantly share code, notes, and snippets.

View pedroapfilho's full-sized avatar
🐢
Procrastinating

Pedro Filho pedroapfilho

🐢
Procrastinating
View GitHub Profile
@pedroapfilho
pedroapfilho / script.txt
Last active January 22, 2020 17:16
Copy all tabs from chrome
osascript -e'set text item delimiters to linefeed' -e'tell app "google chrome" to url of tabs of window 1 as text'
@pedroapfilho
pedroapfilho / edit-commits.txt
Created June 11, 2019 21:48
Change author git
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then