Skip to content

Instantly share code, notes, and snippets.

View gamesbyangelina's full-sized avatar

Michael Cook gamesbyangelina

View GitHub Profile
@gamesbyangelina
gamesbyangelina / MurderAtTheManor.java
Created April 3, 2012 13:29
APACE Game Example (work in progress)
package ccg.angelina.staticgame;
import org.newdawn.slick.Animation;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import apace.PACGame;
import apace.model.Hotspot;
import apace.model.Item;
@gamesbyangelina
gamesbyangelina / heroname.py
Created June 14, 2013 04:27
Quick Python script that uses Tony Veale's Metaphor Magnet (http://ngrams.ucd.ie/metaphor-magnet-acl) to generate poetic descriptions of heroes. Nothing fancy, just playing around.
from xml.etree import ElementTree as ET
import urllib
import os
import itertools, random
plus = "%2B"
neg = "-"
def getText(nodelist):
rc = []
%I forget if you need pgfplots or if I have it for another reason...
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{figure}
\begin{tikzpicture}
void setup(){
//Make the canvas this big
size(1000,375);
int size = 50;
int canvasSize = 1000;
//Set the background color
background(76,55,25);
//Set the fill
@gamesbyangelina
gamesbyangelina / newsci-headlines
Last active March 27, 2020 18:09
New Scientist Headlines (Mar 13 - Sept 19)
Some planets may orbit a supermassive black hole instead of a star
This is almost certainly not what Denisovans looked like
UN climate summit: Scientists' messages to world leaders
A hat that zaps the scalp with electricity helps reverse male balding
Man sees the world in miniature after a stroke damages his brain
Do dads matter? Anna Machin on the fascinating science of fatherhood
People like the idea of a carbon tax - if the money is put to good use
Climate change will boost risk of extreme flooding in northern Europe
Fast swimming fish robot could perform underwater surveillance
Ad Astra: Pirates and space monkeys can't save dull space psychodrama
@gamesbyangelina
gamesbyangelina / yahoo-answers-mbmbam
Created October 8, 2019 13:31
MBMBAM Yahoo Answers (Ep 1 - 472, filtered)
I went on a first date with this guy; I didn’t know what to say to him?
What is the first song that comes to mind when I say the word “party”?
Can birds get allergies?
Why did my gf who said she loved me cheat on me rite in fornt of me and not care?
How long does it take to get THC out of your system if you only smoke on the weekends?
My girlfriend threw my dog off my balcony when I broke up with her Im not sure what to do?
Can toenails be swallowed?
Is it okay to bring jelly beans on a plane?
is masturbation create problem?
I’m in LOVE with Krista from Fern Gully. Are there any websites devoted to her?
@gamesbyangelina
gamesbyangelina / SignExample.py
Created January 7, 2020 13:15
Sign Creation Example, MCEdit/GDMC/pymclevel
from pymclevel import nbt
import time # for timing
from math import sqrt, tan, sin, cos, pi, ceil, floor, acos, atan, asin, degrees, radians, log, atan2, acos, asin
from random import *
from numpy import *
from pymclevel import alphaMaterials, MCSchematic, MCLevel, BoundingBox
from mcplatform import *
from pymclevel import TAG_String
from pymclevel import TAG_Int
from pymclevel import TAG_List
[
{
"paperurl": "http://myconference.org/papers/paper1.pdf",
"title": "Building Better Conferences With Discord",
"track": "Social",
"authors": "Michael Cook",
"pid": 1,
"zoom": "https://zoom.us/j/0123456789",
"time": "15:00-16:00",
"day": "January 1 - Wednesday"
@gamesbyangelina
gamesbyangelina / readme.txt
Created November 11, 2024 14:05
Two Vast And Trunkless Legs Of Stone (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@gamesbyangelina
gamesbyangelina / readme.txt
Created November 11, 2024 14:05
Two Vast And Trunkless Legs Of Stone (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html