Skip to main content

Posts

Showing posts from March, 2023

void noextract test

 lsmod | cut -d ' ' -f 1  > modules  modinfo $(lsmod | cut -d ' ' -f 1)  | grep filename: | sort filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/aesni-intel.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/crc32-pclmul.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/crc32c-intel.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/crct10dif-pclmul.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/ghash-clmulni-intel.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/polyval-clmulni.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/crypto/sha512-ssse3.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/events/intel/intel-cstate.ko.zst filename:       /lib/modules/6.1.19_1/kernel/arch/x86/events/rapl.ko.zst filename:       /lib/modules/6.1.19_1/kernel/crypto/af_alg.ko.zst filename:       /lib/modules/6.1.19_1/kernel/crypto/algif_aead.ko.zst filename

sway status

 old   #DATE=$(date "+ %a-%b-%d-%Y  %I:%M %S%p")                                                                                                                                                   #date=$(date "+%I:%M%p")                                                                                                                                                                                                                                                                                                                                                                    #bstat=$(head -c 1 /sys/class/power_supply/BAT0/status)                                                                                                                                       #bper=$(cat  /sys/class/power_supply/BAT0/capacity)                                                                                                                                                                  

testing wine on linux without installing

 https://github.com/varmd/wine-wayland  https://github.com/varmd/wine-wayland/releases download  zst https://github.com/varmd/wine-wayland/releases/download/v8.2.1/wine-wayland-8.2-1-x86_64.pkg.tar.zst   sudo xbps-install zstd unzstd  wine-wayland-8.2-1-x86_64.pkg.tar.zst move it to ~/wine maybe    nano wine.sh #!/usr/bin/env bash script_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${script_dir}/lib/wine/x86_64-unix:${script_dir}/lib/wine/x86_64-windows" export WINE64="${script_dir}"/bin/wine64 export WINESERVER="${script_dir}"/bin/wineserver export WINETRICKS="${script_dir}"/bin/winetricks if [ "$1" = "winetricks" ]; then     if [ $# -ge 2 ]; then         shift         "${WINETRICKS}" "$@"     else         "${WINETRICKS}" --help     fi else     "${WINE64}" "$@"     "${WINESERVER}" -w fi

mpv radio bbc

   download all m3u or single m3u from https://github.com/junguler/m3u-radio-music-playlists https://raw.githubusercontent.com/junguler/m3u-radio-music-playlists/main/---everything-full.m3u   https://raw.githubusercontent.com/junguler/m3u-radio-music-playlists/3f71960d08d48bfb32a6305027279e5760a027e4/live_online_radio/united-kingdom.m3u   with uosc or other mpv ui u can select playsist  or use input.conf keybinding nano ~/.config/mpv/input.conf PGUP playlist-prev ; show-text "${playlist-pos-1}/${playlist-count}" PGDWN playlist-next ; show-text "${playlist-pos-1}/${playlist-count}"   enable remember playlist to use  nano ~/.config/mpv/mpv.conf  save-position-on-quit    mpv --player-operation-mode=pseudo-gui united-kingdom.m3u     "BBC - Radio 1"=>" http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one ", "BBC - Radio 2"=>" http://stream.live.vc.bbcmedia.co.uk/bbc_radio_two ", "BBC - Radio 3"=>" http://st

extract other package in debian

void xbps   sudo apt install zstd  mkdir test cd test zstdcat swappy-1.5.1_1.x86_64.xbps | tar xa archlinux .pkg.tar.zst tar --use-compress-program=unzstd -xvf archive.tar.zst or unzstd first and tar xvf file second tar tf filename.tar to list files          rpm  https://github.com/rpm-software-management/rpm/blob/master/scripts/rpm2cpio.sh   rpm with cpio sh rpm2cpio.sh swappy-1.4.0-3.fc37.x86_64.rpm | cpio -idmv   rpm with zstd (rhel 9 uses zstd) rpm2cpio foo.rpm | zstd -d | cpio -idmv       src: https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression https://stackoverflow.com/questions/18787375/how-do-i-extract-the-contents-of-an-rpm    

eiwd

 ./configure   --prefix=/usr     --libexecdir=/usr/bin      --localstatedir=/var   --disable-dbus   --disable-client   --disable-monitor       --disable-dbus-policy         --disable-systemd-service       --disable-manual-pages  https://github.com/kisslinux/repo/blob/master/extra/eiwd/build https://github.com/illiliti/eiwd https://kisslinux.org/wiki/pkg/eiwd