Skip to content

Instantly share code, notes, and snippets.

@aktau
aktau / UT2004.ini
Last active September 10, 2025 10:19
UT2004.ini (OpenGL, fullscreen, tweaked), see also https://www.pcgamingwiki.com/wiki/Unreal_Tournament_2004 for more on resolution. Note current proton versions force windowed mode at startup (https://github.com/ValveSoftware/Proton/issues/187), but this can be changed before starting to play
[URL]
Protocol=ut2004
ProtocolDescription=Unreal Protocol
Name=Player
Map=Index.ut2
LocalMap=NvidiaLogo.ut2
NetBrowseMap=Entry.ut2
Host=
Portal=
MapExt=ut2
@aktau
aktau / UT2004.ini
Created September 10, 2025 09:40
Steam default UT2004.ini (~/.local/share/Steam/steamapps/common/Unreal Tournament 2004/System)
[URL]
Protocol=ut2004
ProtocolDescription=Unreal Protocol
Name=Player
Map=Index.ut2
LocalMap=NvidiaLogo.ut2
NetBrowseMap=Entry.ut2
Host=
Portal=
MapExt=ut2
// $ go build crasher.go
// $ ( ulimit -c unlimited ; GOMAXPROCS=2 GOTRACEBACK=crash ./crasher )
// $ viewcore core --exe crasher html --port 3981
package main
import (
"fmt"
"runtime"
"unsafe"
)
#!/usr/bin/env bpftrace
/**
* See the implementations of forksnoop.bt and execsnoop.bt. This is just a
* combination of those two.
*/
#include <linux/sched.h>
BEGIN {
From b285ac6b4d1374917d3f26879b2ed1a29f23eea3 Mon Sep 17 00:00:00 2001
From: Nicolas Hillegeer <[email protected]>
Date: Fri, 24 Jun 2022 01:20:47 -0700
Subject: [PATCH] tui: debugging help for terminal state (DO NOT MERGE)
---
src/nvim/tui/tui.c | 518 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 518 insertions(+)
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c
diff --git a/usr/local/google/home/aktau/tmp/TERM.readable.xterm-256color b/usr/local/google/home/aktau/tmp/TERM.readable.hterm-256color
index 623fbfdb5..826ad3e9f 100644
--- a/usr/local/google/home/aktau/tmp/TERM.readable.xterm-256color
+++ b/usr/local/google/home/aktau/tmp/TERM.readable.hterm-256color
@@ -1,4 +1,4 @@
-name = xterm with 256 colors
+name = Chromium hterm with xterm 256-colors
unibi_auto_left_margin: 0
unibi_auto_right_margin: 1
unibi_no_esc_ctlc: 0
diff --git a/tmp/zshhttmNa b/tmp/zsh3ggAug
index 1950aed..be145ed 100644
--- a/tmp/zshhttmNa
+++ b/tmp/zsh3ggAug
@@ -1,21 +1,18 @@
-# Reconstructed via infocmp from file: /lib/terminfo/x/xterm-256color
-xterm-256color|xterm with 256 colors,
+# Reconstructed via infocmp from file: /usr/share/terminfo/h/hterm
+hterm|Chromium hterm,
am,
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:587 ] "on_lines" 1 25 5 6 6 11 11 11 { " echo $I" }
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:280 ] "rpc.notify" "textDocument/didChange" { contentChanges = { { text = "#!/bin/sh\n\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n echo $I\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 25 }}
[ DEBUG ] 2020-07-08T14:28:40+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ] "rpc.send.payload" { jsonrpc = "2.0", method = "textDocument/didChange", params = { contentChanges = { { text = "#!/bin/sh\n\necho `ls -la`\n\nfor i in $(seq 1 5) ; do\n echo $I\n :\ndone\n" } }, textDocument = { uri = "file:///home/nicolashillegeer/tmp/glop.sh", version = 25 } }}
[ DEBUG ] 2020-07
[ INFO ] 2020-07-07T23:17:29+0200 ] ...shillegeer/neovim/share/nvim/runtime/lua/vim/lsp/rpc.lua:202 ] "Starting RPC client" { args = {}, cmd = "efm-langserver", extra = {}}
[ DEBUG ] 2020-07-07T23:17:29+0200 ] ...colashillegeer/neovim/share/nvim/runtime/lua/vim/lsp.lua:458 ] "LSP[efm]" "initialize_params" { capabilities = { textDocument = { codeAction = { codeActionLiteralSupport = { codeActionKind = { valueSet = {}, <metatable> = <1>{ __tostring = <function 1> } }, <metatable> = <table 1> }, dynamicRegistration = false, <metatable> = <table 1> }, completion = { completionItem = { commitCharactersSupport = false, deprecatedSupport = false, documentationFormat = { "markdown", "plaintext" }, preselectSupport = false, snippetSupport = true, <metatable> = <table 1> }, completionItemKind = { value
@aktau
aktau / gist:b89f6aa955fb3a414b684202a4380600
Created June 17, 2020 11:26
(linux)brew docutils test
$ brew test docutils
Testing docutils
==> /home/linuxbrew/.linuxbrew/Cellar/docutils/0.16_2/bin/rst2man.py /home/linuxbrew/.linuxbrew/Cellar/docutils/0.16_2/HISTORY.txt
Last 15 lines from /home/nicolashillegeer/.cache/Homebrew/Logs/docutils/test.01.rst2man.py:
2020-06-17 13:24:58 +0200
/home/linuxbrew/.linuxbrew/Cellar/docutils/0.16_2/bin/rst2man.py
/home/linuxbrew/.linuxbrew/Cellar/docutils/0.16_2/HISTORY.txt
/home/linuxbrew/.linuxbrew/Cellar/docutils/0.16_2/libexec/bin/python3.8: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory