Skip to content

Instantly share code, notes, and snippets.

View pigeonflight's full-sized avatar

David Bain pigeonflight

View GitHub Profile
@pigeonflight
pigeonflight / quickstart.rst
Last active August 29, 2015 13:56
Plone Dev Quickstart Notes

Make sure you have a Github.com and Nitrous.io Account

  1. set up your nitrous.io box's public key & fork collective.academicprogrammes on github
  2. in nitrous.io install plone by running the following command:

    curl -L http://goo.gl/DiYOM8 | bash

  3. edit the resulting workspace/zeocluster/develop.cfg file and add the following lines:

    # near line 64:

@pigeonflight
pigeonflight / your.package.test.cfg
Created March 21, 2014 22:49
example tests.cfg file, for setting up robotframework on Plone
[buildout]
parts += robot sphinx-build
package-name = your.package
package-extras = [test]
test-eggs = Pillow
versions = versions
[versions]
distribute =
setuptools =
@pigeonflight
pigeonflight / gist:9716018
Created March 22, 2014 23:26
plivo post example with curl
curl -u apiid:apikey -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"app_id":"xxxxxxxx"}' $url
@pigeonflight
pigeonflight / plone-on-codio-installer.sh
Created April 16, 2014 23:24
Plone Installer for Codio.com
# spinner borrowed from http://fitnr.com/showing-a-bash-spinner.html
spinner()
{
local pid=$1
local delay=0.75
local spinstr='|/-\'
while [ "$(ps a | awk '{print $1}' | grep $pid)" ]; do
local temp=${spinstr#?}
printf " [%c] " "$spinstr"
@pigeonflight
pigeonflight / gist:57d718b7a23499929f55
Last active August 29, 2015 14:00
replace the portal-globalnav menu with a tags and classes
<replace css:theme-children="nav.w-nav-menu">
<xsl:for-each css:select="ul#portal-globalnav li">
<a><xsl:attribute name="class">w-nav-link navlink
</xsl:attribute><xsl:attribute name="href"><xsl:value-of select="./a/@href" /></xsl:attribute>
<xsl:copy-of select="./a/text()" /></a>
</xsl:for-each>
</replace>
Navigation
Announcements
Meeting Documents
Information note for participants
Other
English
Spanish
French
Title
Select
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
</template>
<script>
#to checkout the instance, use the following commands
git clone git@github.com:plone/buildout.coredev.git barceloneta
cd barceloneta/
git checkout 5.0
git pull
python bootstrap.py
bin/buildout
# start start the instance
bin/instance fg
@pigeonflight
pigeonflight / index.html
Created July 3, 2014 09:41
index.html redirect
<html>
<head>
<title>Startup Robot</title>
<META http-equiv="refresh" content="0;URL=http://www.startuprobot.com/">
</head>
<body bgcolor="#ffffff">
</body>
</html>
Unit 1: Get Started with the GNOME Graphical Desktop
Objective: Get started with GNOME and edit text files with gedit
Unit 2: Manage Files Graphically with Nautilus
Objective: Manage files graphically and access remote systems with Nautilus
Unit 3: Get Help in a Graphical Environment
Objective: Access documentation, both locally and online
Unit 4: Configure Local Services
Objective: Configure the date and time and configure a printer
Unit 5: Manage Physical Storage I
Objective: Understand basic disk concepts and manage system disks