書いてないことを今更思い出したので書いていきます。
Nixでマイナーバージョンからハッシュ値を調べるサイトを忘れてたので教えてもらった。ありがたい。
<div class="flex justify-center border-t border-gray-200 h-15 md:h-25 mx-5 md:mx-10"> <a href="https://lazamar.co.uk/nix-versions/" class="!no-underline flex w-full bg-white rounded-lg border border-gray-200 shadow hover:bg-gray-100" title="Link Card" > <div class="flex grow flex-col"> <span class="!text-xs md:!text-base px-3 pt-2 py-0 h-20 !mt-0 !mb-0 font-bold tracking-tight text-gray-900 overflow-hidden text-ellipsis"> lazamar.co.uk </span> <span class="font-xs px-3 pb-3 !mb-0 text-gray-700 text-sm max-w-48 md:max-w-full overflow-hidden whitespace-nowrap text-ellipsis"> https://lazamar.co.uk </span> </div> </a> </div>cachixがビルドしてるoverlayを使う方法もある。
例えばPythonはこんな感じ。
<div class="flex justify-center border-t border-gray-200 h-15 md:h-25 mx-5 md:mx-10"> <a href="https://github.com/cachix/nixpkgs-python" class="!no-underline flex w-full bg-white rounded-lg border border-gray-200 shadow hover:bg-gray-100" title="Link Card" > <div class="flex grow flex-col"> <span class="!text-xs md:!text-base px-3 pt-2 py-0 h-20 !mt-0 !mb-0 font-bold tracking-tight text-gray-900 overflow-hidden text-ellipsis"> github.com </span> <span class="font-xs px-3 pb-3 !mb-0 text-gray-700 text-sm max-w-48 md:max-w-full overflow-hidden whitespace-nowrap text-ellipsis"> https://github.com </span> </div> </a> </div>今日やったこと
puni導入した
puniすげー!
構造化編集(Vimで言うテキストオブジェクト的なもの)ができるプラグインpuniを導入した。 これを使うとあらゆる言語のコードを塊として扱ったりできるようになる。
あとpareditの機能も内包していて、自分はnormal-stateのC-p/C-nでslupとbarfができるようにしてみた。 かっこの対応も自動でとってくれるから、puniがあればparinferも要らなくなる。
明日以降やりたいこと
Emacsの設定を色々やっていきたい。 Typstとか書けたら良いよね〜なんて思ってる。