Skip to content

Instantly share code, notes, and snippets.

View pigeonflight's full-sized avatar

David Bain pigeonflight

View GitHub Profile
@pigeonflight
pigeonflight / buildout.cfg
Last active August 29, 2015 14:04
unep-buildout
[buildout]
eggs-directory=../buildout-cache/eggs
download-cache=../buildout-cache/downloads
extends = http://dist.plone.org/release/4.3-latest/versions.cfg
extensions = mr.developer
versions = versions
parts +=
instance
test
cp src/unep/setup.py .
cp src/unep/README.rst .
@pigeonflight
pigeonflight / unepsetup.sh
Last active August 29, 2015 14:04
UNEP project setup script
wget https://launchpad.net/plone/4.3/4.3.3/+download/Plone-4.3.3-UnifiedInstaller.tgz -O Plone-4.3.3-UnifiedInstaller.tgz
tar xvfz Plone-4.3.3-UnifiedInstaller.tgz
cd Plone-4.3.3-UnifiedInstaller
./install.sh standalone --target=$HOME/UNEPproject
cd $HOME/UNEPproject/zinstance
wget https://raw.githubusercontent.com/pigeonflight/UNEP.cartagenareportingtool/master/buildout.cfg -O buildout.cfg
bin/buildout
echo "you're all set"
echo "start with the following command:"
echo "---------------------------"
<?xml version="1.0"?>
<object name="labs" meta_type="Dexterity Container">
<criteria>
<criterion name="c7">
<property name="widget">text</property>
<property name="title">Lab Name</property>
<property name="position">top</property>
<property name="section">default</property>
<property name="hidden">0</property>
<property name="index">SearchableText</property>
##########################################################################
#### Script to copy install process explained in codio Plone tutorial
#### https://codio.com/s/docs/specifics/plone/
##########################################################################
#### Instructions
#### Option 1.
#### From the Codio Dashboard, create a new project and select the Git Tab
#### and then paste the following URL into the box
@pigeonflight
pigeonflight / lab.xml
Created August 27, 2014 12:58
Lab.xml model for model driven plone content type
<?xml version="1.0" ?>
<model xmlns="http://namespaces.plone.org/supermodel/schema"
xmlns:form="http://namespaces.plone.org/supermodel/form">
<schema>
<field name="lab_type" type="zope.schema.Set">
<description/>
<required>False</required>
<title>Lab Type</title>
@pigeonflight
pigeonflight / UNEP.cartagenareportingtool-setup.sh
Created September 10, 2014 13:42
UNEP.cartagenareportingtool-setup.sh
wget https://launchpad.net/plone/4.3/4.3.3/+download/Plone-4.3.3-UnifiedInstaller.tgz -O Plone-4.3.3-UnifiedInstaller.tgz
tar xvfz Plone-4.3.3-UnifiedInstaller.tgz
cd Plone-4.3.3-UnifiedInstaller
./install.sh standalone --target=$HOME/UNEPproject
cd $HOME/UNEPproject/zinstance
wget https://raw.githubusercontent.com/pigeonflight/UNEP.cartagenareportingtool/master/buildout.cfg -O buildout.cfg
bin/buildout
echo "you're all set"
echo "start with the following command:"
echo "---------------------------"
@pigeonflight
pigeonflight / installdocker.sh
Last active August 29, 2015 14:07
Install Docker on Red Hat Enterprise 6.5
yum update -y
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum -y install docker-io
service docker start
chkconfig docker on
[addon]
packages +=
Products.DocFinderTab
plone.reload
mr.bob
bobtemplates.niteoweb
# packages to fix strange paster dependencies
plone.directives.form
plone.directives.dexterity
John Doe
Master of Posing
John is our resident poser. Yes, that's what he does. Whenever we need someone to pose for a picture we call John. He started posing at an early age and mastered the skill while attending college. He is the head instructor for our classes on the art of posing.
His favourite food is naseberry and he enjoys playing cricket.