Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Cook gamesbyangelina

View GitHub Profile
View gist:8edb65f726377682423694861c8e07fe
[
{
"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 / SignExample.py
Created Jan 7, 2020
Sign Creation Example, MCEdit/GDMC/pymclevel
View SignExample.py
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
@gamesbyangelina
gamesbyangelina / yahoo-answers-mbmbam
Created Oct 8, 2019
MBMBAM Yahoo Answers (Ep 1 - 472, filtered)
View yahoo-answers-mbmbam
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 / newsci-headlines
Last active Mar 27, 2020
New Scientist Headlines (Mar 13 - Sept 19)
View newsci-headlines
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
View Processing Daily #1 - March 4th 2019
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
View Plotting Points as a Surface in Tikz Using GNUPlot and Octave
%I forget if you need pgfplots or if I have it for another reason...
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{figure}
\begin{tikzpicture}
@gamesbyangelina
gamesbyangelina / heroname.py
Created Jun 14, 2013
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.
View heroname.py
from xml.etree import ElementTree as ET
import urllib
import os
import itertools, random
plus = "%2B"
neg = "-"
def getText(nodelist):
rc = []
@gamesbyangelina
gamesbyangelina / MurderAtTheManor.java
Created Apr 3, 2012
APACE Game Example (work in progress)
View MurderAtTheManor.java
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;