Skip to content

Instantly share code, notes, and snippets.

@robertpfeiffer
robertpfeiffer / headers.txt
Created September 27, 2011 11:06
XeTex für Org Mode
#+LATEX_CMD: xelatex
#+LATEX_HEADER: \setmainfont[Mapping=tex-text]{Gentium}
#+LATEX_HEADER: \setdefaultlanguage{german}
@robertpfeiffer
robertpfeiffer / FlxYarn.hx
Created December 11, 2015 17:39
Flixel+Yarn base code for Ludum Dare
//COPYRIGHT (c) 2015 Robert Pfeiffer
//ALL RIGHTS RESERVED
package;
import flixel.FlxG;
import flixel.FlxObject;
import flixel.FlxSprite;
import flixel.FlxState;
import flixel.text.FlxText;
@robertpfeiffer
robertpfeiffer / readme.txt
Created April 10, 2020 19:34
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created April 10, 2020 19:30
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created April 10, 2020 19:02
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@robertpfeiffer
robertpfeiffer / readme.txt
Created April 10, 2020 18:55
_______________ (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
# Copyright (c) 2020 Robert Pfeiffer
# Terminal simulator
import pygame
pygame.init()
screen=pygame.display.set_mode((640,480), pygame.SCALED)
clock=pygame.time.Clock()
class Terminal(object):
import pygame
import sys
import webm_recording
from yarn.ninepatch import NinePatchTemplate
from yarn.jrpg_froentend import Dialogue
pygame.init()
screen=pygame.display.set_mode((320,240), pygame.SCALED)
group=pygame.sprite.Group()
(use 'clojure.algo.generic.arithmetic)
(use '[de.blubberquark.autodiff.core :only [derivative]])
(defn fun [x]
(reduce *
(for [i (range 20)] (+ x(* x i)))))
(fun 3N)
((derivative fun) 3N)
libxml2-dev zlib1g-dev libcurl4-gnutls-dev libc6-dev libfreetype6-dev libgdal1-dev libgif-dev libxi-dev libxmu-dev freeglut3-dev libcoin60-dev libjasper-dev libjasper-dev libjpeg62-dev libc6-dev libopenal-dev libgl1-mesa-dev libglu1-mesa-dev libpng12-dev libc6-dev libtiff4-dev libxine-dev zlib1g-dev git subversion git-svn cmake checkinstall build-essential