Skip to content

Instantly share code, notes, and snippets.

View tamcgoey's full-sized avatar
🛍️
shipping something...

Thomas Edgesmith tamcgoey

🛍️
shipping something...
View GitHub Profile
void tank_reset(Tank *tank)
{
if (tank->isFrontPage == TRUE)
{
tank->f_x = tank->x;
tank->f_y = tank->y;
}
else
{
@tamcgoey
tamcgoey / keybase.md
Created June 13, 2014 19:16
keybase.md

Keybase proof

I hereby claim:

  • I am tamcgoey on github.
  • I am tamcgoey (https://keybase.io/tamcgoey) on keybase.
  • I have a public key whose fingerprint is 7894 2F9C BF23 710D 027C C8D6 F9B4 DE37 9477 19DE

To claim this, I am signing this object:

@tamcgoey
tamcgoey / chef_solo_bootstrap.sh
Created May 20, 2012 01:25 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install
@tamcgoey
tamcgoey / chef_solo_bootstrap.sh
Created August 2, 2012 15:55 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@tamcgoey
tamcgoey / c5-define.php
Last active December 29, 2015 23:48
#concrete5 header define
defined('C5_EXECUTE') or die("Access Denied.");
@tamcgoey
tamcgoey / c5-theme-area.php
Last active December 29, 2015 23:48
#concrete5 #theme Area
<?php
$a = new Area('REPLACE_ME');
$a->display($c);
?>
@tamcgoey
tamcgoey / c5-theme-globalArea.php
Last active December 29, 2015 23:48
#concrete5 #theme Global Area
<?php
$a = new GlobalArea('REPLACE_ME');
$a->display();
?>
@tamcgoey
tamcgoey / c5-theme-getThemePath.php
Last active December 29, 2015 23:48
#concrete5 #theme Get Theme Path
<?php echo $this->getThemePath(); ?>
@tamcgoey
tamcgoey / c5-theme-getStyleSheet.php
Created December 2, 2013 04:00
#concrete5 #theme Get Style Sheet, used for editable styles
<?php echo $this->getStyleSheet('REPLACE_ME'); ?>