From 4e6fa02801257257f36db61e9d06409c7d2707d5 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:05:52 +0900 Subject: [PATCH 01/10] =?UTF-8?q?Create=20Vercel=E3=81=AE=E3=82=84?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=BB=E3=81=86=E3=81=8C=E3=81=84=E3=81=84?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Vercelのやったほうがいい設定.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Vercelのやったほうがいい設定.txt diff --git a/Vercelのやったほうがいい設定.txt b/Vercelのやったほうがいい設定.txt new file mode 100644 index 0000000..8503e7c --- /dev/null +++ b/Vercelのやったほうがいい設定.txt @@ -0,0 +1,2 @@ +1. 「Settings→General→Node.js Version」で「18.x」を選択 +2. 「Settings→Functions→Function Region」で「hnd1」を選択 From a6b885dca2685482e6098e6d1d1f31d63886b177 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:06:31 +0900 Subject: [PATCH 02/10] =?UTF-8?q?Update=20Vercel=E3=81=AE=E3=82=84?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=BB=E3=81=86=E3=81=8C=E3=81=84=E3=81=84?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Vercelのやったほうがいい設定.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vercelのやったほうがいい設定.txt b/Vercelのやったほうがいい設定.txt index 8503e7c..43b56e8 100644 --- a/Vercelのやったほうがいい設定.txt +++ b/Vercelのやったほうがいい設定.txt @@ -1,2 +1,2 @@ -1. 「Settings→General→Node.js Version」で「18.x」を選択 -2. 「Settings→Functions→Function Region」で「hnd1」を選択 +1. 「Settings→General→Node.js Version」で「18.x」を選択←Pythonのサーバーレスが動かないので +2. 「Settings→Functions→Function Region」で「hnd1」を選択←hnd1=東京 From f0124ba60abdca956ec838faef1078e3e1f7f583 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:06:58 +0900 Subject: [PATCH 03/10] =?UTF-8?q?Create=20Docker=E3=82=92=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerをインストール.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Dockerをインストール.txt diff --git a/Dockerをインストール.txt b/Dockerをインストール.txt new file mode 100644 index 0000000..9cc672e --- /dev/null +++ b/Dockerをインストール.txt @@ -0,0 +1,2 @@ +curl -fsSL https://get.docker.com/ -o install-docker.sh +sh install-docker.sh From 7722e09a863cd3fa7e4d341c2728726f7ab19cd4 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:08:15 +0900 Subject: [PATCH 04/10] =?UTF-8?q?Create=20Git=E3=81=AE=E3=83=A6=E3=83=BC?= =?UTF-8?q?=E3=82=B6=E3=83=BC=E8=A8=AD=E5=AE=9A.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gitのユーザー設定.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Gitのユーザー設定.txt diff --git a/Gitのユーザー設定.txt b/Gitのユーザー設定.txt new file mode 100644 index 0000000..e354ba7 --- /dev/null +++ b/Gitのユーザー設定.txt @@ -0,0 +1,3 @@ +git config --global user.name yuuki +git config --global user.email "<>" +git config --global credential.helper store From da8d953d14cdc1a468b1dc3de1e5612d167b34a0 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:08:46 +0900 Subject: [PATCH 05/10] =?UTF-8?q?Create=20=E5=A4=AA=E9=BC=93=E3=82=A6?= =?UTF-8?q?=E3=82=A7=E3=83=96=E3=81=AE=E3=83=87=E3=83=BC=E3=82=BF=E3=83=99?= =?UTF-8?q?=E3=83=BC=E3=82=B9.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 太鼓ウェブのデータベース.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 太鼓ウェブのデータベース.txt diff --git a/太鼓ウェブのデータベース.txt b/太鼓ウェブのデータベース.txt new file mode 100644 index 0000000..f5d96ef --- /dev/null +++ b/太鼓ウェブのデータベース.txt @@ -0,0 +1,20 @@ +エクスポート + +$ 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 " -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 From 05843d37660e5c00f73c97b8d6ed6e4b757a21a3 Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:09:49 +0900 Subject: [PATCH 06/10] =?UTF-8?q?Create=20=E5=A4=96=E9=83=A8=E3=82=B5?= =?UTF-8?q?=E3=83=BC=E3=83=93=E3=82=B9.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 外部サービス.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 外部サービス.txt diff --git a/外部サービス.txt b/外部サービス.txt new file mode 100644 index 0000000..e643dfa --- /dev/null +++ b/外部サービス.txt @@ -0,0 +1,8 @@ +Freenom +Cloudflare +Vultr +MongoDB Atlas +GitHub: https://github.com/yuukiwww +Codeberg: https://codeberg.org/yuukixyz +Gitea: https://gittea.dev/yuuki +Vercel From 28ea31cf7acb985280a7de0ef71ecc249b32295f Mon Sep 17 00:00:00 2001 From: yuukiwww <0xv75b42326631e@au.com> Date: Fri, 14 Jun 2024 03:13:22 +0900 Subject: [PATCH 07/10] =?UTF-8?q?Update=20Cloudflare=E3=81=AE=E3=82=84?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=BB=E3=81=86=E3=81=8C=E3=81=84=E3=81=84?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=EF=BC=92.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cloudflareのやったほうがいい設定2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cloudflareのやったほうがいい設定2.txt b/Cloudflareのやったほうがいい設定2.txt index 923ec94..ddf6587 100644 --- a/Cloudflareのやったほうがいい設定2.txt +++ b/Cloudflareのやったほうがいい設定2.txt @@ -5,6 +5,6 @@ 5. キャッシュルールでAPIをキャッシュしない 6. 構成ルールでAPIを保護する 7. 構成ルールでトップページや操作画面で保護を解除できるようにする -8. 構成ルールでAS15169とAS8075を限定的に許可してインデックスを有効にする +8. 構成ルールでAS15169とAS8075を限定的に許可して検索エンジンのインデックスを有効にする 9. リダイレクトルールは使用しない 10. ページルールは使用しない From 9c2babedcb52d53c767fe9a56860400d9d97b228 Mon Sep 17 00:00:00 2001 From: yuukixyz <0xv75b42326631e@au.com> Date: Wed, 31 Jul 2024 23:52:50 +0000 Subject: [PATCH 08/10] =?UTF-8?q?Mac=E3=83=96=E3=83=A9=E3=82=A6=E3=82=B6?= =?UTF-8?q?=E3=83=AA=E3=82=BB=E3=83=83=E3=83=88.txt=20=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Macブラウザリセット.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Macブラウザリセット.txt diff --git a/Macブラウザリセット.txt b/Macブラウザリセット.txt new file mode 100644 index 0000000..f299190 --- /dev/null +++ b/Macブラウザリセット.txt @@ -0,0 +1,9 @@ +# 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 From 7421b6938392f571a559d2068de065dd1660186d Mon Sep 17 00:00:00 2001 From: yuukixyz <0xv75b42326631e@au.com> Date: Sun, 24 Nov 2024 07:21:30 +0000 Subject: [PATCH 09/10] =?UTF-8?q?Cloudflare=E3=81=AE=E3=82=84=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E3=81=BB=E3=81=86=E3=81=8C=E3=81=84=E3=81=84=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=EF=BC=92.txt=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cloudflareのやったほうがいい設定2.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cloudflareのやったほうがいい設定2.txt b/Cloudflareのやったほうがいい設定2.txt index ddf6587..25af110 100644 --- a/Cloudflareのやったほうがいい設定2.txt +++ b/Cloudflareのやったほうがいい設定2.txt @@ -3,8 +3,8 @@ 3. スマート階層型キャッシュトポロジーを有効にする 4. キャッシュルールで同一ホスト名のすべてをキャッシュする 5. キャッシュルールでAPIをキャッシュしない -6. 構成ルールでAPIを保護する -7. 構成ルールでトップページや操作画面で保護を解除できるようにする +6. 構成ルールで投稿や削除のAPIを保護する +7. 構成ルールでトップページや投稿や削除の操作画面で保護を解除できるようにする 8. 構成ルールでAS15169とAS8075を限定的に許可して検索エンジンのインデックスを有効にする 9. リダイレクトルールは使用しない 10. ページルールは使用しない From 6ffba1e51f1d5fa2e197e2f8303df8b24d217f09 Mon Sep 17 00:00:00 2001 From: yuukixyz <0xv75b42326631e@au.com> Date: Sun, 24 Nov 2024 07:52:30 +0000 Subject: [PATCH 10/10] =?UTF-8?q?Cloudflare=E3=81=AE=E3=82=84=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E3=81=BB=E3=81=86=E3=81=8C=E3=81=84=E3=81=84=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=EF=BC=92.txt=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cloudflareのやったほうがいい設定2.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cloudflareのやったほうがいい設定2.txt b/Cloudflareのやったほうがいい設定2.txt index 25af110..ae5a6dc 100644 --- a/Cloudflareのやったほうがいい設定2.txt +++ b/Cloudflareのやったほうがいい設定2.txt @@ -3,8 +3,8 @@ 3. スマート階層型キャッシュトポロジーを有効にする 4. キャッシュルールで同一ホスト名のすべてをキャッシュする 5. キャッシュルールでAPIをキャッシュしない -6. 構成ルールで投稿や削除のAPIを保護する -7. 構成ルールでトップページや投稿や削除の操作画面で保護を解除できるようにする +6. 構成ルールで(投稿や削除の)APIを保護する +7. 構成ルールでトップページや(投稿や削除の)操作画面で保護を解除できるようにする 8. 構成ルールでAS15169とAS8075を限定的に許可して検索エンジンのインデックスを有効にする 9. リダイレクトルールは使用しない 10. ページルールは使用しない