I hereby claim:
- I am andrewfhart on github.
- I am andrewfhart (https://keybase.io/andrewfhart) on keybase.
- I have a public key ASAtWf8MfyTHeOSd2tzCpSh5r9XRCeHQc4tureaUk-EY0Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import tornado.ioloop | |
import tornado.web | |
import tornado.httpclient | |
from tornado import gen | |
''' | |
Simple tornado server that requests events from https://api.seatgeek.com/events | |
All requests are asynchronous |
# The following instructions outline the process for getting | |
# Apache OODT Balance up and running on a new machine, | |
# including installing the "profile" module. | |
# | |
# Full docs / source @ https://github.com/apache/oodt/tree/master/balance/etc/skel | |
# | |
# | |
# Get required PEAR classes installed on your system | |
(sudo) pear channel-discover pear.apache.org/oodt | |
(sudo) pear remote-list -c oodt |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Enumerate the possible players in the game. Each is given | |
* a unique prime integer so that the math involved with determining | |
* available winning moves on the board is made easier. | |
* |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Enumerate possible states the game can be in. The game is either | |
* 0 IN_PROGRESS - neither player has won, and there are still valid moves | |
* 1 USER_WON - user won by matching three in a row | |
* 2 COMPUTER_WON - computer won by matching three in a row |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Draw a 3x3 tic-tac-toe board with row and column labels | |
* The cell data in board will be interpreted as follows: | |
* 1 = owned by 'x' | |
* 2 = owned by 'o' |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Draw a 3x3 tic-tac-toe board with row and column labels | |
* The cell data in board will be interpreted as follows: | |
* 1 = owned by 'x' | |
* 2 = owned by 'o' |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Draw a 3x3 tic-tac-toe board with row and column labels | |
* The cell data in board will be interpreted as follows: | |
* 1 = owned by 'x' | |
* 2 = owned by 'o' |
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
using namespace std; | |
/** | |
* Draw a 3x3 tic-tac-toe board with row and column labels | |
* The cell data in board will be interpreted as follows: | |
* 1 = owned by 'x' | |
* 2 = owned by 'o' |
#include <iostream> | |
using namespace std; | |
/** | |
* Draw a 3x3 tic-tac-toe board with row and column labels | |
* The cell data in board will be interpreted as follows: | |
* 1 = owned by 'x' | |
* 2 = owned by 'o' | |
* all other values = empty | |
* |