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
#!/bin/bash | |
export NVM_DIR=$HOME/.nvm; | |
source $NVM_DIR/nvm.sh; | |
# Check if xcode command line tools are installed (required) | |
if xcode-select -p &> /dev/null && xcrun --version &> /dev/null; then | |
echo "XCode command line tools are installed ✅" | |
else | |
echo "XCode command line tools need to first be installed. Please install them at the next prompt and then run this script again." |
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
// | |
// Default_VC.m | |
// Rise and Shine | |
// | |
// Created by new user on 11/2/11. | |
// Copyright 2011 Matthew Zaso. All rights reserved. | |
// | |
#import "Default_VC.h" |
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
<?php | |
function getChatData($roomNum){ | |
//need to pass in room number | |
$room=$roomNum; | |
//we could have an arg coming in as the gameId so I only get back | |
//the chat for that game... | |
//for now, this is what the json spitting out would look like: |
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
<?php | |
class P2_Utils | |
{ | |
// +++++++++++++++++++++++++++++++++++++++++++++++++++ | |
// Create the page doctype and initiate the body and wrapper tags | |
// +++++++++++++++++++++++++++++++++++++++++++++++++++ | |
public function page_header($title="Untitled", $style=""){ | |
$string=<<<END |
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
var xhtmlns = "http://www.w3.org/1999/xhtml"; | |
var svgns = "http://www.w3.org/2000/svg"; | |
var BOARDX = 50; //starting pos of board | |
var BOARDY = 50; //look above | |
var boardArr = new Array(); //2d array [row][col] | |
var pieceArr = new Array(); //2d array [player][piece] (player is either 0 or 1) | |
var BOARDWIDTH = 8; //how many squares across | |
var BOARDHEIGHT = 8; //how many squares down | |
//the problem of dragging.... | |
var myX; //hold my last pos. |
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
////////////////////////////////////////////////////// | |
// Class: Scorecard // | |
// Object that holds data for the user's rolls // | |
////////////////////////////////////////////////////// | |
// Scorecard constructor | |
function Scorecard(x,y,side,player) { | |
this.x = x; | |
this.y = y; |