Skip to content

Instantly share code, notes, and snippets.

View muzi502's full-sized avatar
🐳
touch 🐟 ing

Reimu muzi502

🐳
touch 🐟 ing
View GitHub Profile
#!/bin/bash
set -xue
url="https://yande.re/post"
tag=$1
max=$2
ck="SHdqM1cyWGJTQlWI3Z2V0TWk1VTNOMi9ld1pRY2tVUXg4UXNHdUxNYVRHOHhKU0FqUk1RPT0tLTJKUllqUUhHeE5nUWdxRUQyV1piWGc9PQ"
mkdir -p ${tag}
:> ${tag}/${tag}.list
for i in $(seq ${max})
@muzi502
muzi502 / docker-cli.sh
Created August 14, 2021 11:24
docker-cli
# Create a docker context use ssh
╭─reimu@macbook ~
╰─$ docker context create us-oracle-arm --docker "host=ssh://arm3"
us-oracle-arm
Successfully created context "us-oracle-arm"
# Set default context for docker-cli
╭─reimu@macbook ~
╰─$ docker context use us-oracle-arm
us-oracle-arm
╭─reimu@macdock ~
╰─$ ssh 172.20.0.25
Warning: Permanently added '172.20.0.25' (ECDSA) to the list of known hosts.
Linux kube-registry-01 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent