Skip to content

Instantly share code, notes, and snippets.

View pedesen's full-sized avatar

Patrick Dehn pedesen

  • camunda services GmbH
  • Berlin, Germany
View GitHub Profile
@pedesen
pedesen / ghost.js
Last active August 15, 2020 23:07
Espruino Pac Man ghost animation
// Espruino Pac man ghost animation
// check this for more info: https://www.espruino.com/Graphics
const ghost = [`
####
########
##########
# #### ###
## ##
## #### ##
@pedesen
pedesen / spec.js
Last active February 9, 2016 14:09
PropertiesPanel test case structure
describe('feature', function() {
describe('subfeature', function() {
describe('in the DOM', function() {
it('should execute', function() {
// then
// TODO

Keybase proof

I hereby claim:

  • I am pedesen on github.
  • I am pedesen (https://keybase.io/pedesen) on keybase.
  • I have a public key whose fingerprint is 2557 02D9 05F8 F2AF 39A5 ABF9 F6F8 2561 8DC8 BA14

To claim this, I am signing this object:

import pygame
from sys import exit
from OpenGL.GL import *
from OpenGL.GLU import *
def reshape((width,height)):
glViewport(0, 0, width, height)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
gluPerspective(60, 1.0*width/height, 0.1, 1000.0)