Skip to content

Instantly share code, notes, and snippets.

@nahuakang
nahuakang / config
Created January 31, 2025 15:01 — forked from adibhanna/config
Ghostty config
font-family = BerkeleyMono Nerd Font
#font-family = Iosevka Nerd Font
# font-family = SFMono Nerd Font
font-size = 20
theme = GruvboxDarkHard
shell-integration-features = no-cursor,sudo,no-title
cursor-style = block
adjust-cell-height = 35%
# background-opacity = 0.96
@nahuakang
nahuakang / keybindings.json
Created January 19, 2025 21:01 — forked from wojukasz/CHANGELOG.md
VsCode + Vim keybindings and settings - best of both worlds
[
//
// VIM NAVIGATION SHORTCUTS
//
{
// "ctrl+h": Focuses on the left editor group when the text editor is focused, Vim extension is active, and Vim is not in Insert mode.
"key": "ctrl+h",
"command": "workbench.action.focusLeftGroup",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
@nahuakang
nahuakang / win32_handmade.jai
Last active January 4, 2025 23:22
Handmade Hero in Jai on Day 6
#import "Basic";
#import "Windows";
#import "Windows_Utf8";
#import "Gamepad";
//#import "Gamepad/Xinput"; // DON'T IMPORT THIS!
user32 :: #system_library "user32";
gdi :: #system_library "Gdi32";
@nahuakang
nahuakang / game.jai
Created December 17, 2024 14:01 — forked from colinbellino/game.jai
The game code for https://colinbellino.itch.io/monstrum-prison (engine/renderer and platform code not included)
#import "Basic";
#import "Random";
#import "Math";
#import "Sort";
#import "Flat_Pool";
#import "String";
#import "Tagged_Union"(DEBUG);
#import,dir "../engine"(
DEBUG = DEBUG,
MAX_SPRITES = 256,
package msms
import "core:c"
import "core:fmt"
import rl "vendor:raylib"
TARGET_FPS :: 60
TARGET_SCREEN_WIDTH: c.int = 1270
TARGET_SCREEN_HEIGHT: c.int = 720

Keybase proof

I hereby claim:

  • I am nahuakang on github.
  • I am nahua (https://keybase.io/nahua) on keybase.
  • I have a public key ASC9YMx32r5VuKEUHt3Qmcp8X3tHm1-vXhax2w4R5aYJewo

To claim this, I am signing this object: