- Pro: Both are production ready
- Pro: Can handle any throughput we will see
- Pro: More feature rich
- Healthchecks
- DNS and HTTP API available to map endpoints
- Lots of service discovery built in
- Pro: Solution could be used in more than one place (bld/prod/etc..)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
returncode: content != 0 | |
test: content not in ('charm-proof', 'make lint') | |
output: not content.startswith('bundletester failed') |
##Preview
Simple Dashing widget that displays all currently open pull requests across a GitHub organization.
##Usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import sys | |
import yaml | |
import subprocess | |
status_raw = subprocess.check_output(['juju', 'status']) |