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
    
  
  
    
  | /* Stratum 2 Web Bold */ | |
| @font-face { | |
| font-family: 'Stratum2WebBold'; | |
| src: url('fonts/Stratum2Web/Stratum2WebBold.eot'); | |
| src: url('fonts/Stratum2Web/Stratum2WebBold.eot?#iefix') format('embedded-opentype'), | |
| url('fonts/Stratum2Web/Stratum2WebBold.woff2') format('woff2'), | |
| url('fonts/Stratum2Web/Stratum2WebBold.woff') format('woff'); | |
| font-weight: 700; | |
| font-style: normal; | |
| } | 
  
    
      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
    
  
  
    
  | { | |
| "name": "<user/org>/<repo name>", | |
| "type": "wordpress-plugin", | |
| "license": "", | |
| "description": "", | |
| "homepage": "https://github.com/<user/org>/<repo name>", | |
| "authors": [ | |
| { | |
| "name": "Nick Breslin", | |
| "email": "nickbreslin@gmail.com", | 
  
    
      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
    
  
  
    
  | mkdir tintin | |
| cd tintin | |
| sudo apt-get install build-essential | |
| sudo apt-get build-dep tintin++ | |
| wget http://downloads.sourceforge.net/tintin/tintin-2.01.1.tar.gz | |
| tar -zxvf tintin-2.01.1.tar.gz | |
| cd /tt/src | |
| ./configure | |
| sudo make install | 
  
    
      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
    
  
  
    
  | # Generate Docs on master branch | |
| # Switch to github pages, copy over new documentation | |
| # Publish, then switch back to master | |
| vendor/bin/phpdoc -d src/ -t docs_new | |
| git checkout gh-pages | |
| rm -rf docs/ | |
| cp -r docs_new docs | |
| git add docs/ | |
| git commit -m 'Documentation Sync' | 
  
    
      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
    
  
  
    
  | #***************************************************************** | |
| # Updating | |
| #***************************************************************** | |
| apt-get update -yqq | |
| apt-get install python-pip -yqq; | |
| pip install awscli; | |
| debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'" | 
  
    
      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
    
  
  
    
  | usermod -a -G ftp tony | |
| #add existing user to existing group. Adds as non-primary. | |
| sudo chown -R www-data /%path%/ | |
| sudo chgrp -R www-data /%path%/ | |
| sudo chmod -R g+w /%path%/ | 
  
    
      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
    
  
  
    
  | $states = array( | |
| "al" => "alabama" | |
| ,"ak" => "alaska" | |
| ,"az" => "arizona" | |
| ,"ar" => "arkansas" | |
| ,"ca" => "california" | |
| ,"co" => "colorado" | |
| ,"ct" => "connecticut" | |
| ,"de" => "delaware" | |
| ,"fl" => "florida" | 
  
    
      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
    
  
  
    
  | $expiry = 86400; // expiry is in seconds. | |
| if ($results = apc_fetch($key)) { | |
| } else { | |
| $results = someFunction(); | |
| apc_add($key, $results, $expiry); | |
| } | |
| //$results will either be fetched from cache, or generated and stored. | 
  
    
      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
    
  
  
    
  | using UnityEngine; | |
| using System.Collections; | |
| public class Zone : MonoBehaviour { | |
| void OnTriggerEnter(Collider c) { | |
| if(transform.tag == "Part") { | |
| Destroy(gameObject); | 
  
    
      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
    
  
  
    
  | using UnityEngine; | |
| using System.Collections; | |
| public class CSVReader : MonoBehaviour { | |
| public TextAsset file; | |
| public GameObject[] hexagons; | |
| void Awake() { | |
NewerOlder