Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# Waits for all machines to have joined cluster
# then starts Weave router on leader, and passes leader
# ip address to all other Weave launches.
#
# Usage: ./weave_startup.sh [clusterSize]
#
clusterSize=$1

Keybase proof

I hereby claim:

  • I am bigblue on github.
  • I am bigbluedev (https://keybase.io/bigbluedev) on keybase.
  • I have a public key whose fingerprint is CFFE 8A75 990F 550B 7BD2 84D4 9BF9 91AF C0E4 4A53

To claim this, I am signing this object:

require 'rubygems'
require 'anemone'
require 'builder'
sitemap = ""
xml = Builder::XmlMarkup.new(:target => sitemap, :indent=>2)
xml.instruct!
xml.urlset(:xmlns=>'http://www.sitemaps.org/schemas/sitemap/0.9') {
Anemone.crawl("http://www.example.com/", :discard_page_bodies => true) do |anemone|
# ====================
# Rails template built from a variety of sources - mostly suspenders template.
# Uses cached_externals plugin to manage plugins/gems
# Search and replace "CHANGEME" with your project name before running
# ====================
# ====================
# CONFIG
# ====================
plugin 'cached_externals', :git => "git://github.com/37signals/cached_externals.git"