Skip to content

Instantly share code, notes, and snippets.

View BananaAcid's full-sized avatar

Nabil Redmann BananaAcid

View GitHub Profile
@BananaAcid
BananaAcid / README.md
Last active September 14, 2026 19:52
💡 Project Idea: UE4SS - mod for PAK sync (synching mods from server to clients in UnrealEngine)

somewhat simplest:

Server and client have a extra proxy prog that handle pak download to client and client restart. The client mod itself makes sure to not let game join until it's proxy seys paks are same as on server and downloaded) using rest api to local proxy.

elevated: sidecar

// extra port needed

Note: Client -> Lua can use UE4SS to dig directly into Unreal Engine's own internal reflection system -> but runs on main thread, so downloading a PAK will probably break the system, but for quick connections to a sidecar app should be ok

@BananaAcid
BananaAcid / Readme.md
Created September 12, 2026 18:09
google oauth (python)

Howto: Gmail, Imap and Oauth2

Sample code of the Gmail-IMAP-Oauth2 authentication procedure, in Python and Go. Allows to perform automated operations on emails without toggling the "less secure apps" switch on the Google account page. Code is as simple as possible and is working as of 2019.

Python

No dependencies are needed.

@BananaAcid
BananaAcid / gist:109fc6db161f7327d850a0c82dea1232
Created August 28, 2026 19:12
PowerShell: Join-NormalizedPath
# Works like Join-Path, but returns the path without any \..\ and \.\ parts
function Join-NormalizedPath {
$path = Join-Path @args
[System.IO.Path]::GetFullPath($path)
}
@BananaAcid
BananaAcid / README.md
Last active August 6, 2026 22:46
Gaming and AI in **ALL** VMs with shared GPU

Gaming and AI in ALL VMs with shared GPU

Important

Curent state of infos: 2026-08

Distinction

  1. LXC + (/dev/dri/renderD128 + ZLUDA || nvidia nodes) --> "just works"
  2. In isolated VMs ... the following:

Venus?

@BananaAcid
BananaAcid / README.md
Last active June 28, 2026 04:00
Samsung Magician on Fedora/Nobara
@BananaAcid
BananaAcid / ANSI.md
Created April 9, 2026 17:16 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@BananaAcid
BananaAcid / README.md
Created April 2, 2026 07:01
Update-Wallpaper - Periodically recolor your desktop wallpaper with AI
@BananaAcid
BananaAcid / Readme.md
Last active February 11, 2026 21:43
Powershell - Pode Server + PollinationsAI-Text

Powershell - Pode Server + PollinationsAI-Image

  1. save all of the files from this repo to your test folder
  2. run install.ps1 to setup the basics
  3. edit server.ps1 and add your PollinationsAI key (if no env is set already)
  4. start server.ps1
  5. open http://localhost:8080

[!NOTE]

@BananaAcid
BananaAcid / Readme.md
Last active February 15, 2026 17:59
Powershell -- ask PollinationsAI for a Text
@BananaAcid
BananaAcid / Readme.md
Last active February 15, 2026 17:59
Powershell -- ask PollinationsAI for an Image