#HongKong #China #FreeHongKong #PROC #HumanRights #InternationalLaw #UK
$ cat /proc/cpuinfo
#Linux #POSIX #GNU #CPU #proc #procFilesystem #First #toot #FirstToot
#dailyreport #linux #administration #permissions #secops
#sudo #doas #network #bash #proc
Sudo command is overburden, I switched to Doas tool from
FreeBSD project that lighter by weight. I don't use SU
command, because it require PAM framework, that I don't
use.
Before:
larry ALL=(ff) NOPASSWD: ALL
sudo --preserve-env=WAYLAND_DISPLAY,XDG_RUNTIME_DIR -u ff
firefox
After:
permit setenv { WAYLAND_DISPLAY XDG_RUNTIME_DIR } nopass g
as ff
doas -u ff firefox
-----------------------------------------------------
With help of AI I have written a simple bash scrippt that
output average network bandwidth by reading directly
from /proc/net/dev
I think 70 lines is better than some special app with
writing output parser for it.
♲
@xChaos @ErikfonDenickeN @Petr90 @z8th
tady aby jedene se bál něco napsat že se to zvrhne v něco uplně #OffTopic jiného.
Proč nemůžete napsat něco jako:
Enki je super! Sbalím dvě osumnáctky a až do rána si budeme povídat o energiích neutrin ...
#Proč ???? #CoJsemKomuUdělal ???? #PaneEnkiZaCoMěTrestáš ? #TolikOtázek #AtakMáloOdpovědí #NemáloHaštagů
Closures and anonymous functions are very useful concepts, especially in functional programming. Ruby makes working with them a pleasure via its flavors like blocks, procs, and lambdas. This post provides an in-depth tutorial and shows the subtle differences between them.