• 31 Posts
  • 1.01K Comments
Joined 2 years ago
cake
Cake day: December 28th, 2023

help-circle

  • Window XP was probably the best and last good Windows version… 10 was kinda okay without all the telemetry shit and bloatware.

    Windows 11 feels like macOS with extra steps + spyware on every move, click, clipboard copylpast… Wouldn’t go near that stuff even with full protection and debloat ^^ Just remove that shit and install linux instead.





  • Them probably uses a special plugin device in the outlet.

    I have this bash script you can use and have a general overview but I’m not totally sure if I fully understand it and if it’s the whole system’s wattage or only the CPU 🤷‍♂️

    #! bash
    time=5
    sum_1=$(cat /sys/class/powercap/*/energy_uj | awk 'BEGIN { sum = 0; } { sum += $1; } END { print sum; }' "$@");
    echo "before" $sum_1
    sleep $time;
    sum_2=$(cat /sys/class/powercap/*/energy_uj | awk 'BEGIN { sum = 0; } { sum += $1; } END { print sum; }' "$@");
    echo "after" $sum_2
    
    sum_1f=$(printf "%.0f" $sum_1)
    sum_2f=$(printf "%.0f" $sum_2)
    
    final_sum=$(echo "(($sum_2f - $sum_1f) / 1000000) / $time" | bc -l)
    #echo $final_sum | bc -l | xargs printf "%.2f\n"
    
    formated=$(echo $final_sum | bc -l | xargs printf "%.2f\n")
    echo $formated "w"
    











  • Wow ! I will still try mealie /Tandoor for family purpose and ease of use. If it doesn’t work as expected, I will totally try this out !!

    One question if you don’t mind,

    servings Indicates how many people the recipe is for. Used for scaling quantities. Leading number is used for scaling, anything else is ignored but shown as units.

    Does this function work well? I didn’t saw any examples so maybe you could tell me :)

    Thanks !



  • Fair point ! Yeah sure if you host a blog online it doesn’t make sense… But if you only self-host your services for family and some friends and access them over VPN, a local CA is actually a privacy respecting choice.

    Hosting something on the web (specially self-hosted) without the propre software and hardware is a bad idea in the first place anyway !


  • N0x0n@lemmy.mltoSelfhosted@lemmy.worldHow to selfhost with a VPN
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    18 days ago

    I also believe it’s possible to set up HTTPS encryption without a domain name, but it might result in that “we can’t verify the authenticity of this website” warning in web browsers due to using a self-signed certificate.

    Just create your own rootCA and IntermediateCA and sign your certificate with those, put the CA in your trust store of your system and get rid of this self-signed warning on every device and happily access all your service via: *.home.lab or whater ever local domain pleases you.