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
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
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
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
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
<!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
#!/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
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# check for argument | |
set +u | |
if [ -z "${1}" ] | |
then | |
echo "Usage: modping.sh %community_link%" |
OlderNewer