Macで複数のSSH秘密鍵を利用する リンクを取得 Facebook × Pinterest メール 他のアプリ 1月 25, 2023 設定ファイルの作成 $ touch ~/.ssh/config ファイルの内容例 Host github github.com HostName github.com IdentityFile ~/.ssh/id_ed25519 User git Host gitlab.com HostName gitlab.com IdentityFile ~/.ssh/id_rsa User git リンクを取得 Facebook × Pinterest メール 他のアプリ コメント
curlで文字コードがshift_jisであるページにアクセスした際、発生する文字化けを解消する 2月 29, 2024 curl https://example.com/shiftjis | iconv -f SJIS -t UTF8 続きを読む
ターミナルで curl の結果に指定の文字列が何回出現するか確認するコマンド 7月 09, 2024 $ curl -h | egrep -- '^[[:space:]]+-' | wc -l 引用元 https://qiita.com/unsoluble_sugar/items/9b78fd7e4e77c6e00f02 続きを読む
macのターミナルでカレントディレクトリ以下の指定文字列を含むファイルを探す 7月 23, 2024 macOSのファイルインデックスが効くので高速らしい mdfind -onlyin . -name foo.txt 完全一致結果が必要な場合 mdfind -onlyin . -name foo.txt | grep "/foo.txt$" 続きを読む
コメント
コメントを投稿