This script will create stub files and build scripts for a federated wiki plugin.
./mkplugin.sh CoolThing
to make a CoolThing plugin. Learn more at plugins.fed.wiki.org.
# create page of conversatons | |
# cron: */5 * * * * (cd wiki/farm-8080/client; ruby trending.rb) | |
# deploy: scp trending.rb fed.wiki.org:wiki/farm-8080/client/ | |
require 'rubygems' | |
require 'json' | |
require 'pp' | |
def fetch endpoint |
# create page of conversatons | |
# cron: */5 * * * * (cd wiki/farm-8080/client; CSV='...' ruby roster.rb) | |
# deploy: scp roster.rb fed.wiki.org:wiki/farm-8080/client/ | |
require 'rubygems' | |
require 'json' | |
require 'csv' | |
require 'pp' |
# save a daily backup with a retention of one week | |
# usage: sh mkbackup.sh forage.ward.fed.wiki.org | |
site=$1 | |
day=`date +%a` | |
curl -s http://$site/system/export.json \ | |
> backups/$site.$day.export.json |
logs | |
sites | |
.DS_Store | |
*.numbers |
This script will create stub files and build scripts for a federated wiki plugin.
./mkplugin.sh CoolThing
to make a CoolThing plugin. Learn more at plugins.fed.wiki.org.
Hover shows employee details, dims more recent hires, and tallies office distribution of similarly senior staff. Adapted from Radial Tidy Tree by M. Bostock. block