Skip to content

Instantly share code, notes, and snippets.

View SanMurakami's full-sized avatar
🐱
< ワン!(うさぎ)

村上さん SanMurakami

🐱
< ワン!(うさぎ)
View GitHub Profile
@SanMurakami
SanMurakami / delete-all.sh
Last active November 10, 2024 11:40
指定したサーバーデータをMisskeyから削除するシェルスクリプト
#!/bin/bash
if [ -z "$1" ]; then
echo "Error: No instance specified."
echo "Usage: ./delete-all.sh example.com"
exit 1
fi
read -p $'\e[31mDelete all data for \e[1;31m'"$1"$'\e[31m. Are you sure? (y/n): \e[0m' response
### Keybase proof
I hereby claim:
* I am cookieramen on github.
* I am aureoleark (https://keybase.io/aureoleark) on keybase.
* I have a public key ASCJGe_CmJMMgiyD_8L5NoLBVD07UfWnnMwgBC3beVhPVwo
To claim this, I am signing this object: