This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDmzkormnbSjGW1BiGgIgPF148sTj42icafJFzxikhtYkjQs6eyqa/UlVVR+1CBv1Cacl3ihaBgn0Vc8zToauSuW1aa0XTW3FrK+zgfzRYAs5JZ9gYzeFEvydYzr3bEqaxkh5Y7HMBGB6mz9V/lnXAQKGGs6pJq2gc2qfwn+qe0bkj/U00wGOAtpJsLeYNRzUE/SRSWQ4XcUwnImBP6atLImDiyGCSezc+1BtZKrMDHAGs5I8QauwRI9fi+AnUbGg26A7ovKVcVyv7+Ftnwt9lXyZJJweUG/AZKuxFA8hRS/MZVjYP0Kf4vNFhKpWZN+j0ZwBWPNQJ5UacisnV/7TLl7zSPsDZ3iNb1/pg7VDix4bPGHLwtWNFkP0b4Vl0FWCauBSJYb3q6dVnCbBPSKQT6Itgp1h+APM/XoTB3K+vuFHNZt707VvzCypf+sbYGDAkYLm3YFz+EI8DtqpDbFaGOpLYInTEilpfoz9AQ1LkUnHwE+Ub1nGtex/WWWKoTC11s8fOx9IY9xY9KXer2WNNlq+WQaReewfH/MkPMeTuFMTeLOA4n3sPaddOrQGwXKQ1/lXgOtomrO+kMtK/wXpT6TOW0OrSNNJYyXi4AcvmKTu7y2HPkwgX1xm++TBD6XIX5SK1QcxorluJEkhZJdokwmVezCzLW1wOiSx1hYcZ1jQ== [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netstat -a -n -o | |
netsh http show servicestate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git format-patch -1 | |
git apply --verbose .\001.patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rebase -i HEAD~2 | |
-> pick to edit :wq save it | |
git commit --amend --author="Thiago Fonseca Meneses <thiago@email>" | |
git rebase --continue | |
git push --force | |
# git to a new repo | |
cd | |
git checkout -b XXXX-branch | |
git remote add gitlab [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t ed25519 -C "<email>" | |
eval "$(ssh-agent -s)" | |
cat /home/thiago/.ssh/id_ed25519.pub | |
ssh -T [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1# | |
mkdir my-git-project | |
cd my-git-project | |
git init | |
git commit --allow-empty -m"Initialize repo to showcase gitlab-runner locally." | |
#2 | |
Example .gitlab-ci.yml | |
image: alpine | |
test: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wsl –shutdown | |
cd C:\Users\thiago\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState | |
diskpart | |
select vdisk file="C:\Users\thiago\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\ext4.vhdx" | |
compact vdisk | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote --v | |
git remote rename origin old-origin | |
git remote add origin NEW.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df -h | |
umount /dev/mapper/cs_compute2-home | |
lsof /home | |
fuser -mv /home | |
kill 3009 3011 3080 3082 | |
fuser -mv /home | |
cd ~ | |
pwd | |
fuser -mv /home | |
umount /dev/mapper/cs_compute2-home |
NewerOlder