Skip to content

Instantly share code, notes, and snippets.

View serious-angel's full-sized avatar
✨
...cogito, ergo sum...

/\ngel serious-angel

✨
...cogito, ergo sum...
View GitHub Profile
@serious-angel
serious-angel / 1_80211_wpa2_flow.md
Last active September 20, 2026 08:40
General 802.11 WPA2 flow

Wonderful day!

Greetings, from Libera IRC! ^^
Just in case, no awful sorrowful LLM was used for this Gist.

Though, there's a lot of various articles about it, but sometimes it's better to recall it all manually, I believe.

The bellow chart is a 4-way handshake general representation I copied from a personal security paper I had prepared long ago for another project, with the dear four EAPOL-Key messages constituting the core of WPA2 network authentication, during which keys are generated and distributed between the client and the authentication system.

EAP over LAN (EAPoL or EAPOL) is an 802.1X-defined technique for encapsulating EAP or user data within LAN or WLAN networks.

$ du -sbh ./input.txt;
# 209M ./input.txt

$ ./benchmark.sh ./input.txt;
Benchmark 1: tr -s \n
  Time (mean ± σ):     852.3 ms ±   9.8 ms    [User: 823.6 ms, System: 28.4 ms]
@serious-angel
serious-angel / lobsters_ban_2026-09-14.md
Last active September 17, 2026 20:25
Lobsters staff ruined my reputation, do not respond, and I have no idea why.

I am Lore at Libera IRC, and at 2026-09-14 19:40:58 UTC I sent jcs (the only one who had EMail address in public contacts listed online at https://jcs@jcs.org/contact) the following message, yet there's no response.

I've also sent the exactly same message to pushcx, who banned me, over an EMail address found.

There were the only 2 Email addresses found across the Internet, at their custom domains, so I am not even sure they received them.

The following messages excerpt are all my messages I sent this day.

Frankly... for so many years... it's not the first time I am getting banned, ridiculed, ruined... at IRC, which happened at Freenode/Libera #linux, #security, #hardware for all the years... and I am... I am getting tired of IRC... where no one is accountable... no one cares... everything is hateful...
And I regret so much time wasted... considering my reputation being ruined at undefined moment in time in the end... for litearlly unknown reason that disregards everything I do for all the years.

@serious-angel
serious-angel / 1_Caddyfile.md
Created August 31, 2026 16:50
Caddy FQDN-less resolution test (Libera IRC #lobsters; 2026-08-31)

File: ./Caddyfile

{
    auto_https off
    debug
}

:8080 {
    @example host example.rs
@serious-angel
serious-angel / 1-example.md
Last active February 12, 2026 18:54
Multi-line comments example
$ bash ./test.sh;
declare -- bitfields="101"
declare -a scopes=([0]="user-profile" [1]="user-email")
See! Marvelous!
@serious-angel
serious-angel / 1-compose.yaml
Created February 5, 2026 03:04
[Docker] Example of service with limited network access
services:
first:
image: nginx
networks:
# Dsable the default bridge explicitly, with no known Internet access.
- isolated
# For the container access with its custom subnet/network.
- between
@serious-angel
serious-angel / 1-result.md
Last active January 31, 2026 02:48
DNS Latency Node v21+ script example
// ...
[2026-01-31T02:35:27.109Z] [ 9/10] [
  {
    host: 'python.org',
    latency: 5,
    resolved: [
      { address: '151.101.64.223', ttl: 214, type: 'A' },
      { address: '151.101.0.223', ttl: 214, type: 'A' },
      { address: '151.101.128.223', ttl: 214, type: 'A' },
@serious-angel
serious-angel / 1-git-diff-size-example.md
Last active January 25, 2026 11:51
[WIP] Diff size between two Git references
$ ls -lA '~/.local/exec-scripts/';
total 4
-rwxrwxr-x 1 user user 927 Jan 25 13:20 git-file-size-diff.sh
$ export PATH="${PATH}${PATH:+:}${HOME}/.local/exec-scripts";

$ git log;
@serious-angel
serious-angel / proc_tree.sh
Created January 9, 2026 17:46
Basic Process Tree with Teletype (Bash script)
#! /usr/bin/env bash
declare c=0;
_PidTree()
{
declare __pid="$1";
shift || return 2;
declare stat=(); readarray -td ' ' stat < "/proc/${__pid}/stat";
@serious-angel
serious-angel / steam_gamepad_support.md
Last active January 7, 2026 11:27
Steam Desktop client gamepad support (2025-10-26, 2dcc5aaf7)

While implementing the quick experiment for Steam desktop notification toasts size scaling (i.e. ⁠https://github.com/serious-angel/steam-client-custom-toasts, the source had the following object that may suggest supported devices by Steam, at least, for the current Steam desktop client version, with the Webpack transpiled chunks versioned as 2dcc5aaf7 (2025-10-26):

h = {
  [-1]: "controller_none",
  20: "controller_unknown",
  0: "controller_unknown",
  1: "controller_generic",
  2: "controller_steamcontroller_gordon",
  3: "controller_steamcontroller_unknown",