気象庁HP API

https://www.jma.go.jp/bosai/forecast/ エリア一覧 https://www.jma.go.jp/bosai/common/const/area.json https://www.jma.go.jp/bosai/forecast/const/forecast_area.json https://www.jma.go.jp/bosai/forecast/const/en_amedas.json 祝日一覧? https://www.jma.go.jp/bosai/forecast/const/anniversary.json 週間用エリアID一覧? https://www.jma.go.jp/bosai/forecast/const/week_area.json 枝番エリア一覧? https://www.jma.go.jp/bosai/forecast/const/week_area05.json https://www.jma.go.jp/bosai/forecast/const/week_area_name.json 天気予報 日間概況 https://www.jma.go.jp/bosai/forecast/data/overview_forecast/{ID}.json 東京地方ID: 130000 週間概況 https://www.jma.go.jp/bosai/forecast/data/overview_week/{ID}.json 天気予報(3日先まで、7日先まで) https://www.jma.go.jp/bosai/forecast/data/forecast/{ID}.json 日間警報 https://www.jma.go.jp/bosai/warning/data/warning/{ID}.json 定数を調べる: console.log(JSON.stringify(Forecast)) Pythonラッパー https://github.com/aoirint/aoirint_jmapy https://pypi.org/project/aoirint-jmapy/ 整形例 https://gist.github.com/aoirint/52c778ea00a9b1d080299eea2ced67b3

2022年5月22日 · aoirint

Akashic Engine

$ node -v v14.18.3 https://www.npmjs.com/package/@akashic/akashic-cli npm install -g @akashic/[email protected] https://akashic-games.github.io/guide/akashic-cli.html#init akashic init --type typescript width: 1280 height: 720 fps: 30 git init git commit -m "Initial Commit" --allow-empty git add . git commit -m "first" npm install npm start open http://localhost:3000/game/

2022年5月21日 · aoirint

GitHub Actions Tips

mainブランチにpushされたときに実行 on: push: branches: - main Releaseが作成されたときに実行 on: release: types: - created 三項演算子的なやつ ${{ env.VARIABLE }}の形式 ${{ condition && 'true_value' || 'false_value' }} ${{ github.event.release.tag_name != '' && github.event.release.tag_name || 'latest' }} 注意: true_valueがboolean的にfalseと解釈される値(空文字列)であってはならない。その場合、true_valueとfalse_valueを交換してconditionを反転させる。 文字列が空文字列の場合は空文字列、そうでなければ加工した文字列を変数に格納する、という方法で文字列を少しずつ加工していくと複雑な文字列が作りやすい 文字列の結合 フォーマット関数を使う :区切りで結合: ${{ format('{0}:{1}', env.VARIABLE_A, env.VARIABLE_B) }} 便利なAction 大抵の場合、READMEに用例が載っているのでコピペして使う 新しい機能、細かい機能、細かい挙動は載っていなかったりする。そのときはコードを読む Dockerイメージのビルド・プッシュ: https://github.com/docker/build-push-action Docker Hubにpushする場合、アカウントを作成し、アクセストークンを取得しておく(無料プランでは1つしか作成できないので注意) https://hub.docker.com/settings/security GitHub Pagesの公開: https://github.com/peaceiris/actions-gh-pages 同一リポジトリにpushする場合、トークンなどを特別に設定する必要はない(何もしなくても、自動でgithub_tokenという変数にトークンが格納されている) 別リポジトリにpushする場合、Personal Access Tokenはリポジトリのスコープを切れないので、SSH鍵を生成してDeploy keysに登録するのがおすすめ

2022年5月21日 · aoirint

Minecraft for Windows 10のワールドデータをDedicated Serverに移行する

※ 実験的なメモです。内容の保証はありません %LocalAppData%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds から、移行したいワールドのディレクトリをDedicated Serverのworldsディレクトリに移動する https://gaming.stackexchange.com/questions/330407/where-does-minecraft-for-windows-10-store-its-data ワールドのディレクトリ名をBedrock levelに変更する 接続認可リスト、権限リスト permissions.json 権限を設定したいユーザのxuidを記述する [{"permission": "operator", "xuid": "..."}] permissions.json 権限を設定したいユーザのゲーマータグを記述する。初回接続時にxuidが取得され自動追記される [{"ignoresPlayerLimit":false,"name":"GAMERTAG","xuid":"..."}] サーバを起動する

2022年5月19日 · aoirint

Minecraft for Windowsがフルスクリーンのとき、他のウインドウを触るとサーバーから切断してしまう問題

https://bugs.mojang.com/browse/MCPE-19393 MSのデバッグツールを使うとワークアラウンドとして防げるらしい Windows SDK(Windows Kits)をインストール済みの場合、 TBW

2022年5月15日 · aoirint

Minecraft for Windows 10の実行可能ファイルの場所

https://www.reddit.com/r/Steam/comments/a1j5m7/add_microsoft_store_apps_to_steam_tutorial/ なんかうまく起動できない(起動はするけど同時に起動できませんでしたエラーが出る) C:\Program Files\WindowsApps\Microsoft.MinecraftUWP_1.18.3104.0_x64__8wekyb3d8bbwe\Minecraft.Windows.exe Steamランチャーに登録するときなどに https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-find-the-minecraft-windows-10-edition/3ddbedf5-9606-4d52-b0f9-01edc949d10d タスクマネージャのプロセス一覧から右クリック、プロパティで実行ファイルのプロパティ(パス)を確認できる

2022年5月15日 · aoirint

Twitterヘッダ 2022

ヒノアラシのぬいぐるみ Dockerfile 適当に書いたやつ(Pythonビルドベース) 空閑旭姫フィギュア https://www.revolve.co.jp/works/1700/ 殺戮の天使6周年アクリルスタンド https://twitter.com/strk_tenshi/status/1438095403191357440 A.I.VOICE1周年琴葉茜アクリルスタンド https://twitter.com/AIVOICE_PR/status/1502245480641617926 ついなちゃん公式 ついなちゃん制服アクリルスタンド① https://twitter.com/Tuina_chan_PJ/status/1507274339334631428 SynthVついなちゃんアクリルスタンド、待ってるぜ… ヒメミコアクリルスタンド https://twitter.com/mi_nsh/status/1504890568132149248 東北ずん子 糸the肉 https://twitter.com/shiconshu/status/1506947010595029000

2022年5月10日 · aoirint

Twitterヘッダ 2021

ヒノアラシのぬいぐるみ TweetDeckを表示した14インチモバイルモニター

2022年5月10日 · aoirint

A.I.VOICE ボイスコネクト2 グッズ再販

https://twitter.com/AIVOICE_PR/status/1523878991039713281 https://aivoice.thebase.in/ (「A.I.VOICE」 Official shop より) Seiren Voice新イラスト布ポスターはないかー(企業ブース後回しにして買えなかった民) Seiren Voice発売後に売れ行きよければ再販こないかなー https://twitter.com/AIVOICE_PR/status/1523878991039713281 いま気づいたけど、もしかしてアクリルスタンドの台、挿すところが1周年の1を模している…?

2022年5月10日 · aoirint

Monster Hunter Rise (Switch)

https://twitter.com/aoirint/status/1509969573394935809 https://twitter.com/aoirint/status/1523623331609858049 https://twitter.com/aoirint/status/1523623634161770496 https://twitter.com/aoirint/status/1523623893214597120 https://twitter.com/aoirint/status/1523624138019319808

2022年5月10日 · aoirint