This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import sys | |
def addUnique(l,item): | |
if item not in l: | |
l.append(item) | |
return l | |
def convertImage(image): |
NewerOlder