Skip to content

Instantly share code, notes, and snippets.

@sogaiu
sogaiu / post-windows-update-settings-for-windows11.md
Last active March 24, 2024 11:24
post windows update settings for windows11
  • Put as many changes as possible into a single .reg file and apply

  • What to tweak

    • Date / time format (e.g. 24 hour, 0 padding, etc.)
    • Taskbar on left
    • Power settings so longer-term battery life is accounted for
    • Disable automatic bios updates (see device manager -> firmware -> disable all items within - better is to do through bios, but this may not be possible depending on the machine)
    • Other?
@sogaiu
sogaiu / windows-11-ssd-free-space-wiping.md
Last active March 7, 2024 11:29
windows 11 ssd free space wiping

During the 1970s, before my life became politicized by horrible events, I was just going along making one extension after another for various programs, and most of them did not have anything to do with Lisp. But, along the way, I wrote a text editor, Emacs. The interesting idea about Emacs was that it had a programming language, and the user's editing commands would be written in that interpreted programming language, so that you could load new commands into your editor while you were editing. You could edit the programs you were using and then go on editing with them. So, we had a system that was useful for things other than programming, and yet you could program it while you were using it. I don't know if it was the first one of those, but it certainly was the first editor like that.

This spirit of building up gigantic, complicated programs to use in your own editing, and then exchanging them with other people, fueled the spirit of free-wheeling cooperation that we had at the AI Lab then. The idea was that

@sogaiu
sogaiu / gist:e3c6a3f2a8fd99b89f7cfcf798faa75f
Last active March 6, 2024 00:45
some tree-sitter .wasm files that live in repositories
./github.com/julienhenry/tree-sitter-souffle/tree-sitter-souffle.wasm
./github.com/Ziemniakoss/tree-sitter-apex/tree-sitter-apex.wasm
./github.com/UserNobody14/tree-sitter-dart/tree-sitter-dart.wasm
./github.com/tree-sitter/tree-sitter-javascript/tree-sitter-javascript.wasm
./github.com/tree-sitter/tree-sitter-haskell/tree-sitter-haskell.wasm
./github.com/elm-tooling/tree-sitter-elm/docs/js/tree-sitter.wasm
./github.com/elm-tooling/tree-sitter-elm/docs/js/tree-sitter-elm.wasm
./github.com/FoamScience/tree-sitter-foam/tree-sitter-foam.wasm
./github.com/rolandwalker/tree-sitter-pgn/tree-sitter-pgn.wasm
./github.com/takegue/tree-sitter-sql-bigquery/playground/tree-sitter.wasm
https://www.reddit.com/r/Trackballs/wiki/index/
https://gemst.co.kr/pcacc/?q=YToxOntzOjEyOiJrZXl3b3JkX3R5cGUiO3M6MzoiYWxsIjt9&bmode=view&idx=16642405
@sogaiu
sogaiu / gist:c5c4a5a9cfd4e3a446e07b6417b324d3
Last active March 3, 2024 05:55
elpaca, straight, package, etc.
https://www.reddit.com/r/emacs/comments/19bs8w9/elpaca_vs_straightel/
https://www.reddit.com/r/emacs/comments/13caudx/if_you_like_straight_you_should_try_elpaca/
https://www.reddit.com/r/emacs/comments/11daqsz/elpaca_the_basics/
https://github.com/progfolio/elpaca/wiki/Migrating-to-Elpaca