This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"South": { | |
"Bear": { | |
"regions": [ | |
{ | |
"rows": 9, | |
"columns": 3, | |
"rowColOrigin": { "row": 1, "column": "A"}, | |
"vertices": [{"x": 2.45, "y": 14}, {"x": 5.45, "y": 23}] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# CS/CNS 171 Fall 2014 | |
# | |
# This is a template Makefile for OpenGL programs. Edit it however you find | |
# convenient. | |
# | |
# The current version of this file should compile OpenGL programs just fine on | |
# Debian-based Linux operating systems. | |
# | |
# If you run Mac OS or other distributions of Linux, then you may have to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <GL/glew.h> | |
#include <GL/glut.h> | |
#include <cmath> | |
#include <iostream> | |
#include <vector> | |
using namespace std; | |
struct Point |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example invocation: ./setup.sh dev baileys-cellar hamik us-east-1 | |
# Results: gets ID # of API, uses it to grab its SDK, unzips the archive into ../web/scripts directory, then removes archive | |
STAGE=$1 | |
STACK_NAME=$2 | |
AWS_PROFILE=$3 | |
REGION=$4 | |
MY_DIR=$(dirname $(greadlink -f $0)) | |
# Get the id string of the Bailey's Cellar API |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
good_status = ['undelegated', 'inactive', 'marketed', 'priced', 'transferable', 'premium'] | |
names = ['paprika', 'corn', 'face', 'wow'] | |
endings = ['co', 'com', 'io'] | |
key = 'key goes here' | |
headers = { | |
'X-Mashape-Key': key, |