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
# To uninstall it open a powershell as administrator and uninstall it with the following command: | |
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage | |
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 | |
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0 | |
# This disables the game recorder software which seems to still think that the gaming overlay is still present. | |
# Source: https://www.reddit.com/r/WindowsHelp/comments/108ngxr/properly_uninstalling_xbox_gamebar_and_resolve/ |
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
# Profile 1 is the name of my connection | |
alias lan_reconnect="nmcli connection up id 'Profile 1'" |
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
To completely remove **Lens** (Kubernetes IDE) from **Manjaro**, follow these steps: | |
1. **Uninstall Lens:** | |
If you installed Lens via a package manager like `yay` or `pamac`, you can remove it using the following commands: | |
- For `pamac`: | |
```bash | |
sudo pamac remove lens-bin | |
``` |
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
code() { | |
/usr/bin/code $1 --disable-accelerated-video-decode --disable-gpu | |
} |
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
find ~/.cache/pypoetry -name '*.lock' -type f -delete | |
poetry env remove --all | |
poetry cache clear --all . | |
rm -rf $(poetry config cache-dir)/artifacts | |
poetry config keyring.enabled false | |
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
chmod 400 /path_to_key/key.pem | |
ssh-keygen -y -f /path_to_key/key.pem |
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
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* |
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
sudo ufw default deny outgoing | |
sudo ufw allow out to any port 80 # http | |
sudo ufw allow out to any port 443 # https | |
sudo ufw allow out to any port 53 # dns | |
sudo ufw reload | |
sudo ufw status verbose | |
sudo ufw allow out to 20.201.28.151 port 22 proto tcp comment 'Allow SSH' # github |
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
* */6 * * * rm -rf /var/log/clamav/freshclam.log && freshclam >/dev/null 2>&1 | |
* */6 * * * clamscan -r -i / | grep FOUND >> /home/danilogco/virus-scan-reports/virus-scan-report-`date +"%d-%m-%Y"`.txt >/dev/null 2>&1 | |
# create the folder virus-scan-reports in your home |
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
nordvpn set technology openvpn | |
nordvpn set protocol tcp | |
nordvpn set threatprotectionlite on | |
nordvpn set killswitch on | |
nordvpn set lan-discovery enable | |
nordvpn set dns off | |
nordvpn connect us10460 | |
nordvpn set autoconnect on us10460 |