things
39 subscribers
28 photos
13 videos
10 files
7 links
random 4 u
Download Telegram
The SSH protocol
👍1
General Email Regex (RFC 5322 Official Standard)

(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
1
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
🥰1
not perfect keyboard & mice cleaning solution (its temporary disable hid devices from input)

set proper sleep time:


#DEVICES=($(for d in /sys/bus/usb/devices/[0-9]*; do ([ -e "$d/driver" ] && readlink "$d/driver" 2>/dev/null | grep -q "usbhid\|hid") || ([ -d "$d" ] && ls $d/*/input* >/dev/null 2>&1) && echo "$d"; done | sed 's/:.*$//' | sort -u)); for dev in "${DEVICES[@]}"; do sudo bash -c "echo 0 > $dev/authorized" & done; wait; sleep 3; for dev in "${DEVICES[@]}"; do sudo bash -c "echo 1 > $dev/authorized" & done; wait



broken rn do not use this script.
add clock to term (why? idk)


while sleep 1;do tput sc;tput cup 0 $(($(tput cols)-29));date;tput rc;done &
Vintage-like records morphing using sox:

# Step 1: Band-limit and add saturation
sox input.wav temp.wav highpass 300 lowpass 3000 overdrive 20 gain -n

# Step 2: Add pink noise and hum
sox -m temp.wav "|sox -n -p synth 60 pinknoise vol 0.06 bass -10 treble -15" \
"|sox -n -p synth 60 sine 60 vol 0.018" final_vintage.wav


you can play with numbers. That will achieve that cool vintage background noises.


another ver:

# Step 1: Band-limit, saturate, EQ, compress, and reverb
sox audio_2025-07-11_17-55-45.ogg temp.wav \
highpass 300 lowpass 3000 overdrive 18 gain -n \
bass -8 treble -10 \
compand 0.3,1 6:-70,-60,-20 -5 -90 0.2 \
reverb 25

# Step 2: Add pink noise (shaped) and low hum
sox -m temp.wav \
"|sox -n -p synth 60 pinknoise vol 0.04 bass -12 treble -18" \
"|sox -n -p synth 60 sine 60 vol 0.01" \
final_vintage2.wav
monospace text without background.
linux util fixes /etc/shadow errors (somethimes nixpgs can cause it)
pwck -r


sanity checks:



pwck -s

grpck -s
valid nonsense bash command


: : :_=':l;sd{:;f.k': $(:);: #:j;lfghj
things
static black screen for 10hours and 1 second: ffmpeg -f lavfi -i color=c=black:s=1920x1080:r=1 -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=8000 -t 10:00:01 -c:v libx264 -c:a aac -b:v 1k -b:a 1k -crf 63 -movflags +faststart -pix_fmt yuv420p -y…
static image for many hours:


1

ffmpeg -loop 1 -i 1111.png -f lavfi -i anullsrc=channel_layout=mono:sample_rate=8000 -t 10 -c:v libx264 -preset fast -tune stillimage -crf 50 -c:a aac -b:a 1k -pix_fmt yuv420p -r 0.00001 -vf scale=iw/2:ih/2 -movflags +faststart -y segment.mp4

2

ffmpeg -stream_loop 11111 -i segment.mp4 -c copy -y output_static3333.mp4




second variant with encoding (long processing) precisely 10hours 1 second:

ffmpeg -loop 1 -i 1111.png -f lavfi -i anullsrc=channel_layout=mono:sample_rate=8000 -t 10:00:01 -c:v libx264  -tune stillimage -crf 42 -c:a aac -b:a 8k -pix_fmt yuv420p -r 0.033  -shortest -movflags +faststart -y output_static.mp4
ffmpeg -f rawvideo -pixel_format rgb24 -video_size 1920x1080 -framerate 120 -i /dev/urandom -c:v libx264 -preset ultrafast -pix_fmt yuv420p -f matroska - | ffplay -
me channels also:

just some random links/netstalking:
t.me/WebsiteToday

and random music:

t.me/tuneToday
EFI experiments.
Makefile
1.5 KB
on arch its require:
pacman -S ovmf gnu-efi
systemd have its own UUID generator:

systemd-id128 new --uuid -p


also kernel itself provides a UUID gen:
/proc/sys/kernel/random/uuid
simple linux prog that will take .zip file and print it as 16-bit unsigned integers (U16).
VT kmssink \ gstreamer experiments:

run that command run under VT:

 sudo gst-launch-1.0 videotestsrc ! kmssink


kmssink is a simple video sink that renders video frames directly in a plane of a DRM device.