Skip to content

Instantly share code, notes, and snippets.

View hfuller's full-sized avatar
😎
Cool

Hunter Fuller hfuller

😎
Cool
View GitHub Profile
deb http://ftp.de.debian.org/debian stable main contrib non-free
#deb http://ftp.de.debian.org/debian-volatile stable/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security stable/updates main contrib non-free
#deb http://ftp.debian.org/debian stable-updates main
@hfuller
hfuller / Young Zombie
Last active October 10, 2015 08:38
Drinks
ok, here we go
this recipe makes roughly 9oz of drink
1 serving, if you will
Young Zombie
alcohol content may/will vary
3 oz rum of choice (i used cruzan white)
1oz peach daquiri mix stuff
1oz blue curacao
[162418] System: Available commands:
/me [text]
/topic [text]
/add [skypename+]
/alertson [text]
/alertsoff
/leave
/get creator
/get role
/whois [skypename]
@hfuller
hfuller / assignment2.c++
Created September 25, 2012 23:41
KH Assignment 2
#include <iostream>
using namespace std;
int n, i, j; //We initialize the variables.
//we don't give a shit what is in there (garbage atm)
int sum=0; //this time we DO care what it is. our sum starts at 0.
//I think main has to take parameters for it to be legal.
//I haven't coded C++ in a while, sorry.
@hfuller
hfuller / index.html
Created October 22, 2012 21:32
raffle number
<!DOCTYPE html>
<html>
<head>
<title>page title</title>
</head>
<body>
page content
</body>
</html>
<Document>
<!--Created with XmlGrid Free Online XML Editor (http://xmlgrid.net)-->
<Row>
<number>Marquette Cadillac Banquet</number>
<fname/>
<lname/>
</Row>
<Row>
<number>November 16, 2012</number>
<fname/>
public class GlobeRotaterThread implements Runnable {
public GlobeRotaterThread(Globe g) {
this.theObject = g;
}
@Override
public void run() {
<?php
$orig = file_get_contents("state.txt");
if ( array_key_exists("instant",$_REQUEST) ) {
die($orig);
}
while ( 1 )
{
$.get("get.php" + param)
.done(function(data){
$('#content').html(data);
$('#status').html("got request back, sleeping");
})
.fail(function(){
$('#status').html("request failed! reconnecting");
$('#failcount').html(($('#failcount').html())*1 + 1); //LOL JQUERY
//alert("BAD THINGS");
})
private function generate() {
$rs = $RANKS; $ts = $TYPES;
shuffle($rs) and shuffle($ts) or die("Failed to shuffle stuff");
$rsi = 0; //ranks index
$tsi = 0; //types index
for ( $i = 0; $i < $SIZE; $i++ ) {
if ( $i < $SIDE /*or we are on the left or right side*/) {
$this->getHex($i)->setType(Hex::Water);