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
| cryptsetup luksFormat \ | |
| --type luks2 \ | |
| --cipher aes-xts-plain64 \ | |
| --key-size 512 \ | |
| --hash sha256 \ | |
| DEVICE [KEYFILE] | |
| cryptsetup luksAddKey \ | |
| --type luks2 \ | |
| [-d EXISTING_KEYFILE] \ |
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
| badblocks -b 4096 -p 0 -s -t 0 -v -w DEVICE [LAST_BLOCK] [FIRST_BLOCK] | |
| -b block_size | |
| -p num_passes | |
| -s Show the progress of the scan | |
| -t test_pattern | |
| -v Verbose mode | |
| -w Use write-mode test |
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
| FROM ubuntu:latest | |
| LABEL \ | |
| maintainer="mdPlusPlus" \ | |
| description="Host your own ZeroTier network controller and manage it via ztncui." | |
| # Avoid tzdata configuration | |
| ARG DEBIAN_FRONTEND=noninteractive | |
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
| # Dependencies: | |
| # apt-get install build-essential libncurses5-dev libncursesw5-dev zlib1g-dev gawk git gettext libssl-dev xsltproc wget unzip python | |
| # Files: | |
| # update.sh wg_mullvad_ip.sh wg-watchdog.sh | |
| # x86_64 | |
| # Snapshot: | |
| # - https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-imagebuilder-x86-64.Linux-x86_64.tar.xz |
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
| diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c | |
| index cc616a5..1a5c04a 100644 | |
| --- a/drivers/pci/quirks.c | |
| +++ b/drivers/pci/quirks.c | |
| @@ -3433,6 +3433,11 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0034, quirk_no_bus_reset); | |
| * accesses to the child may fail. | |
| */ | |
| DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CAVIUM, 0xa100, quirk_no_bus_reset); | |
| +/* | |
| + * Radeon RX Vega devices break on bus reset. Oi... |
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
| ! Add via "https://gist.github.com/mdPlusPlus/35bee203897bed57ced1f1a5e1d2148a/raw" | |
| ! https://web.de | |
| web.de###footer | |
| web.de###loginsearch-ad | |
| web.de###mainnav | |
| web.de###promoline | |
| web.de###rightnav | |
| web.de##.games | |
| web.de##.logout-modules | |
| web.de##.partner-links |
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
| # 1. Put items in brackets on new lines "xxx (abc@gmail.com" -> "xxx \nabc@gmail.com" | |
| # 2. Get only email addresses (contains "@") | |
| # 3. Get rid of placeholders ("*") | |
| # 4. Remove all spaces | |
| # 5. Convert uppercase to lowercase | |
| # 6. Sort and remove duplicates | |
| sanitized_input=$(sed -e 's/(/\n/g' -e 's/)//g' "$1" | grep -F '@' | grep -F -v '*' | sed 's/ //g' | tr '[:upper:]' '[:lower:]' | sort -u) | |
| # Get all Google accounts (without the @domain part) | |
| google_accs=$(echo "${sanitized_input}" | grep -F -i -e '@gmail.com' -e '@googlemail.com' | sed -e 's/@googlemail.com//g' -e 's/@gmail.com//g' | sort -u) |
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
| #FROM alpine:latest | |
| #FROM debian:stable | |
| FROM ubuntu:rolling | |
| MAINTAINER mdPlusPlus | |
| RUN \ | |
| apt -qq update ; \ | |
| apt -qq full-upgrade -y |
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
| #!/bin/bash | |
| function install_dependencies() { | |
| echo "Installing dependencies..." | |
| sudo apt -qq update | |
| sudo apt -qq install -y curl git wget | |
| # sudo apt -qq install -y bison flex kernel-package libelf-dev libssl-dev | |
| sudo apt -qq install -y bison flex libelf-dev libssl-dev | |
| } |
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
| #!/bin/bash | |
| table_file=./table.txt | |
| echo "wait" | |
| echo -n "" > $table_file | |
| wget -q https://github.com/LineageOS/lineage_wiki/archive/master.zip | |
| unzip -q master.zip | |
| rm master.zip |