Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "pyserial>=3.5",
# ]
# ///
from sys import argv
from serial import Serial
from math import ceil
From 013b0a05fb674a0de1986f10af15ee27789e367b Mon Sep 17 00:00:00 2001
From: Doridian <git@doridian.net>
Date: Sat, 2 Aug 2025 11:21:22 -0700
Subject: [PATCH] Port fbcondecor patchset to 6.16
---
Documentation/fb/fbcondecor.txt | 207 ++++++++++
drivers/Makefile | 9 +-
drivers/video/console/Kconfig | 13 +
drivers/video/console/Makefile | 2 +
  • Reboot is broken if services are broken
  • Common service fixes
    • concierge: your VM is now detecting eth0 and eth1 the wrong way around (centos will still rename them to be right, but the fact their order is wrong means the GSA's services will iterate the interfaces wrong), fix your qemu config
    • dataeng: Create /opt/dell/srvadmin/lib64/openmanage/IGNORE_GENERATION
    • cacheserver: Needs disk 512GB or larger, or increase percentage in /etc/init.d/7.6.512/cacheserver (echo "--recordfiles_datadirs=${ENTERPRISE_HOME}/data/querycache/cache-data:1")
    • supergsa_main: Spams about svelte server, is missing svelte args (this does not affect functionality, but is annoying in the logs). Add the following to gen_command_line_internal in /etc/init.d/7.6.512/supergsa_main
       echo "--lockservice_use_loas=false"
       echo "--svelte_retry_interval_ms=2147483647"

echo "--svelte_servers=localhost:6297"

@Doridian
Doridian / Makefile
Created January 6, 2025 04:04
hackmud uglify
SRCS=$(wildcard scripts_raw/*.js)
OBJS=$(SRCS:scripts_raw/%.js=scripts/%.js)
scripts/%.js: scripts_raw/%.js
echo '"use strict";module.exports=' > $@.tmp.js
sed 's/#/__HASHTAG__/g' < $< >> $@.tmp.js
uglifyjs -m -c < $@.tmp.js | \
sed 's/__HASHTAG__/#/g' | \
sed 's/^"use strict";module.exports=//' | \
sed 's/^module.exports=//' | \
diff --git a/Documentation/fb/fbcondecor.txt b/Documentation/fb/fbcondecor.txt
new file mode 100644
index 000000000000..637209e11ccd
--- /dev/null
+++ b/Documentation/fb/fbcondecor.txt
@@ -0,0 +1,207 @@
+What is it?
+-----------
+
+The framebuffer decorations are a kernel feature which allows displaying a
#!/usr/bin/ash
# SPDX-License-Identifier: GPL-2.0-only
# https://github.com/TheZoraiz/ascii-image-converter
# COLORTERM=24bit ascii-image-converter --color ./art.png -c > /etc/dori-logo/logo.txt
run_hook() {
# Print blank line to ensure we don't merge lines together
echo ''
text_sensor:
- platform: version
id: esphome_device_version
internal: true
hide_timestamp: true
on_value:
- lambda: id(esphome_device_update_available).state = id(esphome_device_version).state != id(esphome_server_version).state;
- platform: homeassistant
entity_id: update.esphome_update
internal: true
hashcat (v6.2.3) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
CUDA API (CUDA 11.5)
====================
* Device #1: Quadro P600, 1969/2000 MB, 3MCU
cd /D %~dp0
cd C:\KeePassUnlocker
ProtectedLauncher.exe
export SSH_AUTH_SOCK=$HOME/.ssh/agent.sock
ss -a | grep -q $SSH_AUTH_SOCK
if [ $? -ne 0 ]; then
rm -f $SSH_AUTH_SOCK
( setsid socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"$HOME/.ssh/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork & ) >/dev/null 2>&1
fi