* Email: <my forename> at pasternok.org
* PGP: local key or mirrors: keyserver.ubuntu.com, pgp.mit.edu
614D DFDD 839A C372 9B82 56A7 04E8 7D05 FEC5 DC4A-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT/M/MU/S d- s:+ a C+++$ UB+++$L++++$ P+$ L++++$ !E W++ N+ o+ !K !w !O M+ !V PS PE Y+ PGP++ !t !5 !X !R tv-() b++(+++) DI D G e+++>++++ h+>- r++(+++) y+ ------END GEEK CODE BLOCK------
[ungeek]
Various source codes - more or less recent. All of them are licensed under GPLv3.
PYTHON
» Mi Air Purifier Munin Plugin
Mi Air Purifier stats plugin for Munin monitoring tool. The plugin monitors all significant parameters measured by Mi Air Purifier devices: AQI and average AQI (μg/m³), humidity (%), temperature (°C), filter life remaining (%), filter use (h), device total use (h), purify volume (m³), and motor speed (rpm). It should be compatible with all devices specified in the python-miio AirPurifierMiot device class (under _MAPPINGS); tested with Mi Air Purifier Pro H. Configuration requires the device token (HOWTO). [graph]
» Tuya WiFi Smart Plug Munin Plugin
Tuya WiFi Smart Plug power stats plugin for Munin. Monitors current, power, and voltage from WiFi smart plugs compatible with Tuya IoT Platform and Smart Life (tested with Gosund SP111). Uses the tinytuya Python library. Devices on protocol version 3.3 additionally require an encryption/decryption key to exchange data. The library documents how to link devices between Smart Life and the iot.tuya.com portal and authorize the Device Connection Service to fetch registered devices and their secret keys. [graph]
» Tuya WiFi Temperature & Humidity Sensors Munin Plugin
Monitors temperature and humidity from sensors compatible with Tuya IoT Platform, most often powered by AAA batteries. Sensors send updates every hour and cannot be queried directly. The plugin reads data downloaded from the Tuya IoT Platform by an auxiliary script and stored in temporary files. Schedule the script to run every half hour; more frequent updates are not needed. Tested with WiFi sensors TH01 and TH08. [graph]
» NUT Battery Runtime Munin Plugin
Network UPS Tools battery runtime plugin. Reads estimated runtime values from all UPS-es configured in the upsmon configuration file (upsmon.conf). Each device must return a valid ups.runtime parameter via upsc. Some drivers, e.g. blazer_usb, may require manual calibration. Without this parameter the UPS will not be shown. [graph]
Raspberry Pi Sense HAT board triple sensor plugin. An alternative version adds a 1-Wire DS18B20 digital thermometer for outdoor temperature. [humidity] [pressure] [temperature]
A variation on the original load plugin from the Munin Plugin Gallery, inspired by Cacti's load average graph and color scheme. Displays 1-, 5-, and 15-minute averages as a stacked graph. An alternative version represents the 5- and 15-minute averages as linear graphs. [stacked graph] [linear graph]
PyGTK-based tool for sending a broadcast frame called Magic Packet to turn on a computer remotely (tested
on local networks and the Internet). Uses a remote or local Top-level Domains list downloaded from
IANA to validate the FQDN; the list can be updated with
--update-tlds.
There are two ways to use Wake On LAN over the Internet:
1. Send a Magic Packet directly to the broadcast address. For example, 23.12.78.56/255.255.192.0 sends the packet to 23.12.127.255.
2. If the computer is behind NAT, configure special iproute2 and iptables rules to forward broadcast messages.
Example (192.168.0.0/24; 192.168.0.254 is unused; eth1 is WAN and eth0 is LAN):
| # |ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:ff:ff nud permanent dev eth0
| # |iptables -t nat -A PREROUTING -i eth1 -p udp --dport 48777 -j DNAT --to-destination 192.168.0.254
The iproute2 command assigns address 192.168.0.254 to MAC ff:ff:ff:ff:ff:ff. The iptables command forwards packets from port 48777 to 192.168.0.254:48777; that address has the broadcast MAC, so packets are sent to every computer on the LAN.
» ipv6calc
Simple utility to calculate pointer domain names for IPv6 prefixes.
Example #1:
| $ |./ipv6calc.py ::ffff:192.168.0.1/128
| > |1.0.0.0.8.a.0.c.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.
Example #2:
| $ |./ipv6calc.py 2001:05c0:1501:bb00::/56
| > |b.b.1.0.5.1.0.c.5.0.1.0.0.2.ip6.arpa.
» vhosts
A simple utility to generate a list of available IRC virtual hosts (vhosts) based on IPv4/IPv6 addresses assigned to a given network interface. [screenshot]
A simple bash script that checks whether a defined number of Irssi processes are running per user and kills any additional instances, based on process creation time, keeping only the oldest one(s) active.
» RTBackup
Real-time backup script which periodically checks the modification time of each file and creates a backup if it has been modified, preserving the file and parent directory structure and permissions.
RANDOM
» CVE-2021-33909 (Sequoia) *bigdir* directory cleaner for Qualys PoC exploit. [show]
» AnyMote Smart Remote App AMSR definition file for Microlab Solo 7C speakers. [show]
» muninlite OpenWrt >= 21.02.0 patch:
- Fix buggy sed df regular expressions.
- Parse all filesystems uniquely, including virtual filesystems.
- Disable warnings and criticals for /rom by default.
- Allow DF_IGNORE_FILESYSTEM_REGEX to exclude any filesystem. [show]
Older version compatible with LEDE >= 17.01.0 and OpenWrt >= 18.06.0 and <= 19.07.x is available here.
» Linux vmsplice Local Root Exploit fix/patch for 2.6.23.14(-grsec) (CVE-2008-0009, CVE-2008-0010). [show]
» Linux >= 2.4.4, >= 2.6.0 NULL pointer dereference due to incorrect proto_ops initializations fix
(CVE-2009-2692). Temporary fix: sysctl vm.mmap_min_addr=4096.
[show]
» NVIDIA 96.43.05 Display Driver patch for Linux 2.6.26. [show]
» Slackware packages and SlackBuilds. [browse]
» Very old Linux kernel configurations for desktop (vanilla+grsec with NAT, ACPI, I2C, USB DSL modem, etc.) and server (Hardened Gentoo with iptables, PaX/grsecurity and QoS). [browse]
» How to update Samsung Galaxy Note 3 (SM-N9005) Bootloader (BL) and Baseband (CP) using Heimdall
RETRO (VEL MUSEUM)
» [PL] IPv6 and ADSL in Linux (txt)
» [PL] Software RAID 1 in Linux (txt)
This is essentially electronic atmosphere music designed to relax the listener with its soothing vibes. Generally under 90 bpm or totally beatless, ambient music takes you on a relaxing or thoughtful journey using a variety of sounds, from wind and whale sound samples, to richly textured electronic landscapes.
» ai.int.crh.ovh - An Open WebUI-based playground for benchmarking locally served llama.cpp (OpenAI-compatible) and Ollama large language models.
» mc.crh.ovh - Just another Minecraft server (SpigotMC).
» mod.crh.ovh - A chip music collection selected exclusively from 90s and 00s demoscene pieces (still growing).
» znc.crh.ovh - An IRC network bouncer (BNC) with many features.
» /music/archive - A collection of tracks that have slipped into the depths of the Internet, once public-domain and accessible, now scattered, forgotten, and difficult to recover.
» unixarchive.pasternok.org - A mirror of the Unix Archive, run by the Unix Heritage Society.
» 4.crh.ovh, 6.crh.ovh - A simple service to identify the client's public IP address (IPv4 or IPv6).
FOUNDATIONS
» NOYB enforces your right to privacy everyday
GNU AND LINUX
» Richard Stallman's Personal Page
» The GNU Operating System and the Free Software Movement
SITES OF MY FRIENDS
DEMOSCENE