Skip to content

Instantly share code, notes, and snippets.

#include<windows.h>
#include<iostream>
#include <cmath>
#include <conio.h>
using namespace std;
int main()
{
//Get a console handle
PFont f;
float ox;
float oy;
int bg = 0;
int minRadius = 20;
int maxRadius = 200;
char[] letters = explode("Hello!");
int numberOfObjects = letters.length;
import processing.sound.*;
SinOsc sin = new SinOsc(this);
float flakeSize;
int numberOfFlakes = 500;
int maxSize = 10;
color bg = #000044;
color fg = #FFFFFF;
@Erendis42
Erendis42 / mapper.txt
Created March 9, 2017 10:00
custom DOSBox keymap file for Lands of Lore (maps ASD QWE to keypad 456 789, everything else unchanged)
hand_shutdown "key 290 mod1"
hand_capmouse "key 291 mod1"
hand_fullscr "key 13 mod2"
hand_pause "key 19 mod2"
hand_mapper "key 282 mod1"
hand_speedlock "key 293 mod2"
hand_recwave "key 287 mod1"
hand_caprawmidi "key 289 mod1 mod2"
hand_scrshot "key 286 mod1"
hand_video "key 286 mod1 mod2"
Walk : Jog Reps Total Total Total Freq
Walking Jogging Time
WEEK min of min min total # workouts
Walk:Jog min per week
1 4 : 1 3 12 3 15 3
2 4 : 2 3 12 6 18 3
3 3 : 2 4 12 8 20 3
4 3 : 3 4 12 12 24 3
@Erendis42
Erendis42 / gist:3559692
Created August 31, 2012 21:54
filetypes.asm geany custom syntax highlighting for nasm 32 bit
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=0x000000;0xffffff;false;false
comment=0x808080;0xffffff;false;false
number=0x007f00;0xffffff;false;false
string=0xff901e;0xffffff;false;false
operator=0x000000;0xffffff;false;false
identifier=0x880000;0xffffff;false;false
cpuinstruction=0x111199;0xffffff;true;false