Skip to content

Instantly share code, notes, and snippets.

View gabriel-nsiqueira's full-sized avatar

Gabriel Siqueira gabriel-nsiqueira

View GitHub Profile
@gabriel-nsiqueira
gabriel-nsiqueira / hgenerator.py
Created February 4, 2021 19:22
Generates headers using script.json from il2cpp dumper output
# Header Generator
import json
import re as regex
header = ""
def address(addr):
return "0x%X" % addr
@gabriel-nsiqueira
gabriel-nsiqueira / CooldownButton.cs
Last active January 19, 2021 18:00
CooldownButton for AmongUs mod
//In HudManager.Start, Initialize the class
//HudManager.Update, call CooldownButton.HudUpdate
public class CooldownButton
{
public static List<CooldownButton> buttons = new List<CooldownButton>();
public KillButtonManager killButtonManager;
private Color startColorButton = new Color(255, 255, 255);
private Color startColorText = new Color(255, 255, 255);
public Vector2 PositionOffset = Vector2.zero;
public float MaxTimer = 0f;
@gabriel-nsiqueira
gabriel-nsiqueira / custom.zsh-theme
Last active November 17, 2020 12:01
This is the zsh theme I use, this should be placed at your $ZSH_CUSTOM/themes directory
# GIT
GIT_PROMPT_PREFIX1=" %{$terminfo[bold]$fg[blue]%}on%{$reset_color%} "
GIT_PROMPT_PREFIX2="%{$terminfo[bold]$fg[magenta]%}:%{$terminfo[bold]$fg[yellow]%}"
GIT_PROMPT_SUFFIX="%{$reset_color%}"
GIT_PROMPT_DIRTY=" %{$terminfo[bold]$fg[red]%}✗%{$reset_color%}"
GIT_PROMPT_CLEAN=" %{$terminfo[bold]$fg[green]%}✔%{$reset_color%}"
# Git info
local git_info='$(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="${GIT_PROMPT_PREFIX1}%{$terminfo[bold]$fg[green]%}git${GIT_PROMPT_PREFIX2}"