Skip to content

Instantly share code, notes, and snippets.

Avatar

Nicolas Hillegeer aktau

View GitHub Profile
View gist:1c1ef881c0afb41d9808a821263ea1d7
[ 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
View gist:efa2ae3ba87293a1989b21b3ab6f2294
[ 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
View gist:b89f6aa955fb3a414b684202a4380600
$ 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
@aktau
aktau / backtrace.log
Created Jul 26, 2018
neovim backtrace from segfault likely caused by pull #8221
View backtrace.log
#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=
View newsboat_2.11.1_1_2018-06-14.crash
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
View jobreadlines.vim
" 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)
View # fontconfig - 2016-10-10_14-26-53.txt
Homebrew build logs for fontconfig on Ubuntu 14.04.1 LTS
Build date: 2016-10-10 14:26:53
View vault.zpool
vault size 928G -
vault capacity 53% -
vault altroot - default
vault health ONLINE -
vault guid 10615357772173364317 default
vault version - default
vault bootfs - default
vault delegation on default
vault autoreplace off default
vault cachefile - default
View gist:6e79ecca968a641eb60f
Dec 06 00:46:40 kdi kernel: perf interrupt took too long (5048 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
Dec 06 00:47:43 kdi kernel: VERIFY3((arc_stats.arcstat_c.value.ui64) >= 2ULL << 24) failed (33550891 >= 33554432)
Dec 06 00:47:43 kdi kernel: PANIC at arc.c:3760:arc_adapt()
Dec 06 00:47:43 kdi kernel: Showing stack for process 898
Dec 06 00:47:43 kdi kernel: CPU: 1 PID: 898 Comm: transmission-da Tainted: P O 4.2.0-1-amd64 #1 Debian 4.2.6-1
Dec 06 00:47:43 kdi kernel: Hardware name: GIADA ChiefRiver Platform/Emerald Lake 2, BIOS W6561014 02/05/2013
Dec 06 00:47:43 kdi kernel: 0000000000000000 0000000000000eb0 ffffffff8154e2f6 ffffffffa0966f23
Dec 06 00:47:43 kdi kernel: ffffffffa080480c ffff8800551885d8 ffff88006bf2aa78 0000000000000030
Dec 06 00:47:43 kdi kernel: ffff88006b1cbb58 ffff88006b1cbaf8 2833594649524556 6174735f63726128
Dec 06 00:47:43 kdi kernel: Call Trace:
@aktau
aktau / dkms.conf.sh
Created Nov 13, 2015
/var/lib/dkms/zfs/0.6.5.2/build/dkms.conf
View dkms.conf.sh
BUILD_DEPENDS[0]="spl"
AUTOINSTALL="yes"
PACKAGE_NAME="zfs"
PACKAGE_VERSION="0.6.5.2"
PRE_BUILD="configure
--prefix=/usr
--with-config=kernel
--with-linux=$(moddir=`echo ${kernel_source_dir/%build/.}`;
if [ -e $moddir/source/include/linux/input ]; then
echo $moddir/source