HackerTrans
トップ新着トレンドコメント過去質問紹介求人

aisamu

no profile record

コメント

aisamu
·昨年·議論
I "fixed" this with a Hammerspoon snippet that monitors input changes and reverts them:

    mic = hs.audiodevice.findInputByName("MacBook Pro Microphone")
    function handle_deselected(_, type)
      if (type == "gone") then
        if not mic:inUse() then
          mic:setDefaultInputDevice()
        end
      end
    end
    mic:watcherCallback(handle_deselected)
    mic:watcherStart()
aisamu
·昨年·議論
You might be interested in this talk by Will Byrd, of miniKanren fame:

Personal Data Preservation, Inspired by Ancient Writing https://ericnormand.me/clojuresync/will-byrd
aisamu
·2 年前·議論
I did almost the same, but I am converting things as slowly/lazily as possible.

One thing that helped me tremendously migrating the configuration bits was to leave "scratchpads" that I could tweak quickly without a full rebuild cycle:

  programs.kitty.extraConfig = ''
    include ${config.xdg.configHome}/kitty/temporary.conf
  '';
Then my ~/.config/kitty looks like this:

  ~/.config/kitty $> ls
   87 Dec 13 11:39 kitty.conf -> /nix/store/....-home-manager-files/.config/kitty/kitty.conf
  381 Dec 13 11:42 temporary.conf
aisamu
·3 年前·議論
nix-darwin supports managing your Brewfile.

The docs[2] are very helpful!

[1]: https://github.com/Homebrew/homebrew-bundle

[2]: https://daiderd.com/nix-darwin/manual/index.html#opt-homebre...
aisamu
·3 年前·議論
Magit, the wonderful git porcelain for emacs.

Details here: https://www.reddit.com/r/emacs/comments/11cezoq/magit_mainta...

Direct donation link: https://magit.vc/donate/
aisamu
·4 年前·議論
+1. I miss it dearly, but unfortunately couldn't make the various AWS log shapes work as nicely as the Java ones did.
aisamu
·4 年前·議論
This one has all the diagrams, thank you!
aisamu
·5 年前·議論
Combine it with fzf and you can choose the depth level dynamically:

  tree: aliased to echo '2\n3\n4\n5' | fzf --preview='exa -l -T -L {} --git-ignore' --reverse --preview-window down:99% --bind 'j:down,k:up,q:cancel,enter:cancel'