Skip to content

Instantly share code, notes, and snippets.

TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda3 btrfs rw,relatime,discard=async,space_cache,subvolid=5,subvol=/
├─/proc proc proc rw,nosuid,nodev,noexec,relatime
│ └─/proc/fs/nfsd nfsd nfsd rw,relatime
├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
│ ├─/sys/kernel/security
error: Failed to retrieve CPU statistics for domain 'ubuntu22.04'
error: Unable to read from '/mnt/sys/fs/cgroup/cpuacct/machine/qemu-4-zubuntu22.04.libvirt-qemu/cpuacct.usage_percpu': No such file or directory
@terminaldweller
terminaldweller / lxd.log
Created January 25, 2024 01:27
lxd.log
2024-01-24T12:47:23.378819-05:00 voidbox lxd: time="2024-01-24T12:47:23-05:00" level=error msg="Failed mounting storage pool" err="Failed to mount \"/mnt/pools/lxd\" on \"/var/lib/lxd/storage-pools/dir_on_zfs\" using \"none\": no such file or directory" pool=dir_on_zfs
2024-01-24T12:47:24.161248-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Initialized storage pool" pool=zlxd
2024-01-24T12:47:24.161604-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Applying patch" name=storage_delete_old_snapshot_records
2024-01-24T12:47:24.161626-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=error msg="Failed to start the daemon" err="Failed applying patch \"storage_delete_old_snapshot_records\": Unvailable storage pools: [dir_on_zfs]"
2024-01-24T12:47:24.161637-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Starting shutdown sequence" signal=interrupt
2024-01-24T12:47:24.162417-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Clos
@terminaldweller
terminaldweller / lxd.log
Created January 24, 2024 18:02
lxd.log
2024-01-24T12:47:23.378819-05:00 voidbox lxd: time="2024-01-24T12:47:23-05:00" level=error msg="Failed mounting storage pool" err="Failed to mount \"/mnt/pools/lxd\" on \"/var/lib/lxd/storage-pools/dir_on_zfs\" using \"none\": no such file or directory" pool=dir_on_zfs
2024-01-24T12:47:24.161248-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Initialized storage pool" pool=zlxd
2024-01-24T12:47:24.161604-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Applying patch" name=storage_delete_old_snapshot_records
2024-01-24T12:47:24.161626-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=error msg="Failed to start the daemon" err="Failed applying patch \"storage_delete_old_snapshot_records\": Unvailable storage pools: [dir_on_zfs]"
2024-01-24T12:47:24.161637-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Starting shutdown sequence" signal=interrupt
2024-01-24T12:47:24.162417-05:00 voidbox lxd: time="2024-01-24T12:47:24-05:00" level=info msg="Clos
import threading
import time
import irssi
def mysleep():
time.sleep(10)
print("i am non-blocking")
@terminaldweller
terminaldweller / yourls.py
Last active December 8, 2023 13:15
yourls.py
"""yourls url shortener for irssi"""
import asyncio
import json
import re
from urllib import request, parse
import irssi
DEBUG = False
eggdrop_1 | You have no messages.
eggdrop_1 | *** -HQ joined the party line.
eggdrop_1 | [13:56:09] main: entering loop
eggdrop_1 | [13:56:09] Trying server irc.terminaldweller.com:+6697
eggdrop_1 | [13:56:14] net: open_telnet_raw(): idx 1 host irc.terminaldweller.com ip 89.147.110.30 port 6697 ssl 1
eggdrop_1 | [13:56:15] TLS: attempting SSL negotiation...
eggdrop_1 | [13:56:15] TLS: setting the server name indication (SNI) to irc.terminaldweller.com successful
eggdrop_1 | [13:56:15] TLS: state change: before SSL initialization
eggdrop_1 | [13:56:15] TLS: state change: before SSL initialization
eggdrop_1 | [13:56:15] TLS: state change: SSLv3/TLS write client hello
eggdrop_1 | *** -HQ joined the party line.
eggdrop_1 | [13:28:21] main: entering loop
eggdrop_1 | [13:28:21] Trying server irc.terminaldweller.com:+6697
eggdrop_1 | [13:28:25] net: open_telnet_raw(): idx 1 host irc.terminaldweller.com ip 89.147.110.30 port 6697 ssl 1
eggdrop_1 | [13:28:26] TLS: attempting SSL negotiation...
eggdrop_1 | [13:28:26] TLS: setting the server name indication (SNI) to irc.terminaldweller.com successful
eggdrop_1 | [13:28:26] TLS: state change: before SSL initialization
eggdrop_1 | [13:28:26] TLS: state change: before SSL initialization
eggdrop_1 | [13:28:26] TLS: state change: SSLv3/TLS write client hello
eggdrop_1 | [13:28:26] TLS: awaiting more reads
eggdrop_1 | [13:22:36] main: entering loop
eggdrop_1 | [13:22:36] Trying server irc.terminaldweller.com:+6697
eggdrop_1 | [13:22:40] net: open_telnet_raw(): idx 1 host irc.terminaldweller.com ip 89.147.110.30 port 6697 ssl 1
eggdrop_1 | [13:22:41] TLS: attempting SSL negotiation...
eggdrop_1 | [13:22:41] TLS: setting the server name indication (SNI) to irc.terminaldweller.com successful
eggdrop_1 | [13:22:41] TLS: state change: before SSL initialization
eggdrop_1 | [13:22:41] TLS: state change: before SSL initialization
eggdrop_1 | [13:22:41] TLS: state change: SSLv3/TLS write client hello
eggdrop_1 | [13:22:41] TLS: awaiting more reads
eggdrop_1 | [13:22:41] TLS: handshake in progress
eggdrop_1 | You have no messages.
eggdrop_1 | *** -HQ joined the party line.
eggdrop_1 | [11:15:42] Trying server irc.terminaldweller.com:+6697
eggdrop_1 | [11:15:43] TLS: handshake successful. Secure connection established.
eggdrop_1 | [11:15:43] Connected to irc.terminaldweller.com
eggdrop_1 | [11:16:43] -ERROR from server- Registration timeout: 1m0s
eggdrop_1 | [11:16:43] Disconnecting from server.
eggdrop_1 | [11:16:44] Trying server irc.terminaldweller.com:+6697
eggdrop_1 | [11:16:45] TLS: handshake successful. Secure connection established.
eggdrop_1 | [11:16:45] Connected to irc.terminaldweller.com