GHA で commit させたときのユーザーでよく見るあれ。/user/<id>
API で確認すると
% gh api /user/41898282 | jq
{
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
Manage personal access tokens using API - Azure DevOps | Microsoft Learn の手順を az cli と httpie で書き直しただけ。これを使って Azure Artifacts を操作するサービスアカウントのトークンを定期的に更新とかできる。多分。
https://learn.microsoft.com/en-us/rest/api/azure/devops/tokens/pats?view=azure-devops-rest-7.1
リポジトリに README.md
とか *.md*
とか置いて読めるようにしてるやつを、そのまま静的HTMLにしてみてみるあれこれ。
一番お手軽。Jekyll のプラグインセットといった感じ。gh-pages で公開するなら自分で生成する必要もない。ただ、オワコンになりつつある気もする。
そのままだと details の中に markdown が書けないので、jekyll-commonmark-ghpages を使うようにしておく。
色々パッケージ入れてると、なぜか変数がよく分からない値になってる事がたまにある。そんな時は debug-on-variable-change
や add-variable-watcher
を使うと調べる事ができる。
Info から引用:
https://ayatakesi.github.io/lispref/29.2/elisp-ja.html#Variable-Debugging
Command: debug-on-variable-change variable
この関数はvariableの変更時に常にデバッガが呼び出されるようにアレンジする。
おそらく、明示的に decorator を指定してる場合に、必要な装飾が足りてない。
https://github.com/chewiebug/GCViewer から引用
some support for OpenJDK 9 / 10 unified logging format -Xlog:gc:, the following configurations will work
- -Xlog:gc:file="path-to-file" (uses defaults)
- -Xlog:gc=info:file="path-to-file":tags,uptime,level (minimum configuration needed)
- -Xlog:gc*=trace:file="path-to-file":tags,time,uptime,level (maximum configuration supported, additional tags ok, but ignored; additional decorations will break parsing)
Failed to recognize file format. Failed to recognize file format.
になった。ファイルがわるいのかな。
az rest
を使えばOK。
API の URL は以下のどっちかで探す
こんな感じで使える
#Requires AutoHotkey v2.0 | |
;; manual https://www.autohotkey.com/docs/v2/ | |
;; keylist: https://www.autohotkey.com/docs/v2/KeyList.htm | |
;; window management: https://www.autohotkey.com/docs/v2/howto/ManageWindows.htm | |
;; prefixes | |
;; # Win, ! Alt, ^ Ctrl, + Shift | |
;; & combination | |
;; <, > left, right modifier |