Skip to content

Instantly share code, notes, and snippets.

View SheatNoisette's full-sized avatar
🖥️
Beep boop

SheatNoisette

🖥️
Beep boop
View GitHub Profile
@SheatNoisette
SheatNoisette / StringIterator.hx
Created June 13, 2019 10:23
Simple string iterator in Haxe
//Simple string iterator for 'for' loops
//Based on the work by Mark Knol, modifed by SheatNoisette.
//https://github.com/HaxeFoundation/code-cookbook
//Creative Common By Attribution 4.0
class StringIterator {
var input:String;
var step:Int;
var index:Int;
@SheatNoisette
SheatNoisette / pzr.py
Last active March 28, 2019 14:59 — forked from ColtonPhillips/pzr.py
Small refactoring and added simple CLI
from PIL import Image
import sys
def addUnique(l,item):
if item not in l:
l.append(item)
return l
def convertImage(image):