Skip to content

Instantly share code, notes, and snippets.

View craigtracey's full-sized avatar

Craig Tracey craigtracey

View GitHub Profile
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="output" id="output">
<SimpleField name="FID" type="float"></SimpleField>
</Schema>
<Folder><name>output</name>
<Placemark>
<Style><LineStyle><color>0</color></LineStyle><PolyStyle>ff0000ff</PolyStyle></Style>
<ExtendedData><SchemaData schemaUrl="#output">
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="duplicate" id="duplicate">
<SimpleField name="ZCTA5CE10" type="string"></SimpleField>
<SimpleField name="AFFGEOID10" type="string"></SimpleField>
<SimpleField name="GEOID10" type="string"></SimpleField>
<SimpleField name="ALAND10" type="float"></SimpleField>
<SimpleField name="AWATER10" type="float"></SimpleField>
</Schema>
(ursulina)ctracey@ctracey-desktop:~/src/github.ibm.com/cmt/ursulina/.scratch/gilt$ gilt --config gilt.retr0h.yaml overlay --output-dir ggg
/home/ctracey/.gilt/clone
ansible-users:
- cloning ansible-users to /home/ctracey/.gilt/clone/251bfd15-2d52-45c7-8c0e-1f9fc0e9c370/ansible-users-db443a2
/home/ctracey/.gilt/clone/251bfd15-2d52-45c7-8c0e-1f9fc0e9c370/ansible-users-db443a2
ansible-role-nginx:
- cloning ansible-role-nginx to /home/ctracey/.gilt/clone/251bfd15-2d52-45c7-8c0e-1f9fc0e9c370/ansible-role-nginx-cc5cb82
/home/ctracey/.gilt/clone/251bfd15-2d52-45c7-8c0e-1f9fc0e9c370/ansible-role-nginx-cc5cb82
ansible.network_interface:
- cloning ansible.network_interface to /home/ctracey/.gilt/clone/251bfd15-2d52-45c7-8c0e-1f9fc0e9c370/ansible.network_interface-0cf8f22

Keybase proof

I hereby claim:

  • I am craigtracey on github.
  • I am craigtracey (https://keybase.io/craigtracey) on keybase.
  • I have a public key whose fingerprint is 3044 04DA BE1F E7D0 09B7 9C2C D8B7 ABD9 3B99 77A2

To claim this, I am signing this object:

#!/usr/bin/env bash
# ``stack.sh`` is an opinionated OpenStack developer installation. It
# installs and configures various combinations of **Cinder**, **Glance**,
# **Heat**, **Horizon**, **Keystone**, **Nova**, **Neutron**, and **Swift**
# This script's options can be changed by setting appropriate environment
# variables. You can configure things like which git repositories to use,
# services to enable, OS images to use, etc. Default values are located in the
# ``stackrc`` file. If you are crafty you can run the script on multiple nodes
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=9.00 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=51.4 ms
64 bytes from 192.168.1.1: icmp_seq=20 ttl=64 time=8171 ms
64 bytes from 192.168.1.1: icmp_seq=21 ttl=64 time=9029 ms
64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=8030 ms
64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=7031 ms
64 bytes from 192.168.1.1: icmp_seq=24 ttl=64 time=6031 ms
64 bytes from 192.168.1.1: icmp_seq=25 ttl=64 time=5032 ms
64 bytes from 192.168.1.1: icmp_seq=26 ttl=64 time=4032 ms
64 bytes from 192.168.1.1: icmp_seq=27 ttl=64 time=3033 ms
chef.json = {
:mysql => {
:server_debian_password => "password",
:server_root_password => "password",
:server_repl_password => "password"
},
:openstack => {
:developer_mode => true,
:memcached_servers => [],
:endpoints => {
@craigtracey
craigtracey / janky_image_builder
Last active December 31, 2015 07:09
Janky image builder
#!/bin/bash
set -e
NAME=$1
KICKSTART=$2
RPM_REPO=$3
BRIDGE="br100"
BRIDGE="virbr0"
function usage {
@craigtracey
craigtracey / gist:6943040
Created October 11, 2013 22:32
late_command.sh for preseeding udev net rules. MACs obfuscated to protect the guilty.
# this sucks, but I think we need it.
declare -A mac_devices
mac_devices["aa:bb:cc:dd:ee:ff"]="eth0"
mac_devices["bb:cc:dd:ee:ff:aa"]="eth1"
mac_devices["cc:dd:ee:ff:aa:bb"]="eth8"
mac_devices["dd:ee:ff:aa:bb:cc"]="eth9"
UDEV_NET_RULES="/etc/udev/rules.d/70-persistent-net.rules"
echo "# This file was at least partially configured via pressed late command" > $UDEV_NET_RULES
@craigtracey
craigtracey / gist:6941922
Created October 11, 2013 20:57
Preseed partitioning example
# Keyboard and locale
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us
# Network
d-i netcfg/choose_interface select eth0
d-i hw-detect/load_firmware boolean true
# Mirror