Skip to content

Instantly share code, notes, and snippets.

@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%)
@dontdieych
dontdieych / speakersafetyd-oom-kill.log
Created October 9, 2024 20:31
speakersafetyd oom kill
Oct 10 05:02:38 a-macbookair kernel: speakersafetyd invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
Oct 10 05:02:38 a-macbookair kernel: CPU: 1 UID: 0 PID: 1728634 Comm: speakersafetyd Tainted: G S OE 6.11.0-400.asahi.fc40.aarch64+16k #1
Oct 10 05:02:38 a-macbookair kernel: Tainted: [S]=CPU_OUT_OF_SPEC, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Oct 10 05:02:38 a-macbookair kernel: Hardware name: Apple MacBook Air (15-inch, M2, 2023) (DT)
Oct 10 05:02:38 a-macbookair kernel: Call trace:
Oct 10 05:02:38 a-macbookair kernel: dump_backtrace+0xdc/0x140
Oct 10 05:02:38 a-macbookair kernel: show_stack+0x20/0x40
Oct 10 05:02:38 a-macbookair kernel: dump_stack_lvl+0x60/0x80
Oct 10 05:02:38 a-macbookair kernel: dump_stack+0x18/0x28
Oct 10 05:02:38 a-macbookair kernel: dump_header+0x48/0x178
@dontdieych
dontdieych / quickCss.css
Created October 7, 2024 08:21 — forked from qyurila/quickCss.css
A personal Vencord custom QuickCSS: Pretendard font + SimpleEnhancements tweak
/* URLs */
/* Revert Old Icons */
@import url(https://davart154.github.io/Themes/Icon%20Revert%202023/2023%20Icon%20Revert.css);
/* Import Pretendard Variable */
@import url(https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-jp.min.css);
/* FONTS */
/* Change Fonts (MomoTalk Theme) */
@dontdieych
dontdieych / ncurses.txt
Created September 29, 2024 13:38
fedora 40 asahilinux ncurses installed
$ rpm -qa|rg ncurses
ncurses-base-6.4-12.20240127.fc40.noarch
ncurses-libs-6.4-12.20240127.fc40.aarch64
ncurses-6.4-12.20240127.fc40.aarch64
ncurses-compat-libs-6.4-12.20240127.fc40.aarch64
ncurses-term-6.4-12.20240127.fc40.noarch
ncurses-c++-libs-6.4-12.20240127.fc40.aarch64
ncurses-devel-6.4-12.20240127.fc40.aarch64
ncurses-static-6.4-12.20240127.fc40.aarch64