ひどく、厳しく
awscli 1.16.147
API update
- api-change:
iam
: Update iam command to latest version - api-change:
sns
: Update sns command to latest version
ghqのプルリク
ghq getで落とせる場所を指定したかったけど、ghq getしたあとにmvしたらいいじゃんといわれたのでクローズ。
xargs 引数指定
xargsを第一引数に指定する時。{}
をつかう。
$ echo 192.168.1. | xargs -I{} grep {} *.txt
Make xargs pass as first parameter - Unix & Linux Stack Exchange
scp exclude
exclude的なことはscpではできない。rsyncでがんばる。
rsync -v -r --exclude '*.csv' 同期元 同期先
【 rsync 】コマンド(その1)――ファイルやディレクトリを同期する:Linux基本コマンドTips(82) - @IT
RFC1945 user agentの項目
RFC1945 user agentの項目
RFC1945のところ(長い)に仕様が書いてあるけど、作成したのが1996年なので、当然スマホやらPCやらで明示してこういうふうに書き方を分けろ、みたいなことは書いていない。
User-Agent = "User-Agent" ":" 1*( product | comment )
主目的は情報収集であるので、書き方に細かい指定があるわけでもなさそう。
This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring responses to avoid particular user agent limitations.
Homebrew PrestoのFormulaについて
Homebrew PrestoのFormulaについて
1月に財団が出来て、それに伴いGitHubのOrganization 各種モジュールのダウンロードURL あとバージョニングが変わった。
Homebrew PrestoのFormulaも、ダウンロードURLを変えようとしたら、いろいろ物言いが入った。brew createしてあたらしいプルリクを投げてほしいという話だった。
Presto 307 by martint · Pull Request #38114 · Homebrew/homebrew-core · GitHub
digdag 0.9.36
digdag server –disable-scheduler
など
awscli 1.16.143
formatterあたりの修正。
Athena 制限
- スキャン量に制限はない
- 実行したクエリのデータをダウンロードできるファイルサイズに制限はない
- クエリ実行時間は3時間まで
- 同時実行数には限りがある
- テーブルのパーティションにも限りがある(というかパーティション切り過ぎたら性能劣化する)
- クエリ文字列の長さには限りがある
- 使えるバケット数には限りがある
MySQL集約関数一覧
MySQL集約関数一覧
- JSON操作系は5.7から
- やっぱり
SUM(IF(x = 0, 1, 0))
みたいな書き方 - 日本語ドキュメントは5.6まで
MySQL :: MySQL 8.0 Reference Manual :: 12.20.1 Aggregate (GROUP BY) Function Descriptions