All gists

swee
Last active 4 months ago
0 0 1
1 $ ffmpeg -i 20250523_122749-120fps.mkv
2 ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
3 built with gcc 14.2.0 (Alpine 14.2.0)
4 configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
5 libavutil 58. 29.100 / 58. 29.100
6 libavcodec 60. 31.102 / 60. 31.102
7 libavformat 60. 16.100 / 60. 16.100
8 libavdevice 60. 3.100 / 60. 3.100
9 libavfilter 9. 12.100 / 9. 12.100
10 libswscale 7. 5.100 / 7. 5.100
swee
Last active 4 months ago

/etc/thelounge tree and explanation

0 0 1
1 ├── config.js (The Lounge core config)
2 ├── logs
3 │   ├── *username*
4 │   │   └── *network_name*-*uuid*
5 │   │   └── *channel_or_query_name*.log (Raw log)
6 │   └── *username*.sqlite3 (Message logs in an SQL DB)
7 ├── packages
8 │   ├── node_modules
9 │   │   └── *module_name*
10 │   │      └── *module's files*
swee
Last active 4 months ago
0 0 1
1 $ VK_LOADER_DEBUG=all flatpak run org.turbowarp.TurboWarp
2 [2:0516/175907.846180:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
3 [2:0516/175910.185489:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
4 [2:0516/175910.185872:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
5 INFO: Vulkan Loader Version 1.4.307
6 WARNING: Vulkan Loader: unsafe searching is enabled
7 INFO: No valid vk_loader_settings.json file found, no loader settings will be active
8 LAYER: Searching for implicit layer manifest files
9 LAYER: In following locations:
10 LAYER: /home/swee/.var/app/org.turbowarp.TurboWarp/config/vulkan/implicit_layer.d
swee
Last active 4 months ago
0 0 1
1 $ extract-dtb boot.img # Get the compiled DTB from LineageOS' boot.img
2 Dumped 00_kernel, start=0 end=48459776
3 Dumped 01_dtbdump_samsung,armv8.dtb, start=48459776 end=67108864
4 Extracted 1 appended dtbs + kernel to dtb
5 $ cd dtb
6 $ cp ~/.local/var/pmbootstrap/chroot_rootfs_motorola-troika/boot/dtbs/exynos/exynos9610.dtb . # Get the generated compilation of dtb from PostMarketOS build
7 $ dtc 01_dtbdump_samsung,armv8.dts > lineage.dtb # Decompile the LineageOS dtb
8 --- You will get a handful of warnings here ---
9 $ dtc exynos9610.dtb > postmarket.dts # Decompile the PostmarketOS dtb
10 --- You will *also* get some warnings, like Lineage's ---
swee
Last active 4 months ago
0 0 1
1 $ unpack_bootimg --boot_img /tmp/postmarketOS-export/boot.img --format mkbootimg
2 --header_version 0 --kernel out/kernel --ramdisk out/ramdisk --pagesize 0x00000800 --base 0x00000000 --kernel_offset 0x10008000 --ramdisk_offset 0x10000000 --second_offset 0x10000000 --tags_offset 0x10000000 --board '' --cmdline 'loop.max_part=7 androidboot.boot_devices=13520000.ufs '
3 $ unpack_bootimg --boot_img boot.img --format=mkbootimg
4 --header_version 1 --os_version 15.0.0 --os_patch_level 2025-04 --kernel out/kernel --ramdisk out/ramdisk --second out/second --pagesize 0x00000800 --base 0x00000000 --kernel_offset 0x10008000 --ramdisk_offset 0x10000000 --second_offset 0x10000000 --tags_offset 0x10000000 --board '' --cmdline 'loop.max_part=7 androidboot.boot_devices=13520000.ufs'