Skip to content

Instantly share code, notes, and snippets.

View ritzierwizard's full-sized avatar

Joshua Antikainen ritzierwizard

View GitHub Profile
@ritzierwizard
ritzierwizard / Makefile
Created January 29, 2026 05:21
Odin template Makefile
# Project Settings
PROJECT_NAME := arcade-shooter
SOURCE_DIR := .
BUILD_DIR := .
EXE_NAME := $(PROJECT_NAME)
# Compiler and Flags
ODIN := odin
BUILD_FLAGS := -o:minimal -linker:mold -show-timings
BUILD_DEBUG_FLAGS := -debug -linker:mold -show-timings
@ritzierwizard
ritzierwizard / main.odin
Created January 28, 2026 22:05 — forked from SorenSaket/main.odin
GLFW, OpenGL Window Tutorial in Odin language
// GLFW and OpenGL example with very verbose comments and links to documentation for learning
// By Soren Saket
// semi-colons ; are not requied in odin
//
// Every Odin script belongs to a package
// Define the package with the package [packageName] statement
// The main package name is reserved for the program entry point package
// You cannot have two different packages in the same directory
@ritzierwizard
ritzierwizard / .zshrc
Last active January 29, 2026 05:24
A basic .zshrc file
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
export MENU_COMPLETE=true
# source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Enable zsh highlighters
# ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)