Skip to content

Instantly share code, notes, and snippets.

View catarak's full-sized avatar
🌈
it's a unix system, i know this

Cassie Tarakajian catarak

🌈
it's a unix system, i know this
View GitHub Profile
{
"Version": "2008-10-17",
"Id": "Policy1397632521960",
"Statement": [
{
"Sid": "Stmt1397633323327",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
@catarak
catarak / app.py
Last active March 6, 2016 17:46
Partial Server-Side code for water level meter
from flask import Flask, jsonify
import threading
import time
import requests
import json
app = Flask(__name__)
max_num_entries = 25
current_entry = 0
#this array will store the last 25 values of the water meter
@catarak
catarak / Makefile
Last active August 29, 2015 14:01
Battleship
# Cassie Tarakajian, [email protected]
CXXFLAGS=-pedantic -Wall -Wextra -std=c++11 -Wabi -Weffc++ -Wctor-dtor-privacy -Wold-style-cast -Woverloaded-virtual -Wsign-promo
all: battle
battle: battle.cc ship.o board.o ocean_board.o target_board.o computer_player.o game_manager.o
ship.o: ship.h ship.cc
board.o: board.h ship.h board.cc