Certain company blocking a certain hosting provider? No problem, just tunnel the process through a small VPS with wireguard.
Consider server A your blocked server and server B your VPS.
Server A:
#!/bin/bash | |
URL_FIFO=$HOME/Downloads/ff_fifo | |
mkfifo "$URL_FIFO" | |
ffscript=$(mktemp) | |
cat > "$ffscript" << EOF | |
#!/bin/bash | |
echo "Creating profile" |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
My resignation from freenode staff | |
================================== | |
I joined the freenode staff in March 2019 [1]. | |
Before I joined the staff, Freenode Ltd was sold [2] to a person named | |
Andrew Lee as part of a sponsorship deal. The informal terms of that |
<script> | |
let activeEffect | |
class Dep { | |
subscribers = new Set() | |
depend() { | |
if (activeEffect) this.subscribers.add(activeEffect) | |
} | |
notify() { | |
this.subscribers.forEach((sub) => sub()) |
# Run the last command as root | |
sudo !! | |
# Serve current directory tree at http://$HOSTNAME:8000/ | |
python -m SimpleHTTPServer | |
# Save a file you edited in vim without the needed permissions | |
:w !sudo tee % | |
# change to the previous working directory | |
cd - | |
# Runs previous command but replacing | |
^foo^bar |
#!/bin/bash | |
## Assumes ## | |
# Working internet connection | |
# Pre-installation work already done | |
## Instructions ## | |
# After booting into Arch ISO, run: | |
# curl -sL https://git.io/JexlX | /bin/bash | |
# and follow the instructions on the script. |
#!/usr/bin/env sh | |
if test ! -d ./overlay; then | |
read -p "No overlay found here. Want to create one? (y/N)" yn | |
case $yn in | |
[Yy]* ) install -d overlay/upperdir && install -d overlay/workdir && install -d overlay/mnt; break;; | |
* ) exit;; | |
esac | |
fi |