Skip to content

Instantly share code, notes, and snippets.

View gothicx's full-sized avatar

Marco Rodrigues gothicx

View GitHub Profile
@mikehins
mikehins / reset-local-repo
Last active December 28, 2023 02:39
git: sync local repo with remote one
http://stackoverflow.com/questions/6373277/git-sync-local-repo-with-remote-one
This makes your local repo exactly like your remote repo.
Remember to replace origin and master with the remote and branch that you want to synchronize with.
git fetch origin
git reset --hard origin/master
git clean -f -d
#GIT UNDO
@ekreutz
ekreutz / ansible_variable_precedence.md
Last active April 25, 2024 17:43
Ansible variable precedence (order, hierarchy)
@alirobe
alirobe / reclaimWindows10.ps1
Last active April 26, 2024 17:59
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###