Skip to content

Instantly share code, notes, and snippets.

@joshuamckenty
joshuamckenty / CreateUiDefinition.json
Created February 29, 2016 18:20
testing ui definition
{
"handler": "Microsoft.Compute.MultiVm",
"version": "0.0.1-preview",
"parameters": {
"basics": [{
"name": "storageAccountName",
"type": "Microsoft.Common.TextBox",
"label": "New Storage Account Name",
"defaultValue": "",
"constraints": {
@joshuamckenty
joshuamckenty / KeyBase Proof
Created August 7, 2014 23:42
KeyBase Proof
### Keybase proof
I hereby claim:
* I am joshuamckenty on github.
* I am jmckenty (https://keybase.io/jmckenty) on keybase.
* I have a public key whose fingerprint is 7F34 B139 244F 7A00 99AD 26AD C09D FCE1 4157 9708
To claim this, I am signing this object:
@joshuamckenty
joshuamckenty / havana-capabilities.py
Created May 21, 2014 19:52
List of OpenStack Capabilities as of Havana
import requests
foo = requests.get("https://raw.githubusercontent.com/stackforge/refstack/master/defcore/havana/capabilities.json")
capabilities = foo.json()
for capability in capabilities:
print "%s : %s" % (capabilities[capability]['domain'], capability)
@joshuamckenty
joshuamckenty / cf.yml.template
Last active January 4, 2016 08:09
cf.yml.template
---
name: cf
director_uuid: $BOSH_UUID
releases:
- name: cf
version: 147
- name: cf-services-contrib
version: latest
- name: admin-ui
@joshuamckenty
joshuamckenty / bat-openstack-dynamic.yml.template
Created January 24, 2014 05:47
bat-openstack-dynamic.yml.template
---
cpi: openstack
properties:
static_ip: $bat_floating_ip # floating IP to use for the bat-release jobs
uuid: $BOSH_UUID # BAT_DIRECTOR UUID
pool_size: 1
stemcell:
name: bosh-openstack-kvm-ubuntu
version: 1840
instances: 1
@joshuamckenty
joshuamckenty / replace.sh
Created January 24, 2014 05:02
replace.sh
#!/bin/bash
if [ $# -ne 3 ]; then
echo "USAGE:
./$0 template.txt destination.txt variables.txt"
exit 1
fi
echo "#!/bin/bash
cat > $2 << EOF
`cat $1`
EOF" > $2;
@joshuamckenty
joshuamckenty / micro_bosh.yml.template
Last active January 4, 2016 07:39
micro_bosh.yml.template
---
name: microbosh-openstack
logging:
level: DEBUG
network:
type: manual
vip: $allocated_floating_ip
ip: $static_ip
@joshuamckenty
joshuamckenty / COUNTING.rst
Last active December 21, 2015 03:29
COUNTING.RST Our community (being OpenStack) is guided primarily by aspirational standards, rather than expository regulations. We have HACKING.rst for coding style. This is a proposed COUNTING.rst to talk about how we measure ourselves. It's based on conversations I had with Stefano Maffuli and others, after the launch of Stackalytics.com and s…

COUNTING.RST

Open Source projects and communities, like most things, are full of humans. Humans have egos.

WE FOCUS ON the CARROT, and not the STICK
  • COUNT things in a way to PRAISE many, without CONDEMNING some.
  1. Count all the things
  • Don't report on just coding
@joshuamckenty
joshuamckenty / openstack-election-analysis.txt
Created August 25, 2012 16:57
A cursory analysis of cumulative voting and its (side) effects in OpenStack elections
Also known as, why Tristan Goode is on the Foundation Board, while Mark
McLoughlin, Dan Wendlandt and Andrew Clay Shafer aren't.
(As a preface - I'm delighted that Tristan is going to be on the board. This
is in no way any commentary about whom *should* or *shouldn't* be anywhere,
simply some observations of the effects of our voting mechanism).
I did a quick calculation of the average number of votes cast per voter, for each
candidate in the Individual Members Election. (You can see my charts at
https://docs.google.com/spreadsheet/ccc?key=0Av62KoL8f9kAdGh6dGQ2Yjg5dFhXUFFlSFZOZUstUGc).