Skip to content

Instantly share code, notes, and snippets.

@sogaiu
sogaiu / void-emacs-29-with-tree-sitter.md
Last active May 7, 2024 10:06
compiling emacs 29 with tree-sitter from source on void linux

Rough Notes on Getting Emacs 29.3 with Tree-sitter Working on Void

Emacs Steps

Fetch Emacs Source

Clone the emacs source and checkout the emacs-29.3 branch:

git clone https://github.com/emacs-mirror/emacs/
@sogaiu
sogaiu / void-linux-setup-notes.md
Last active May 7, 2024 09:16
void linux setup notes

follow steps in handbook to install

external display connected (confirmed via xrandr) but not displaying

@sogaiu
sogaiu / gist:ebf7c091e984555cef10d6e1fcd700f5
Created May 4, 2024 11:47
prevent chromium from bringing up dialog box at startup
cp /usr/share/applications/chromium.desktop ~/Desktop/
# edit ~/Desktop/chromium.desktop so its Exec lines have --password-store=basic on them
desktop-file-install --dir=$HOME/.local/share/applications ~/Desktop/chromium.desktop
update-desktop-database ~/.local/share/applications
@sogaiu
sogaiu / obs-per-user-plugin-installation-info.md
Created May 1, 2024 04:24
example file / directory layout for a per-user installation of an obs plugin

in the case of obs-localvocal, after a successul linux build, copy files and directories from:

release/RelWithDebInfo/lib/x86_64-linux-gnu/obs-plugins
release/RelWithDebInfo/share/obs/obs-plugins

such that one ends up with the following arrangement:

@sogaiu
sogaiu / gist:35a8c678e4f08d37c9fbc661cb7fb41b
Created April 30, 2024 11:29
The Language of “Racial Mixture”: How Ainoko became Haafu, and the Haafu-gao Makeup Fad
https://jayna.usfca.edu/asia-pacific-perspectives/center-asia-pacific/perspectives/v14n2/okamura.html
http://www.kreuzungsstelle.com/
@sogaiu
sogaiu / alpine-linux-setup-notes.md
Last active April 22, 2024 12:28
alpine linux setup notes
@sogaiu
sogaiu / gist:2f11d48950a0fc9b210ffcb1bbb2197f
Created April 22, 2024 12:09
janet unix domain socket
# one terminal
$ janet
Janet 1.34.0-c01b32c4 linux/x64/gcc - '(doc)' for help
repl:1:> (def s (net/listen :unix "ptus" :datagram))
<core/stream 0x55DAD743F760>
repl:2:> (def buf @"")
@""
repl:3:> (def who (:recv-from s 1024 buf))
<core/socket-address 0x55DAD7442020>
diff --git a/cli/src/main.rs b/cli/src/main.rs
index 0337ead0..f38c8543 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -33,6 +33,7 @@ enum Commands {
Query(Query),
Highlight(Highlight),
Tags(Tags),
+ BuildWasm(BuildWasm),
Playground(Playground),
@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?