This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 win_line (wp=wp@entry=0x7ffff65b5800, lnum=lnum@entry=1, startrow=startrow@entry=0, endrow=41, nochange=true) at ../src/nvim/screen.c:2418 | |
#1 0x000055555579dd66 in win_update (wp=wp@entry=0x7ffff65b5800) at ../src/nvim/screen.c:1428 | |
#2 0x000055555579e93e in update_debug_sign (buf=0x7ffff667d000, lnum=15) at ../src/nvim/screen.c:582 | |
#3 0x0000555555714bdd in ex_sign (eap=<optimized out>) at ../src/nvim/ex_cmds.c:5862 | |
#4 0x00005555556df493 in do_one_cmd (cmdlinep=cmdlinep@entry=0x7fffffff0338, flags=flags@entry=3, cstack=cstack@entry=0x7fffffff03c0, | |
fgetline=fgetline@entry=0x55555574f271 <get_func_line>, cookie=cookie@entry=0x7ffff6196000) at ../src/nvim/ex_docmd.c:2228 | |
#5 0x00005555556e0096 in do_cmdline (cmdline=<optimized out>, fgetline=0x55555574f271 <get_func_line>, cookie=0x7ffff6196000, flags=3) at ../src/nvim/ex_docmd.c:592 | |
#6 0x0000555555750f91 in ex_execute (eap=0x7fffffff09d0) at ../src/nvim/eval.c:19533 | |
#7 0x00005555556df493 in do_one_cmd (cmdlinep=cmdlinep@entry=0x7fffffff0bf8, flags= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: newsboat [56298] | |
Path: /usr/local/Cellar/newsboat/2.11.1_1/bin/newsboat | |
Identifier: newsboat | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [56210] | |
Responsible: newsboat [56298] | |
User ID: 501 | |
Date/Time: 2018-06-14 13:48:10.415 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Append lines to a buffer. Use the Neovim API instead of the traditional | |
" | |
" call append(line('$'), a:data) | |
" | |
" Reason: nvim_buf_set_lines allows adding lines to a buffer which is not | |
" the active one. This means we don't have to fiddle with the users' active | |
" buffers. | |
function s:appendlines(buf, list) | |
if !empty(a:list) | |
call nvim_buf_set_lines(a:buf, -1, -1, v:false, a:list) |
NewerOlder