This file contains 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
/* | |
do What The Fuck you want to Public License | |
Version 1.0, August 2015 | |
Copyright (C) 2015 Tomasz Kwolek. | |
www.pastez.com | |
www.cheerapp.pl | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. |
This file contains 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
#!/usr/bin/python | |
import sys, subprocess, getopt, math | |
import re, os | |
FORMAT_MICRO_DVD = "}" | |
FORMAT_MPL2 = "]" | |
MPLAYER_PATH = "/Applications/MPlayerX.app/Contents/Resources/MPlayerX.mplayer.bundle/Contents/Resources/x86_64/mplayer" | |
MOVIE_FORMATS = ['avi', 'mp4'] |
This file contains 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
import UIKit | |
//typealias GridSize = (w:Int, h:Int) | |
struct GridSize { | |
let w:Int | |
let h:Int | |
init(_ width:Int,_ height:Int) | |
{ |
This file contains 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
#!/usr/bin/python | |
import sys, getopt, math | |
FORMAT_MICRO_DVD = "}" | |
FORMAT_MPL2 = "]" | |
def addZero(ts): | |
if len(ts) < 2: | |
ts = '0' + ts |
This file contains 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
// Playground - noun: a place where people can play | |
import Cocoa | |
import SpriteKit | |
import XCPlayground | |
/** Possible values for new cells **/ | |
let kPossibleRandomValues = [2,4] | |
struct Position |