Skip to main content

Posts

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
Recent posts

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)                                                                                                                                                                  

bash PS1

  PS1="\033[38;5;209m\]┌──[\033[38;5;141m\]\u\033[38;5;209m\]:\033[38;5;105m\]\h\033[38;5;231m\]\W\033[38;5;209m\]]\n\033[38;5;209m\]└─\\[\033[38;5;209m\]$\[\033[37m\] "     PS1='\n\[\033[0;32m\]\[email protected]\h \[\033[1;33m\]\w\n\[\033[0m\]> '        

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}" "[email protected]"     else         "${WINETRICKS}" --help     fi else     "${WINE64}" "[email protected]"     "${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    

debian stable bootstrap

apk add debootstrap arch-install-scripts   prepare partition  doas mkfs.ext4 -O ^has_journal   /dev/nvme0n1p3 doas mount /dev/nvme0n1p3 /mnt   bootstrap using debootstrap   --print-debs for listing pkg to be installed debootstrap --variant=minbase stable /mnt http://deb.debian.org/debian/ debootstrap --include=apt,bash,dpkg stable /mnt http://deb.debian.org/debian/   CHROOT into /mnt doas arch-chroot /mnt export TERM=linux  source /etc/profile   custom chroot script if no  arch-install-scripts nano arch-chroot   mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev mount --rbind /dev/pts /mnt/dev/pts && mount --make-rslave /mnt/dev/pts mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys cp --dereference / etc/resolv.conf /mnt/ etc chroot /mnt /bin/bash      sudo bash arch-chroot Repo config and add security,update repo source list generator  https://debgen.simplylinux