Skip to content

Instantly share code, notes, and snippets.

View heyLu's full-sized avatar

Luna Stadler heyLu

  • Leipzig
  • 04:35 (UTC +01:00)
View GitHub Profile
module Blueprint where
import Test.SmallCheck
import qualified Test.SmallCheck.Property
import Data.List ( inits )
fold_balanced :: b -> (b -> b -> b) -> [b] -> b
fold_balanced z f xs = case xs of
[ ] -> z
[x] -> x
@heyLu
heyLu / wel_fonty.svg
Created May 30, 2012 11:22
WEL 2012 draft something
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@heyLu
heyLu / weird-bug.log
Created June 24, 2012 16:45
Log for a weird bug (code written by myself ;)
2: 0 0
4: 5 5
6: 5 5
8: 3 3
11: 5 5
14: 5 5
16: 0 0
18: 0 0
21: 1 0
18:48:27.224 | main | INFO | model.Simulation >> Finished cycle 154
@heyLu
heyLu / research.md
Created June 27, 2012 04:32
Haha, fancy terms!
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace Tiled.World {
public class Circle {
public Point Center;
public int Radius;
public Circle(Point center, int radius) {
<configuration>
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/>
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/>
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/>
<dllmap os="linux" dll="alut.dll" target="libalut.so.0"/>
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/>
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" />
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" />
@heyLu
heyLu / mema.md
Created July 9, 2012 14:44
Medienmarketing (SS2012, HTWK Leipzig, Prof. Frank)

Alle Seitenangaben sind jeweils für das Gesamtskript, welches mit gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=mema.pdf mema_*.pdf aus den Folien von Prof. Frank zu erzeugen ist.

Definitionen

  • Marketing(-Management): S. 54
  • Marketingmix: S. 78
  • Medienmarketing: S. 79
@heyLu
heyLu / torchlight.log
Created September 19, 2012 10:54
Torchlight (HIB#6) crash log
lu ~/t/games/Torchlight$ ./Torchlight.bin.x86_64
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
@heyLu
heyLu / buffer_overflow.c
Created October 25, 2012 15:52
Buffer Overflows (short presentation/overview)
#include <stdio.h>
#include <stdbool.h>
struct exploitable {
char buf[10];
bool p0wned;
int num;
};
int main(void) {
@heyLu
heyLu / web-journey.md
Created November 8, 2012 11:07
Documenting the journey through my little corner of the Web

Documenting the journey through my little corner of the Web

  • today's web is mostly linking and loose quoting
  • i want to:
    • track my path
    • link to specific passages of articles
    • jot down notes on entire articles or specific passages in them
    • comment in-line (i.e. multi-user notes with context directly along the comment), whole-piece comments