Skip to content

Instantly share code, notes, and snippets.

@dontdieych
dontdieych / .psub.5bjCdOLV1T
Created May 6, 2025 12:57
eza --hyperlink needs auto or never option
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:29
╰─❯ l 30\ years\ of\ authentic\ New\ Jack\ Swing\ style\ \[j_ZpMQ0WCEw\].webm
'30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm'*
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:41
╰─❯ l 30\ years\ of\ authentic\ New\ Jack\ Swing\ style\ \[j_ZpMQ0WCEw\].webm > /tmp/t.m3u8
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:57
╰─❯ cat /tmp/t.m3u8
'30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm'
Updating and loading repositories:
Repositories loaded.
Problem 1: installed package asymptote-3.01-1.fc42.aarch64 requires libOSMesa.so.8()(64bit), but none of the providers can be installed
- package mesa-libGL-25.1.0~asahipre20250425-3.fc42.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:mesa obsoletes mesa-libOSMesa < 25.1.0~rc2-1 provided by mesa-libOSMesa-25.1.0~asahipre20250221-1.fc42.aarch64 from @System
- package mesa-libGL-25.1.0~asahipre20250425-3.fc42.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:mesa obsoletes mesa-libOSMesa < 25.1.0~rc2-1 provided by mesa-libOSMesa-25.0.4-2.fc42.aarch64 from updates
- package mesa-libGL-25.1.0~asahipre20250425-3.fc42.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:mesa obsoletes mesa-libOSMesa < 25.1.0~rc2-1 provided by mesa-libOSMesa-25.1.0~asahipre20250221-1.fc42.aarch64 from copr:copr.fedorainfracloud.org:group_asahi:mesa
- package mesa-libGL-25.1.0~asahipre20250425-3.fc42.aarch64 from copr:copr.fedorainfracloud.org:group_asa
@dontdieych
dontdieych / gist:f980ce6686d8cac4a2eaae68b6798c28
Created April 30, 2025 03:15
fedora 42 stack ghc tinfo error
$ stack --no-system-ghc build
dungeon> configure (exe)
Configuring dungeon-0.1.0.0...
/home/a/.stack/programs/aarch64-linux/ghc-tinfo6-9.6.6/lib/ghc-9.6.6/bin/./ghc-9.6.6: /lib64/libtinfo.so.6: no version information available (required by /home/a/.stack/programs/aarch64-linux/ghc-tinfo6-9.6.6/lib/ghc-9.6.6/bin/../lib/aarch64-linux-ghc-9.6.6/libHShaskeline-0.8.2.1-ghc9.6.6.so)
/home/a/.stack/programs/aarch64-linux/ghc-tinfo6-9.6.6/lib/ghc-9.6.6/bin/./ghc-9.6.6: /lib64/libtinfo.so.6: no version information available (required by /home/a/.stack/programs/aarch64-linux/ghc-tinfo6-9.6.6/lib/ghc-9.6.6/bin/../lib/aarch64-linux-ghc-9.6.6/libHSterminfo-0.4.1.6-ghc9.6.6.so)
dungeon> build (exe) with ghc-9.6.6
Preprocessing executable 'dungeon-exe' for dungeon-0.1.0.0..
Building executable 'dungeon-exe' for dungeon-0.1.0.0..
/home/a/.stack/programs/aarch64-linux/ghc-tinfo6-9.6.6/lib/ghc-9.6.6/bin/./ghc-9.6.6: /lib64/libtinfo.so.6: no version information available (required by /home/a/.stack/programs/aarch64-linux/ghc-ti
@dontdieych
dontdieych / qman_-T.txt
Created January 8, 2025 21:30
qman -T strace
execve("/usr/local/bin/qman", ["qman", "-T"], 0xffffc8bb7158 /* 135 vars */) = 0
brk(NULL) = 0x3d228000
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=156171, ...}) = 0
mmap(NULL, 156171, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffff0c4ac000
close(3) = 0
openat(AT_FDCWD, "/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=267984, ...}) = 0
@dontdieych
dontdieych / env.txt
Created January 8, 2025 20:41
qman strace
EXA_LD_OPTIONS=--only-dirs
EXA_LAAI_OPTIONS=--all --all --binary --icons
EXA_LO_OPTIONS=--oneline
KITTY_PUBLIC_KEY=1:mi`@nF%GoghhJL)p`yX+@?IA)tK=fkIDzonJ{~+V
PERL_LOCAL_LIB_ROOT=/home/a/perl5
DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/
NVM_BIN=/home/a/.nvm/versions/node/v22.9.0/bin
COLORTERM=truecolor
XDG_VTNR=1
XKB_DEFAULT_LAYOUT=us
@dontdieych
dontdieych / a.txt
Created January 8, 2025 20:37
qman strace
execve("/usr/local/bin/qman", ["qman", "ls"], 0xffffd649c248 /* 135 vars */) = 0
brk(NULL) = 0x276a0000
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=156171, ...}) = 0
mmap(NULL, 156171, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffec9b5c000
close(3) = 0
openat(AT_FDCWD, "/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=267984, ...}) = 0
@dontdieych
dontdieych / obs-toggle-record-pause.py
Created December 29, 2024 20:35
obs websocket toggle record pause
#!/usr/bin/env python
import obsws_python as obs
# pass conn info if not in config.toml
cl = obs.ReqClient()
# Toggle the mute state of your Mic input
# cl.toggle_input_mute('Mic/Aux')
cl.toggle_record_pause()
@dontdieych
dontdieych / box64 output
Last active December 26, 2024 15:26
box64 factorio
$ ll config/ mods/ saves/
config/:
.rw-r--r--@ 58k a a 22 Dec 05:17 config.ini
mods/:
.rw-r--r--@ 289 a a 27 Dec 00:09 mod-list.json
saves/:
@dontdieych
dontdieych / 01.txt
Last active October 12, 2024 20:38
ffmpeg flac to opus mka copy album art cover jpg
$ ffmpeg -hide_banner -i 01.flac -c:a libopus 01.mka -y
Input #0, flac, from '01.flac':
Metadata:
ALBUM : Bach - Cello Suites Nos. 1-6, BWV 1007-1012
album_artist : Henrik Dam Thomsen
ARTIST : Henrik Dam Thomsen
COMPOSER : Johann Sebastian Bach
DATE : 2024
GENRE : Classical
@dontdieych
dontdieych / output-of-inxi-Fxxxz.txt
Created October 9, 2024 20:36
Asahilinux MBA M2 8GB 2023
System:
Kernel: 6.11.0-400.asahi.fc40.aarch64+16k arch: aarch64 bits: 64
compiler: gcc v: 2.41-37.fc40 clocksource: arch_sys_counter
Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_wayland with: krunner
vt: 1 dm: SDDM Distro: Linux Asahi Remix 40 (KDE Plasma) base: Fedora 40
Machine:
Type: ARM System: Apple MacBook Air (15-inch, M2, 2023) details: N/A
serial: <filter>
Battery:
ID-1: macsmc-battery charge: 37.2 Wh (78.5%) condition: 47.4/51.8 Wh (91.5%)