Skip to content

Instantly share code, notes, and snippets.

View nothub's full-sized avatar
💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢

Florian Hübner nothub

💭
̵̨̹̜̹̭̥̘̫̱̭̭̯̣̯̳̝̫̝͔̀̅ͫͫͦ̍̏ͧ̂̅̓ͩ̑̿̇̄͜͟᙭̷̣͙͕͒͒ͪ̓̀̃ͯͬ̿͆̍̿̐͂̎̃̀͢
  • Cloudogu
  • 21:39 (UTC +01:00)
View GitHub Profile
@nothub
nothub / winamp5666_full_all-build3516.exe.txt
Created February 13, 2025 22:27
winamp5666_full_all-build3516.exe as base64
This file has been truncated, but you can view the full file.
TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAA0AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v
ZGUuDQ0KJAAAAAAAAABBe9FrBRq/OAUavzgFGr84DGI8OAYavzgMYiw4FBq/OAUavjipGr84HocV
OAkavzgehyU4BBq/OB6HIjgEGr84UmljaAUavzgAAAAAAAAAAFBFAABMAQYA3+JHTwAAAAAAAAAA
4AACAQsBCgAAcAAAAM4GAABCAADjOQAAABAAAACAAAAAAEAAABAAAAACAAAFAAAABgAAAAUAAAAA
AAAAALAqAAAEAADAtQYBAgBAhQAAEAAAEAAAAAAQAAAQAAAAAAAAEAAAAAAAAAAAAAAAZJsAALQA
AAAAgCcAQBUDAAAAAAAAAAAA2M0FAXAWAAAAoAcAuAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAADQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
LnRleHQAAAAQbwAAABAAAABwAAAABAAAAAAAAAAAAAAAAAAAIAAAYC5yZGF0YQAAkioAAACAAAAA
LAAAAHQAAAAAAAAAAAAAAAAAAEAAAEAuZGF0YQAAALx+BgAAsAAAAAIAAACgAAAAAAAAAAAAAAAA
@nothub
nothub / ProFit4Consumption.txt
Created February 13, 2025 22:25
Generic Winamp Pro registration key
Generic Winamp Pro registration key
===================================
Winamp Pro
ETCN4-CSR72-7CQWU-EMPE2
++++++++++++++++++++++++++++++++++++
@nothub
nothub / autoexec.cfg
Created February 8, 2025 14:19
cs2 config
// SAVE THIS FILE TO:
// C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\autoexec.cfg
con_enable "true"
fps_max "420"
fps_max_ui "42"
fps_max_tools "42"
sensitivity "1.7"
@nothub
nothub / cfddns.sh
Last active February 1, 2025 12:12
#!/usr/bin/env bash
# Required API token permissions are "Zone:Read" and "DNS:Edit".
# Cronjob example:
# */15 * * * * { date --iso-8601=seconds; API_TOKEN=<token> /usr/local/bin/cfddns -z <id> -r <id>; printf "\n"; } >> cfddns.log 2>&1
usage="Usage: API_TOKEN=<token> cfddns -z <id> -r <id>"
set -o errexit
@nothub
nothub / minecraft.service
Last active August 11, 2024 17:26
hardened minecraft systemd unit with console socket
[Unit]
Description=Minecraft Server (Paper)
After=network.target
[Service]
Type=exec
Sockets=paper.socket
StandardInput=socket
StandardOutput=journal
@nothub
nothub / bans.json
Created July 6, 2024 11:00
factorio bans
[
{
"username": "xxsurvivexx",
"reason": "griefing"
},
{
"username": "zerofix45",
"reason": "griefing"
},
{
@nothub
nothub / discord-install.sh
Created June 5, 2024 13:10
discord installer / updater
#!/usr/bin/env sh
set -o errexit
set -o nounset
f="$(mktemp).deb"
curl -Lo "${f}" 'https://discord.com/api/download/stable?platform=linux&format=deb'
if ! file "${f}" | grep -F 'Debian binary package' > /dev/null; then
Dec 30 18:04:51 box systemd[1736]: Started cortile.service - window tiling manager.
Dec 30 18:04:52 box cortile[82796]: LOAD /home/hub/.config/cortile/config.toml [cortile v2.3.1-f7d514e, built on 2023-12-10T19:35:52Z]
Dec 30 18:05:13 box systemd[1736]: Stopping cortile.service - window tiling manager...
Dec 30 18:05:13 box systemd[1736]: cortile.service: Main process exited, code=exited, status=1/FAILURE
Dec 30 18:05:13 box systemd[1736]: cortile.service: Failed with result 'exit-code'.
Dec 30 18:05:13 box systemd[1736]: Stopped cortile.service - window tiling manager.
Dec 30 18:05:13 box systemd[1736]: Started cortile.service - window tiling manager.
Dec 30 18:05:14 box cortile[83153]: LOAD /home/hub/.config/cortile/config.toml [cortile v2.3.1-f7d514e, built on 2023-12-10T19:35:52Z]
Dec 30 18:05:38 box cortile[83153]: panic: runtime error: invalid memory address or nil pointer dereference
Dec 30 18:05:38 box cortile[83153]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x73762e]
@nothub
nothub / render.sh
Created November 25, 2023 18:12
render docker-compose layout
#!/usr/bin/env bash
IFS=$'\n' read -rd '' -a services <<<"$(find "/opt/services" -mindepth 1 -maxdepth 1 -type d -printf '%f\n')"
for service in "${services[@]}"; do
echo "rendering ${service}"
sudo docker run --rm -it \
-v "/opt/services/${service}:/input:ro" \
-v "${PWD}:/output" \
pmsipilot/docker-compose-viz render -f -m image -o "/output/${service}.png" -- "docker-compose.yaml"
done
@nothub
nothub / deathstar.sh
Last active May 3, 2023 16:30
~25kB container with cosmopolitan binary
#!/usr/bin/env sh
set -ex
cat > Dockerfile << "EOF"
FROM scratch
COPY deathstar.com /deathstar
CMD ["/deathstar"]
EOF