その昔、KemaNet(Google 検索)というソフトウェアを作っていた人の、自分用メモのサイトです。

<< 2026.3 >>
[Stories]
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

2026/3/20 (金)

mr/git

mac対策

git config --global core.excludesfile ~/.gitignore_global
echo '.DS_Store' >> ~/.gitignore_global
echo '._.DS_Store' >> ~/.gitignore_global

ここに書くのもアレだが、finder でネットワークドライブに書き込まないようにする方法(ほぼ必須)

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

2026/3/12 (木)

mr/ダウンロードしてインストール

yq

sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq && sudo chmod +x /usr/local/bin/yq

ripgrep

curl -sSL https://github.com/BurntSushi/ripgrep/releases/latest/download/ripgrep-$( \
  curl -s https://api.github.com/repos/BurntSushi/ripgrep/releases/latest \
  | jq -r .tag_name \
)-x86_64-unknown-linux-musl.tar.gz \
| sudo tar -xz -C /usr/local/bin --strip-components=1 --wildcards '*/rg' && chmod a+x /usr/local/bin/rg

2026/2/20 (金)

vm/ubuntuでincus

Ubuntu 25.04 の注意

困った事象

理由

対処

# デフォルトプロファイルで一律有効にする例
incus profile set default raw.apparmor "$(cat <<'EOF'
# Allow systemd to manage unconfined helper processes (workaround for AppArmor denials)
signal,
ptrace,
EOF


トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-03-27 (木) 11:40:20