Skip to content

Instantly share code, notes, and snippets.

View Pinjontall94's full-sized avatar
🌱
Doing

Sam Johnson Pinjontall94

🌱
Doing
View GitHub Profile
@Pinjontall94
Pinjontall94 / gameloop.js
Created August 6, 2025 18:19
gameloop.js
let fps = 0;
let current = performance.now();
let last = performance.now();
let elapsed = 0;
function tick() {
window.requestAnimationFrame(() => {
current = performance.now()
elapsed = current - last;
last = current;
@Pinjontall94
Pinjontall94 / config
Created February 18, 2026 17:27
sway-config
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@Pinjontall94
Pinjontall94 / Dockerfile
Created February 28, 2026 16:29
GNUstep Objective-C Dockerfile
FROM alpine:3.23
WORKDIR /app
ENV CMAKE_FLAGS "-DCMAKE_TOOLCHAT_PREFIX=llvm- -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_OBJC_COMPILER=/usr/bin/clang -DCMAKE_OBJCXX_COMPILER=/usr/bin/clang++"
RUN apk update && apk upgrade && apk add \
cmake git build-base llvm clang gcc-objc libobjc autoconf automake \
freetype-dev cairo-dev libxt-dev libxml2-dev libxslt-dev \
gnutls-dev icu-dev
@Pinjontall94
Pinjontall94 / GNUstep Source Build Instructions.md
Last active March 18, 2026 12:21
GNUstep Source Build Instructions

GNUstep Source Build Instructions

Author: Sammi Johnson

PGP: F623 E4C6 CA87 6A5B C825 CDEE 496A F63E FB0B 589F

Date: 18.03.2026

Install Dependencies

Required Packages:

  • git
@Pinjontall94
Pinjontall94 / Minecraft-Unix.md
Created March 29, 2026 10:57
Vanilla Minecraft Unix Tutorial

Minecraft Server Unix Tutorial

Courtesy of/inspired by linuxize

0. Install dependencies

$ sudo apt update
$ sudo apt install git build-essential openjdk-21-jre-headless