Skip to content

Instantly share code, notes, and snippets.

@marbu
marbu / bug-user-systemd-broken.logs.02
Last active May 28, 2018 21:12
notes-related-to-bz1581495
-- Logs begin at Thu 2016-12-29 11:15:46 CET, end at Thu 2018-05-24 20:32:21 CEST. --
May 24 20:30:10 dione lightdm[1529]: pam_kwallet5(lightdm:session): pam_kwallet5: final socket path: /tmp/kwallet5_martin.socket
May 24 20:30:10 dione lightdm[1529]: pam_kwallet5(lightdm:session): pam_kwallet5-kwalletd: Couldn't listen in socket
May 24 20:30:10 dione lightdm[1529]: pam_kwallet5(lightdm:session): pam_kwallet5: Impossible to write walletKey to walletPipe
May 24 20:30:10 dione lightdm[1529]: pam_systemd(lightdm:session): Failed to create session: Access denied
May 24 20:30:10 dione lightdm[1529]: pam_unix(lightdm:session): session opened for user martin by (uid=1000)
May 24 20:30:10 dione lightdm[1529]: pam_lastlog(lightdm:session): unable to open /var/log/lastlog: Permission denied
May 24 20:30:10 dione lightdm[1529]: pam_lastlog(lightdm:session): unable to open /var/log/btmp: Permission denied
May 24 20:30:35 dione lightdm[1529]: Failed to open CK session: Timeout was reached
May 24 20:31:41 dione dbus-daemon
@marbu
marbu / openwrt-upgrade.md
Last active February 28, 2018 22:25
openwrt-upgrade
@marbu
marbu / firefox-extensions-replacement-list.rst
Last active April 9, 2018 21:24
Firefox Extensions Replacement List

Firefox Extensions Replacement List

This is a list of Firefox extensions, which no longer works since Firefox 57, and replacements I'm trying out.

VimFx -> Vimium for Firefox, available as Vimium-FF

@marbu
marbu / .gitignore
Last active September 8, 2017 21:27
Exporting initials typeseted in yinit font into svg
*~
*.swp
*.aux
*.log
*.pdf
*.dvi
*.svg
@marbu
marbu / rome.md
Last active October 3, 2020 18:47
Ancient Rome

Rhea Backup

Target device: external 1TB HDD via usb 3. Filesystem: btrfs

Strategy:

  • Whole /home for full user data backup.
@marbu
marbu / muttrc
Created March 19, 2017 13:07
mutt config
#
# General
#
set send_charset = "us-ascii:utf-8"
set signature = "~/.mutt/sig"
set sort = threads
# Color scheme
source ~/.mutt/colors.foobar
@marbu
marbu / gpgmutt.md
Created March 19, 2017 12:07 — forked from bnagy/gpgmutt.md
Mutt, Gmail and GPG

GPG / Mutt / Gmail

About

This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.

Here is an incomplete list of things that are different from other approaches:

  • I don't use keyservers. Ever.
  • Yes, I use Gmail instead of some bespoke hipster freedom service
In [20]: for node in nodetree.traverse(lambda node: isinstance(node, nodes.title)):
    print(node.line)
   ....:     
6
11
In [21]: list(zip(range(1,100), docstring.split("\n")))