For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
#!/usr/bin/python | |
import os | |
import sys | |
import yaml | |
import subprocess | |
status_raw = subprocess.check_output(['juju', 'status']) |
alias sb_start="sudo start starbound" | |
alias sb_stop="sudo stop starbound" | |
alias sb_restart="sb_stop;sb_start" | |
alias sb_update="sudo /home/ribesg/sb_update" | |
alias sb_online="netstat -nt | grep -c 21025" | |
alias sb_status="sudo status starbound" |
#!/usr/bin/python | |
""" | |
Juju fails to update addresses in relations when those addresses | |
change. This script can be used to propagate address changes on a | |
unit to all of its relations and related units. | |
This is a workaround for http://pad.lv/1215579 | |
You need to transfer this file to all the units with changed addresses |
##Preview
Simple Dashing widget that displays all currently open pull requests across a GitHub organization.
##Usage
returncode: content != 0 | |
test: content not in ('charm-proof', 'make lint') | |
output: not content.startswith('bundletester failed') |
# make sure that you have the R package `ggmap` installed | |
curl -s http://api.citybik.es/citi-bike-nyc.json > citibikes.json | |
< citibikes.json jq -r '.[] | [.lat/1000000,.lng/1000000,.bikes] | @csv' | header -a lat,lng,bikes > citibikes.csv | |
< citibikes.csv Rio -vge 'require(ggmap); qmap("NYC", zoom=14) + geom_point(data=df, aes(x=lng, y=lat, size=bikes))' > citibikes.png |
[hekad] | |
maxprocs = 4 | |
# Heka dashboard for internal metrics and time series graphs | |
[Dashboard] | |
type = "DashboardOutput" | |
address = "ec2-54-215-139-238.us-west-1.compute.amazonaws.com:4352" | |
ticker_interval = 15 | |
[tcp_carbon] |