Keybase proof
I hereby claim:
- I am nstielau on github.
- I am nstielau (https://keybase.io/nstielau) on keybase.
- I have a public key ASBLS8dyezbtA0oWJmVJf9VCAzkvB0d9ZXhtzCY8fwhj-Qo
To claim this, I am signing this object:
# Send a metric to statsd from bash | |
# | |
# Useful for: | |
# deploy scripts (http://codeascraft.etsy.com/2010/12/08/track-every-release/) | |
# init scripts | |
# sending metrics via crontab one-liners | |
# sprinkling in existing bash scripts. | |
# | |
# netcat options: | |
# -w timeout If a connection and stdin are idle for more than timeout seconds, then the connection is silently closed. |
# | |
# Cookbook Name:: jenkins | |
# Recipe:: default | |
# | |
# https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu | |
# This is super-simple, compared to the other Chef cookbook I found | |
# for Jenkins (https://github.com/fnichol/chef-jenkins). | |
# | |
# This doesn't include Chef libraries for adding Jenkin's jobs via |
# Lint JSON with python (the exit 255 stops xargs after the first failed command) | |
find . -name "*.json" -print | xargs -Ixx bash -c "echo JSON linting xx 1>&2; cat xx | python -mjson.tool > /dev/null || exit 255" |
#!/usr/bin/env ruby | |
require 'yaml' | |
# | |
# dasher | |
# This script takes a configmap yaml file and a JSON grafana dashboard file, | |
# and replaces the JSON in the configmap with the JSON from the file. This | |
# is useful for updating the telemeter-lts dashboard config maps with JSON | |
# expoerted from a modified Grafana dashboard. |
{ | |
"checks": { | |
"check_something": { | |
"command": "ps aux | grep cron", | |
"interval": 60, | |
"subscribers": ["application_server"], | |
"handlers": ["debug", "irc", "remediator"], | |
"remediation": { | |
"light_remediation": { | |
"occurrences": [1, 2], |
## Knife plugin to set node environment | |
# See http://wiki.opscode.com/display/chef/Environments | |
# | |
## Install | |
# Place in .chef/plugins/knife/set_environment.rb | |
# | |
## Usage | |
# Nick-Stielaus-MacBook-Pro:chef-repo nstielau$ knife node set_environment mynode.net my_env | |
# Looking for mynode.net | |
# Setting environment to my_env |
knife node configure my_node.example.com |
/* [Tree] */ | |
// Base size for trunk | |
size = 25; //[10:500] | |
// Depth of recursion (more depth, more complexity) | |
depth = 8; //[1:9] | |
// ratio of bottom of branch to previous branch | |
widthBottom = 0.25; //[0.1:0.05:1.2] |
# ffslicer default is config file | |
precision = 0.1 # valid range [0.01, 0.4], default is 0.1 | |
filamentDiameter = 1.75 # valid range [0.5, 10.0], default is 1.75 | |
extrusionRatio = 1.09 # valid range [0.5, 2.0], default is 1.0 | |
layerHeight = 0.18 # valid range [0.01, 0.4], default is 0.18 | |
firstLayerHeight = 0.27 # valid range [0.05, 0.5], default is 0.27 | |
pathWidth = 0.4 # valid range [0.35, 0.45], default is 0.4 | |
baseSpeed = 80 # valid range [10, 200], default is 80 | |
travelSpeed = 120 # valid range [10, 200], default is 120 |
I hereby claim:
To claim this, I am signing this object: