2024/12/28 ~ 2025/01/03 のもくもく日記
もくもく 前回までは
2024/12/21 ~ 2024/12/27 のもくもく日記 をご覧ください。
途中経過
その1
Ruby コードレシピ集 を読んで知ったことのメモ。
- Ruby のパターンマッチ、「ピン演算子」で条件を動的生成出来るのが便利そう
- Ruby って集合演算もサポートされている
その2
Google Sheets API を使ってセル書き込みする際、
Null 値はスキップされます
と書いてあったので、もう少し自分の実装を見直してみよっと 💪
その3
Web スクレイピングをSpreadsheet でやる際、関数 IMPORTXML
が活躍するらしい 👀
https://support.google.com/docs/answer/3093342
その4
npm のpackage.json > dependencies って、GitHub URLs もサポートされているようなので、 Google Sheets API でよくやった実装を整備したいかも
……CommonJS で公開すれば良いのか等、色々調べてみるか 💪
https://docs.npmjs.com/cli/v11/configuring-npm/package-json#github-urls
その5
Google 非公式だけど、TypeScript のスタイルガイド用のリポジトリを整備しているのか 👀
試しに npx gts init
を実行してみたら、ESLint やPrettier の初期設定を行ってくれたので便利かも。
今回の進捗
- GitHub
- Nintendo Switch でトレーニングを進めた
- 本を読み進めた
※関連SNS
- https://x.com/shion_engineer/status/1872814106375536768
- https://x.com/shion_engineer/status/1872820972178555088
- https://x.com/shion_engineer/status/1872821582437204084
- https://x.com/shion_engineer/status/1872923249019109714
- https://x.com/shion_engineer/status/1873326938057838647
- https://x.com/shion_engineer/status/1873927228008087801
- https://x.com/shion_engineer/status/1873985293440999798
- https://x.com/shion_engineer/status/1874594221874958427
- https://x.com/shion_engineer/status/1874606046687396346