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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
# check for argument | |
set +u | |
if [ -z "${1}" ] | |
then | |
echo "Usage: modping.sh %community_link%" |
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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
SESSION_PATH='~/Downloads/' | |
SESSION_APPIMAGE='session-desktop-linux-x86_64-1.10.8.AppImage' | |
IDENTITIES_PATH='~/Downloads/_Session_identities/' | |
IDENTITY='per' | |
LOCKFILE='/tmp/session_per' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body {font-family: Arial, Helvetica, sans-serif;} | |
/* The Modal (background) */ | |
.modal { | |
display: none; /* Hidden by default */ |
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:focal | |
LABEL "author"="mdPlusPlus" | |
LABEL "name"="monerod" | |
LABEL "description"="Dockerfile for monerod (https://www.getmonero.org/)" | |
EXPOSE 18081/tcp | |
VOLUME ["/root/.bitmonero"] |
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:focal | |
LABEL "author"="mdPlusPlus" | |
LABEL "name"="oxend" | |
LABEL "description"="Dockerfile for oxend (https://oxen.io/)" | |
# blockchain syncing | |
EXPOSE 22022/tcp | |
# remote node connection | |
EXPOSE 22023/tcp |
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... |
NewerOlder