Skip to content

Instantly share code, notes, and snippets.

View maxinne-dev's full-sized avatar
🏠
Working from home

Maxinne Schreiner maxinne-dev

🏠
Working from home
View GitHub Profile
@maxinne-dev
maxinne-dev / 4.1.chatmode.md
Created June 27, 2025 01:46 — forked from burkeholland/4.1.chatmode.md
4.1 Custom Mode - Reddit

SYSTEM PROMPT — GPT-4.1 Coding Agent (VS Code Tools Edition)

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Work using a todo list

You MUST manage your progress using a Todo List.

Follow these steps:

In this guide, we will find out how to create a new user using Service Account mechanism of Kubernetes, grant this user admin permissions and log in to Dashboard using bearer token tied to this user.

Create Service Account

We are creating Service Account with name my-admin-user in namespace kube-system first.

kubectl create serviceaccount my-admin-user -n kube-system
kubectl get sa
FROM alpine:3.16 AS builder
ENV VER="2.6.3"
LABEL maintainer="Jacob Lemus Peschel <[email protected]>"
RUN apk update --no-cache && apk add -U --no-cache \
automake autoconf groff file gawk tar gcc g++ ca-certificates \
libtool libsodium-dev linux-headers fortify-headers libltdl \
m4 make musl-dev pcre-dev perl sqlite-dev util-linux-dev libuuid
ARG CPPFLAGS="-D_FORTIFY_SOURCE=2"
ARG CFLAGS="-pipe -march=x86-64-v2 -O2 -fstack-protector-strong -fstack-clash-protection -fpic -ftree-vectorize"
@maxinne-dev
maxinne-dev / subnautica infection.md
Created July 23, 2024 21:13
For some reason they decided to delete this post: https://old.reddit.com/r/subnautica/comments/lmpbqy/spoilers_the_definitive_post_on_infection_game/, so I found a cached version and saved here to prevent losing it again.

[Spoilers] The Definitive Post on Infection Game Mechanics Discussion spoiler

The ideal time to secure many wrecks is while you are not infected, because warpers will not be aggressive. During a recent hardcore playthrough, I managed explore most of the map without infection, but then, while casually grabbing quartz in the grassy plateaus, my PDA advised a self-scan. I wasn't bitten by anything, and couldn't identify any real reason. I needed answers - specific answers.

Searching the internet yields a lot of extremely bad information. Lore-wise yes I'm sure "YoU WeRE inFEctED thE MomENt yOU JumPEd iN thE WAteR". But it's simply not true in terms of gameplay mechanics. The lack of definitive information regarding infection mechanics was frustrating. So I set out to determine exactly what causes infection, and only the game itself had that information so I cracked open the assembly and looked under the hood.

Things that will result in infection:

@maxinne-dev
maxinne-dev / excel_binary_madness.txt
Created January 18, 2022 00:33
Algumas horas de hiperfoco depois...
=LET(
BASE_62;LET(MAI;CARACTUNICODE(SEQUÊNCIA(1;26;65));MIN;CARACTUNICODE(SEQUÊNCIA(1;26;97));NUM;CARACTUNICODE(SEQUÊNCIA(1;10;48));CONCAT(MAI;MIN;NUM));
B64_FINAL;{"-"\"_"};
BASE_64;CONCAT(BASE_62;B64_FINAL);
LARGURA_ORIGEM;8;
LARGURA_DEST;6;
RAW_BITS;LET(
BRUTO;B2;
TRECHO_INI;10;
TRECHO_QTD;9;