(the content below is heavily borrowed from Eric Malm's blog post on application identity and Aaron Hurley's CFSummit talk on upcoming changes to routing tier in CF)
This file contains 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/env ruby | |
require 'yaml' | |
require 'json' | |
# | |
# Simple Ruby script to rotate bosh-generated certificates | |
# Requires a BOSH deployment manifest that uses certificate variables and the original credentials file | |
# Outputs 4 credentials files that should be deployed one at a time, in order | |
# |
This file contains 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
[ | |
{ | |
"depth":1, | |
"nodes":8, | |
"fen":"r6r/1b2k1bq/8/8/7B/8/8/R3K2R b KQ - 3 2" | |
}, | |
{ | |
"depth":1, | |
"nodes":8, | |
"fen":"8/8/8/2k5/2pP4/8/B7/4K3 b - d3 0 3" |
This file contains 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
# | |
# Extensions to Enumerable to add more functional operators | |
# More info here: http://ukoki.com/post/38615453403/extending-rubys-enumerable | |
# | |
module Enumerable | |
# example: | |
# [1,2,3].zip_map([1,2,3], [1,2,3]) { |x,y,z| x * y * z } | |
# => [1,8,27] |
OlderNewer