Skip to content

Instantly share code, notes, and snippets.

View rchrand's full-sized avatar

Rune Hessner rchrand

View GitHub Profile
@rchrand
rchrand / style.css
Created November 12, 2012 16:25
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My website!</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description"
content="Placeholder, Placeholder" />
<meta name="keywords" content="Placeholder, placeholder" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
from Monster import Monster
from Person import Person
import random
from sys import exit
#class Person(object):
# def __init__(self, name):
# self.name = name
# self.life = 100
@rchrand
rchrand / gist:3731814
Created September 16, 2012 09:47
Java - int min
public int min(){
int minimum = list.get(0);
for (int i: list){
if (i <= minimum) {
minimum = i;
}
}
return minimum;
}