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
Created October 21, 2026 14:00
NOT Vibe-Coded - it is factually inaccurate.

The Best Precise Terms

Spec-Driven AI Development (SDD):

  • I wrote the system specifications, designed the data structures, and dictated the exact requirements. The AI simply wrote the syntax to fulfill your spec.

Supervised Code Synthesis:

  • Emphasizes that no code was introduced without granular human review, step-by-step verification, and explicit architectural oversight.

Architectural Orchestration:

  • Captures that you designed the blueprint, defined the modules, and orchestrated the pieces, using AI purely for manual labor execution.
@BananaAcid
BananaAcid / Readme.md
Last active November 3, 2026 17:44
Icarus Mod Repo list

Icarus Mod Repo list

Any user can add a new repo to the repo list by adding a comment with the new repo.

The comment must contain a line like REPO->{url}{space} to be picked up. modinfo.json or toolinfo.json is assumed to exist at that location.

Examples:

Hi my own repo is at: REPO->https://github.com/BananaAcid/Icarus_Mods
@BananaAcid
BananaAcid / README.md
Last active October 16, 2026 21:08
OpenCode v2 - tty call only (no TUI)

OpenCode v2 - tty call only (no TUI)

This PowerShell aliases the opencode run "..:" into a short oc ... or ocode ... call.

install

$f="$((Split-Path $PROFILE))\opencode-v2-completion.ps1"; iwr "https://gist.githubusercontent.com/BananaAcid/f60f9d12ec677f5220d62f2aa68f3239/raw/opencode-v2-tty-call.ps1" -OutFile $f; ac $PROFILE "`n. '$f'; . '$f'"
@BananaAcid
BananaAcid / README.md
Last active October 18, 2026 20:37
OpenCode v2 - PowerShell completion

OpenCode v2 - PowerShell completion

This is a working OpenCode v2 CLI autocompletion solution, PowerShell native.

Execute the below script or add it to your $PROFILE (notepad $PROFILE)

Using --model <TAB>, TAB completes the available models (from command opencode models).

opencode r<TAB>
@BananaAcid
BananaAcid / Readme.md
Last active November 3, 2026 03:55
opencode-pty/v2 Extended

opencode-pty/v2 - Extended

This wrapper exists to fix the original plugin's shortcomings, while extending it. Original: opencode-pty by shekohex.
You can build and debug full TUI applications (like plugins in OpenCode), including terminal resizing and mouse support.

image image
@BananaAcid
BananaAcid / README.md
Last active October 6, 2026 06:01
windows: start game on specific cores - UE4 games use 4 cores, so start on the last 4 of 12, to reduce stuttering, increase FPS and prevent lags when opening a browser or anything else

steam -> geme properties -> start options.

example for icarus:

cmd /C "set "MYPATH=%command%" && call set "MYPATH=%MYPATH:\icarus.exe=\Icarus\Binaries\Win64\Icarus-Win64-Shipping.exe%" && call start "Icarus on cores 9-12" /high /affinity F00 %MYPATH%"

note:

  • USUALLY a UE4 game uses 4 cores. A game may implement core C++ functions to access more cores.
@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?