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
| python3 -m pip uninstall -y "$(python3 setup.py --name)" |
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
| python3 -m pip install -r requirements.txt | |
| python3 -m pip install --break-system-packages -r requirements.txt | |
| python3 -m pip --isolated install -r requirements.txt |
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 ls-files '*.py' | xargs pylint |
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
| webpack --config config.js --mode=none |
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
| docker run --env-file /root/docker-compose/gistmanager.com-django-server/.env -v /var/log/gistmanager.com:/var/log/gistmanager.com -v /root/logging.conf:/code/logging.conf -it --entrypoint sh localhost:5000/gistmanager.com-django-server |
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
| # /var/lib/docker/containers/<container-id>/<container-id>-json.log | |
| docker logs $(docker inspect -f '{{.Id}}' NAME) |
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
| open -R ~/Library/Safari | |
| find ~/Library/Safari ! -name Bookmarks.plist -exec rm -fr {} \; # Terminal disk full access required | |
| killall Safari |
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 apt update | |
| sudo apt install wireguard | |
| sudo apt install ufw | |
| sudo ufw allow 51820/udp | |
| sudo ufw enable | |
| # /etc/wireguard/wg0.conf | |
| # echo "net.ipv4.ip_forward=1" | sudo tee -a /etc/sysctl.conf | |
| sudo sysctl -p |
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
| curl --unix-socket /var/run/docker.sock http://localhost/containers/json | jq | |
| curl --unix-socket /var/run/docker.sock http://localhost/containers/{CONTAINER_ID}/json | jq |
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
| defaults write com.apple.iCal "Display Birthdays calendar" -bool false | |
| defaults write com.apple.iCal NotificationCenterNotificationSound -string "" |