misskey.io が数時間の障害に見舞われていたため、投稿の再送を行いました。
サーバーによって最適なアプローチは異なります。今回の前提は以下の通りです。
- おひとり様サーバー
- リモートユーザーがほとんど、ローカルユーザーはごくわずか
本稿ではReact Server Componentsに関する基礎的な理解を深める。
| // Copyright 2024 Masaki Hara | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| // | |
| // THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE O |
「NEC特殊文字」として有名な13区は標準化もされていて資料が豊富であるため省略。
字形のソースは http://www.kt.rim.or.jp/~aotaka/pc/character.htm
2バイト半角英数。 JIS X 0201 ラテン文字集合に近いが、形状から考えて別の文字を指している可能性のある符号位置がある。
| UI-OSF-USLP 共同技術資料 日本語EUCの定義と解説 | |
| 日本語 EUC の定義 | |
| const isMZ = true; | |
| const actors: ActorsJson = JSON.parse(await Deno.readTextFile("data/Actors.json")); | |
| const commonEvents: CommonEventsJson = JSON.parse(await Deno.readTextFile("data/CommonEvents.json")); | |
| const enemies: EnemiesJson = JSON.parse(await Deno.readTextFile("data/Enemies.json")); | |
| const systemData: SystemJson = JSON.parse(await Deno.readTextFile("data/System.json")); | |
| const mapInfo: MapInfosJson = JSON.parse(await Deno.readTextFile("data/MapInfos.json")); | |
| const tilesets: TilesetsJson = JSON.parse(await Deno.readTextFile("data/Tilesets.json")); | |
| function modifyPath(path: string): string { | |
| const dot = path.lastIndexOf("."); |
こちらの入門情報を参照してください https://gist.github.com/qnighy/393b132ef431023653b6098a91602830