2026-01-01から1ヶ月間の記事一覧

backtick

$() is POSIX and supported by all modern Bourne shells, e.g. ksh, bash, ash, dash, zsh, busybox, you name it. (A not so modern one is Solaris /bin/sh, but on Solaris you would make sure to use the modern /usr/xpg4/bin/sh instead). – Jens C…

smartctl smart データベースの更新

smart データベースの更新 smartデータベースを更新するには、update-smart-drivedb コマンドを実行します。 # update-smart-drivedb /usr/share/smartmontools/drivedb.h updated from branches/RELEASE_7_2_DRIVEDBSSDの寿命を確認する 2025 Device is: No…

vm-bhyve 複数データストア

データストアを追加する vm datastore addコマンドで、vm_dirとは別のVMストレージ置き場を追加する事ができる。 ... 追加したデータストアを使う時は、vm createの-dオプションで指定するhttps://nofu.jp/wiki/freebsd/bhyve/freebsd_11.1r_use_vm-bhyve#%E…

FreeBSD local_unbound

https://forums.freebsd.org/threads/unbound-adding-forward-zones.58533/local_unbound 起動時に /etc/unbound/ の内容で /var/unbound/ が上書きされる

Synology HDD制限 回避 DSM 7.2

https://www.reddit.com/r/synology/comments/1lswalp/hack_to_bypass_hdd_compatibility_for_fresh_install/ Setting up a new 2025 or later plus model with only unverified HDDs in DSM 7.2.2Credit to Alex_of_Chaos on redditDSM won't install on a …

nginx csp パスでcspを変更する

http context: map $request_uri $csp_header { default "default-src 'self' ; script-src 'self' ; style-src 'self' 'unsafe-inline' ; img-src * 'self' data: ; font-src 'self' ; media-src * 'self' ; form-action 'self'"; "~^/special" "default-sr…

AIクローラのUA

Geminiのボットは?と気になる方がいるかもしれませんが、Geminiの場合、Robots.txtのブロックでは「Google-Extended」に対しての指示に従いますが、実際にGoogle-Extendedを含むUser-Agent文字列でサイトにアクセスが発生する訳ではないようで、LLM用のクロ…