Skip to content

Instantly share code, notes, and snippets.

View niklaskorz's full-sized avatar
🐢
Turtle

Niklas Korz niklaskorz

🐢
Turtle
View GitHub Profile
@niklaskorz
niklaskorz / setlx.json
Last active August 27, 2018 15:24
SetlX Scoop Manifest
{
"homepage": "https://randoom.org/Software/SetlX",
"description": "setlX is an interpreter for the high level programming-language SetlX (set language extended)",
"version": "2.7.0",
"license": "BSD-3-Clause",
"url": "http://download.randoom.org/setlX/pc/setlX_v2-7-0.binary_only.zip",
"hash": "876c8aad46fc8c08e71d55fc0e6b9a46d753f16ea9655d1beae76d170b1f2de3",
"bin": "setlX.cmd",
"suggest": {
"JDK": [
declare namespace shaka {
namespace media {
/**
* Creates an InitSegmentReference, which provides the location to an initialization segment.
*/
class InitSegmentReference {
/**
* Creates an InitSegmentReference, which provides the location to an initialization segment.
* @param uris A function that creates the URIs of the resource containing the segment.
* @param startByte The offset from the start of the resource to the start of the segment.
namespace shaka {
namespace media {
class InitSegmentReference {
/**
* Creates an InitSegmentReference, which provides the location to an
initialization segment.
* @param uris A function that creates the URIs of the resource containing the segment.
* @param startByte The offset from the start of the resource to the
start of the segment.
* @param endByte The offset from the start of the resource to the
/***/ 121:
/***/ function(module, exports, __webpack_require__) {
"use strict";
var GameLoop = (function () {
function GameLoop() {
this.simulationStep = 1000 / 60;
this.frameDelta = 0;
this.lastFrameTimeMs = 0;
this.fps = 60;

Keybase proof

I hereby claim:

  • I am niklaskorz on github.
  • I am nyk (https://keybase.io/nyk) on keybase.
  • I have a public key ASCreUwP-As8m_gjkuDYvmarjGCmTCaMkSywnoA4oK6aqgo

To claim this, I am signing this object:

Polymer 'proto-element',
name: 'Me'
age: 20
color: '#0000ff'
publish:
valueless:
value: false
reflect: true
nameChanged: ->
if @name
from time import sleep
w, h = world.getSizeX(), world.getSizeY()
grid = {}
def set_grid(x, y, val):
if x not in grid:
grid[x] = {}
grid[x][y] = val
from plex import *
from washr.parser.types import Variable, BlockStart, BlockEnd
from cStringIO import StringIO
left_edge = Str("{")
right_edge = Str("}")
block_token = NoCase(Str("block:"))
@niklaskorz
niklaskorz / error.py
Created August 17, 2013 15:55
There has to be a better way, right?
@app.errorhandler(400)
@app.errorhandler(401)
@app.errorhandler(402)
@app.errorhandler(403)
@app.errorhandler(404)
@app.errorhandler(405)
@app.errorhandler(406)
@app.errorhandler(407)
@app.errorhandler(408)
@app.errorhandler(409)
from __future__ import print_function
from ply import lex, yacc
tokens = (
"LBRACE", "RBRACE", "LBRACKET", "RBRACKET", "COLON",
"STRING", "INT", "FLOAT", "COMMA", "NULL", "TRUE", "FALSE",
"WHITESPACE"
)
t_LBRACE = r"\{"