Compare commits

..

No commits in common. "6ffba1e51f1d5fa2e197e2f8303df8b24d217f09" and "3ec87d2c2530352ecaec12d3bd467182d79910ce" have entirely different histories.

7 changed files with 3 additions and 47 deletions

View file

@ -3,8 +3,8 @@
3. スマート階層型キャッシュトポロジーを有効にする
4. キャッシュルールで同一ホスト名のすべてをキャッシュする
5. キャッシュルールでAPIをキャッシュしない
6. 構成ルールで(投稿や削除の)APIを保護する
7. 構成ルールでトップページや(投稿や削除の)操作画面で保護を解除できるようにする
8. 構成ルールでAS15169とAS8075を限定的に許可して検索エンジンのインデックスを有効にする
6. 構成ルールでAPIを保護する
7. 構成ルールでトップページや操作画面で保護を解除できるようにする
8. 構成ルールでAS15169とAS8075を限定的に許可してインデックスを有効にする
9. リダイレクトルールは使用しない
10. ページルールは使用しない

View file

@ -1,2 +0,0 @@
curl -fsSL https://get.docker.com/ -o install-docker.sh
sh install-docker.sh

View file

@ -1,3 +0,0 @@
git config --global user.name yuuki
git config --global user.email "<>"
git config --global credential.helper store

View file

@ -1,9 +0,0 @@
# Safari
rm -rf ~/Library/Containers/com.apple.Safari
rm -rf ~/Library/Safari
rm -rf ~/Library/Cookies
rm -rf ~/Library/WebKit
# Google Chrome
rm -rf ~/Library/Application\ Support/Google/Chrome
rm -rf ~/Library/Caches/Google/Chrome

View file

@ -1,2 +0,0 @@
1. 「Settings→General→Node.js Version」で「18.x」を選択←Pythonのサーバーレスが動かないので
2. 「Settings→Functions→Function Region」で「hnd1」を選択←hnd1=東京

View file

@ -1,8 +0,0 @@
Freenom
Cloudflare
Vultr
MongoDB Atlas
GitHub: https://github.com/yuukiwww
Codeberg: https://codeberg.org/yuukixyz
Gitea: https://gittea.dev/yuuki
Vercel

View file

@ -1,20 +0,0 @@
エクスポート
$ docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/stdout | sort -n > users.json
$ docker exec -i taiko-mongo mongoexport --db taiko --collection songs --out /dev/stdout | sort -n > songs.json
$ docker exec -i taiko-mongo mongoexport --db taiko --collection scores --out /dev/stdout | sort -n > scores.json
コミット&プッシュ
$ git add *.json
$ git commit --author="BOT <bot@example.com>" -m "$(git diff --name-only --cached | paste -s -d ' ') が更新されました"
$ git push origin main
インポート
$ docker cp users.json taiko-mongo:/a
$ docker exec -i taiko-mongo mongoimport --db taiko --collection users /a
$ docker cp songs.json taiko-mongo:/b
$ docker exec -i taiko-mongo mongoimport --db taiko --collection songs /b
$ docker cp scores.json taiko-mongo:/c
$ docker exec -i taiko-mongo mongoimport --db taiko --collection scores /c