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
@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'); ?>
@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-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-area.php
Last active December 29, 2015 23:48
#concrete5 #theme Area
<?php
$a = new Area('REPLACE_ME');
$a->display($c);
?>
@tamcgoey
tamcgoey / c5-define.php
Last active December 29, 2015 23:48
#concrete5 header define
defined('C5_EXECUTE') or die("Access Denied.");
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
@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
@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