• 0 Posts
  • 14 Comments
Joined 7 hours ago
cake
Cake day: June 23rd, 2025

help-circle
  • If you are familiar with Ubuntu still I recommend you fallback to that or if you hate canonical and telemetry then use mint. Honestly bro it depends on what you wanna use it for.

    Generally:

    Noobs -> popos, Ubuntu, mint, Devs -> fedora, Ubuntu (ease of access), debian Power users -> Arch, Nix, tails, (a bunch of other distros ig since any distro can be used in a powerful way tbh) Neckbeard -> Gentoo, LFS (not really a distro tho but amazing for learning)

    But seriously speaking it’s your choice bud. All Linux distros work amazing and are all the same to the kernel. You can always install multiple distros on an ext. SSD if you can’t decide.









  • I run a asterisk PJSIP VOIP server on my raspberry pi 5 8GB. I had to use the git and build and recompile and manually load all PJSIP modules because for some reason I couldn’t even find an asterisk package on apt db for ARM64 for some fucking reason. Also had to containerize it within a docker because the shit couldn’t properly compile without interfering with native system binaries. Shit is so fucking goated and can do PSTN via twilio trunking (call numbers outside of the phone server’s number base so basically anyone as long as you make the phone numbers parsed in extensions.conf for each country you wanna call XD). Currently works within LAN but I am planning on making it accessible over the internet using my domain and a tunnel for UDP if possible or just a VPN since my router is being a removed with SIP packets rn. I am having trouble with that part but once it’s done I can quite literally ditch any phone plan and use it. Twilio hardly even charges shit for voice rates 🤣🤣🤣. You could also self host your domain + email providing service and then connect that to thunderbird for full schizo-level privacy or sum shit. That’s what I do to ditch web-email BS






  • Ooooou I got a couple :3

    This one is just a basic mirror fixing thing cuz sometimes I go a while without updating pacman:

    alias fixpkg='rate-mirrors --protocol https arch | sudo tee /etc/pacman.d/mirrorlist && sudo pacman -Syy'
    

    This function I made to create virtual audio sinks so I can route audios via qpw and play earrape into discord calls if I want XD

    create_vsink() {
        local sink_name=${1:-vsink}  # Default sink name is 'vsink' if no input is provided
        local description=${2:-"Virtual Sink"}  # Default description
        pactl load-module module-null-sink sink_name="$sink_name" sink_properties=device.des>
        echo "Virtual sink '$sink_name' created with description '$description'."
    }
    

    Simple parser function I made that makes a whole repo using my git key so it’s not just locally created I kinda forgot why I made it tbh:

    git_clone() {
        local url="${1#https://}"  # Remove "https://" if present
        git clone "https://$git_key@$url"
    }
    

    Awesome mpv function I made that allows for real time pitch+speed shifting via hotkeys and is flexible with extra parameters and shit:

    mpv_pitch() {
        if [[ -z "$1" ]]; then
            echo "Usage: mpv_pitch <file> [mpv-options]"
            return 1
        fi
        local file="$1"
        shift
        mpv --input-conf=/dev/stdin "$file" "$@" <<EOF
    SHIFT+RIGHT add audio-pitch-correction 0; add pitch 0.01; add speed 0.01  # Decrease pit>
    SHIFT+LEFT add audio-pitch-correction 0; add pitch -0.01; add speed -0.01 # Increase pit>
    EOF
    }
    

    Automatic audio router for firefox audio streams that uses the aforementioned create_sink function to make a specific sink that I can use carla on to mix and make cool shit out of haha

    firefox_crush() {
        create_vsink CrunchSink "CrunchSink" 
        firefox --name firefox-vc &
    
        (while true; do
            SINK_INPUT_ID=$(pactl list sink-inputs short | grep "firefox" | awk '{print $1}')
            if [[ -n "$SINK_INPUT_ID" ]]; then
                pactl move-sink-input "$SINK_INPUT_ID" CrunchSink
                break
            fi
            sleep 0.25
        done) &
    }