Skip to content

Instantly share code, notes, and snippets.

View kalexmills's full-sized avatar

Alex Mills kalexmills

View GitHub Profile
@simonista
simonista / .vimrc
Last active July 21, 2024 14:41
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
package com.github.drewnoff.algorithm
import scala.reflect.ClassTag
import scala.math.max
trait Associative[A] {
def id: A
def op(a: A, b: A): A
}
@tmathews
tmathews / nine-patch.go
Created July 14, 2023 18:28
Ebiten 9 Patch
package main
import (
"image"
"github.com/hajimehoshi/ebiten/v2"
)
type NinePatch struct {
tiles [9]*ebiten.Image