Linux
pkill 名前でプロセス一括キルができるけど、pgrepで確認をすること 自分のPCでゴニョゴニョするのに限定しないといけない こんなコマンド気軽に本番サーバーで打たないように atmarkit.itmedia.co.jp
概要 A repository is a storage location with a collection of Alpine Linux packages. In addition to the three official repositories, technically, any directory with a collection of *.apk files with a special index file, named APKINDEX.tar.g…
めっちゃ基本的なpre-commit設定をただ出力するだけ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id…
それっぽい偽のログを流すアレ -m で流す偽ログのタイプを指定できる $ genact -l Available modules: ansible bootlog botnet bruteforce cargo cc composer cryptomining docker_build docker_image_rm download julia kernel_compile memdump mkinitcpio …
アップデートにちょうどいいサンプル動画を探すのめんどくさい ffmpeg -f lavfi -i color=black:1280x720:rate=30:duration=5 -c:v libx264 -pix_fmt yuv420p black.mp4 ffmpeg \ -f lavfi -i color=white:1280x720:rate=30:duration=1 \ -f lavfi -i color=…
Virtual Userのこと k6 runs multiple iterations in parallel with virtual users (VUs). In general terms, more virtual users means more simulated traffic. VUs are essentially parallel while(true) loops. Scripts are written in JavaScript, as E…
cpの-Rと-rは一緒 xtech.nikkei.com
シンボリックリンクが指すファイルではなく、 シンボリックリンクの所有者とグループを変更 なお-hと-Hは違う www.ibm.com
grepの-vが使えるかと思ったらガイドにはない github.com
行数を消すオプション -N, --no-line-number Suppress line numbers. Line numbers are off by default when stdout is not connected to a tty. Line numbers can be forcefully turned on by -n/--line-number. github.com
四捨五入。他にも色々関数がある jqlang.github.io
I first released 8.7.0, but immediately someone pointed out that one of the files in the tarballs was broken, so I fixed the issue, created a new set of tarballs, bumped the version and uploaded the new set. The new release is 8.7.1 but of…
デフォルトのfindコマンドを内蔵ディレクトリウォーカーに置き換え。パフォーマンス向上とプラットフォーム間での挙動統一を目指す。 $FZF_DEFAULT_OPTS_FILE追加により、デフォルトオプションをファイルで管理可能。 バグ修正と改善。 github.com
Rust製のcd改良系コマンド github.com 会社のテックトークで fzf と zoxside 使うといいよという話をしたけど、シェルのコマンドの履歴検索とかディレクトリ移動の履歴検索を活用する... みたいな考え方そのものが重要であり...昔はこれ読もう、で良かったん…
gitconfig [core] pager = delta [interactive] diffFilter = delta --color-only [delta] navigate = true # use n and N to move between diff sections light = false # set to true if you're in a terminal w/ a light background color (e.g. the defa…
変更: curl: -w内で書き込むファイルを指定するための%output{}を導入 gskit: 削除 lib: ローカルバインディングサポートなしでcurlをビルドするための--disable-bindlocalを導入 nss: このTLSライブラリのサポートを削除 tool: "variable"サポートを追加 tr…
That is, -t means "include files of this type" where as -T means "exclude files of this type." github.com
-s で ---で区切られているYAMLを複数ファイルに分割する。 こういうやつ a: test_doc1 --- a: test_doc2 mikefarah.gitbook.io
Add spell check workflow by @hezhizhen in #356 Fix samePath by @hezhizhen in #357 fix test on windows by @Songmu in #358 update deps by @Songmu in #360 Fixed a problem with SSH URLs, etc. by @Songmu in #361 go-version-file: go.mod by @Song…
Use t.Cleanup to remove temporally directories and set environment variables by @itchyny in #343 Support branch/tag via @ syntax by @NathanBaulch in #347 introduce tagpr by @Songmu in #353 github.com
sops単体で、sopsで暗号化したファイルをエディタ編集できるのだが、EDITOR変数でどのエディタを使うか設定できる デフォルトはvim github.com
direnvがいい感じにシェル関数を用意している(watch_fileとか) github.com
direnvでもいろんな設定がある github.com
curl: add --url-query CURLOPT_QUICK_EXIT: don't wait for DNS thread on exit lib: add CURL_WRITEFUNC_ERROR to signal write callback error openssl: reduce CA certificate bundle reparsing by caching version: add a feature names array to curl_…
主にbugfix Fixed a bug where fzf with --tiebreak=chunk crashes on inverse match query Fixed a bug where clicking above fzf would paste escape sequences github.com
border-label preview-label github.com
Prevent divide-by-zero error while loading csv files. (GitHub #89) Handle panics during processor executions. github.com
github.com
--args: Remaining arguments are positional string arguments. These are available to the jq program as $ARGS.positional[] それはそうと、DDGでjqでググると高確率でjQueryが検索結果として出てくるので -jquery とかするとjqがヒットしやすい stedola…
COALESCEとかIFとか基本的なやつは揃ってる。 mithrandie.github.io