ブログ

読んで思い出す。忘れるために書く

PHP

hirak/prestissimo をアンインストールした

PHP

Parallel download を実現してくれる hirak/prestissimo があった Composer の Ver.1系では必要だったが、同機能が Ver.2系で動作するように なった including downloading files in parallel using curl and constraint evaluation optimizations Link Comp…

Q. なんで php composer って遅いの? (参考リンク)

A. 「そういう実装になってないから」 Because composer implements by file_get_contents(). That has no TCP optimizations, no Keep-Alive, no multiplexing... https://stackoverflow.com/a/38102206 並列インストールプラグイン hirak/prestissimo の導…

Google Apps Script で外部から取得したJSON データをGoogle Sheets に書き込む

Google Apps Script(GAS) を使ったみたのと、外部から何か値を取得してみた まとめ 説明しないこと 書いたコード Links まとめ JSON を返却してくれるサーバに問い合わせる場合は「UrlFetchApp + JSON.parse()」を使うとしあわせになれるかもしれない GAS で…