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
| import asyncio | |
| import aiohttp | |
| from typing import List | |
| # Константы | |
| URLS_TO_FETCH: List[str] = [ | |
| 'http://httpbin.org/get', | |
| 'https://docs.python.org/3/', | |
| 'https://www.python.org/', | |
| 'https://www.google.com/', |
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
| #!/usr/bin/env bash | |
| # Run script: source <(curl -s https://raw-path) | |
| set -e | |
| if [ $UID != 0 ]; then | |
| echo "Root permissions required. Run the script as root user" | |
| exit 1 | |
| fi | |
| for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done |
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
| netsh wlan stop hostednetwork | |
| netsh wlan set hostednetwork mode=disallow ssid="<ssid>" key="<key>" keyUsage=persistent | |
| netsh wlan set hostednetwork mode=allow ssid="<ssid>" key="<key>" keyUsage=persistent | |
| netsh wlan start hostednetwork |