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 / 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
@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 / 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 / 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 / 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 / nginx.conf
Created June 13, 2025 19:41
Nginx boilerplate
# nginx automatically determines # of processes
worker_processes auto;
# each worker can handle this many active connections
events {
worker_connections 1024;
}
# handle http requests
http {
@Pinjontall94
Pinjontall94 / .edwin
Created June 2, 2025 00:48
Basic edwin (MIT-Scheme) config
;; fix the tiny font to 18pt liberation mono
((ref-command set-font) "-misc-liberation mono-medium-r-normal--0-180-0-0-m-0-iso8859-1")
@Pinjontall94
Pinjontall94 / guix.scm
Last active May 15, 2025 02:03
s3fh-1.0.1_guix.scm
(define-module (gnu packages s3fh)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build utils)
#:use-module (guix licenses)
#:use-module (guix gexp)
@Pinjontall94
Pinjontall94 / guix.scm
Last active May 15, 2025 20:06
hercules-390-v4.0.0-rc0_guix.scm
(define-module (gnu packages hercules)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build utils)
#:use-module (guix licenses)
#:use-module (guix gexp)
; SPDX-FileCopyrightText: 2025 Sammi Johnson <[email protected]>
;
; SPDX-License-Identifier: AGPL-3.0-or-later
;; Example metaconfig for Guile autotools projects
;; Usage:
;; Hand to sconfig/ac to construct an ac obj, then either:
;; REPL:
;; (ac-obj 'output "filename")
;; SHELL: