Skip to content

Instantly share code, notes, and snippets.

Lucas Hoffmann lucc

Block or report user

Report or block lucc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View astroid.log
[2018-06-15 12:31:24.076951] [0x00007f7faf28ca00] [info] logging to: astroid.log (append: false)
[2018-06-15 12:31:24.077165] [0x00007f7faf28ca00] [debug] HOME: /home/luc
[2018-06-15 12:31:24.077239] [0x00007f7faf28ca00] [info] cf: loading: "/home/luc/.config/astroid/config"
[2018-06-15 12:31:24.078237] [0x00007f7faf28ca00] [info] cf: version: 10
[2018-06-15 12:31:24.078934] [0x00007f7faf28ca00] [info] date: init.
[2018-06-15 12:31:24.079053] [0x00007f7faf28ca00] [info] db path: /home/luc/mail
[2018-06-15 12:31:24.079240] [0x00007f7faf28ca00] [info] db: open db read-only, waiting for lock..
[2018-06-15 12:31:24.079279] [0x00007f7faf28ca00] [debug] db: read-only got lock.
[2018-06-15 12:31:24.079730] [0x00007f7faf28ca00] [debug] db: open time: 0.489 ms.
[2018-06-15 12:31:24.079774] [0x00007f7faf28ca00] [info] db: closing db.
@lucc
lucc / lbdb.mk
Created Dec 30, 2016
Small wrapper for fast address lookup in mutt/alot/... of the addresses in khard and gpg keyring,
View lbdb.mk
#!/usr/bin/make -f
# A rewimplementation of the idea of lbdb in as a make file.
CACHE = ~/.cache/lbdb
SHARE = \
/usr/share \
/usr/local/share \
~/.local/share
@lucc
lucc / log
Created May 17, 2016
debugging log of vimpager
View log
+ mkdir_options='-m 700'
+ '[' -n '' ']'
+ tmp=/tmp
+ tmp=/tmp/vimpager_29999
+ mkdir -m 700 /tmp/vimpager_29999
+ trap 'quit 1' PIPE HUP INT QUIT ILL TRAP KILL BUS TERM
+ command -v tput
+ tput cols
+ tput lines
++ cat /tmp/vimpager_29999/cols
@lucc
lucc / make.log
Created Jan 17, 2016
abook build failure
View make.log
make all-recursive
make[1]: Entering directory '/home/luc/vcs/abook'
Making all in po
make[2]: Entering directory '/home/luc/vcs/abook/po'
make[2]: Leaving directory '/home/luc/vcs/abook/po'
make[2]: Entering directory '/home/luc/vcs/abook'
gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT abook.o -MD -MP -MF .deps/abook.Tpo -c -o abook.o abook.c
In file included from abook.c:28:0:
database.h:64:12: warning: inline function ‘field_id’ declared but never defined
inline int field_id(int i);
@lucc
lucc / pacaur.log
Created Jan 14, 2016
pacaur debugging output
View pacaur.log
+ version=4.4.3
+ LC_COLLATE=C
+ TEXTDOMAIN=pacaur
+ TEXTDOMAINDIR=/usr/share/locale
+ [[ -n '' ]]
+ configdir=/etc/xdg/pacaur
+ userconfigdir=/home/luc/.config/pacaur
+ userpacmandir=/home/luc/.config/pacman
+ [[ -r '' ]]
+ source /etc/makepkg.conf
@lucc
lucc / vimcat.log
Last active Jan 13, 2016
debugging output of vimpager
View vimcat.log
+ : if 0
+ PATH=/home/luc/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/opt/csw/bin:/opt/local/bin:/usr/dt/bin:/usr/xpg4/bin:/usr/bin:/bin
+ _MY_SHELL=/bin/sh
+ export _MY_SHELL
+ '[' -z 1 ']'
+ '[' -z 1 ']'
+ tmp_dir=/tmp
+ mkdir_options='-m 700'
+ case "$(uname -s)" in
++ uname -s
@lucc
lucc / test_suite_and_file_encoding_spec.lua
Created Jul 22, 2015
Test file to check how encoding is handled between nvim and the test suite.
View test_suite_and_file_encoding_spec.lua
local helpers = require('test.functional.helpers')
local clear, feed, execute, expect, eq, eval, wait, insert = helpers.clear, helpers.feed, helpers.execute, helpers.expect, helpers.eq, helpers.eval, helpers.wait, helpers.insert
local function diff(text)
execute('w! Xtest')
wait()
local file = io.open('Xtest')
local data = file:read('*all')
file:close()
return eq(text, data)
You can’t perform that action at this time.