Skip to content

Instantly share code, notes, and snippets.

View markjoshwel's full-sized avatar

mark markjoshwel

  • student, ngee ann polytechnic
  • Singapore
View GitHub Profile
@pbhogan
pbhogan / AspectRatioPanel.cs
Last active April 23, 2026 14:41
Unity UI-Toolkit Aspect Ratio Preserving Panel
/*
This is free and unencumbered software released into the public
domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
@Obydux
Obydux / Fabric-Quilt-Server-Optimization.md
Last active May 27, 2026 09:30
Fabric/Quilt Server Optimization

Fabric/Quilt Server Optimization

This has updated for 1.20.4, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.

Mods

@prologic
prologic / LearnGoIn5mins.md
Last active March 23, 2026 03:33
Learn Go in ~5mins
@lambda-mike
lambda-mike / kakoune_cheatsheet.md
Last active February 10, 2026 20:10
My Kakoune cheatsheet

Kakoune

set verbose mode (good for learning) :set -add global autoinfo normal

Movement

Goto

10g - go to line 10

@adrusi
adrusi / generator.zig
Last active March 10, 2024 15:09
Generators in Zig 0.6.0
const std = @import("std");
const debug = std.debug;
const builtin = @import("builtin");
const TypeInfo = builtin.TypeInfo;
const TypeId = builtin.TypeId;
/// Iterator based on async functions. Equivalent to generators in Python,
/// Javascript, etc.
///
@mstevenson
mstevenson / lfs.gitattributes
Last active February 21, 2025 18:09
Git LFS attributes file for Unity, Maya and ZBrush
# unity
*.unitypackage filter=lfs diff=lfs merge=lfs -text
*.cubemap filter=lfs diff=lfs merge=lfs -text
*.spm filter=lfs diff=lfs merge=lfs -text
# models
*.mb filter=lfs diff=lfs merge=lfs -text
*.MB filter=lfs diff=lfs merge=lfs -text