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
Line after line | |
(sung to the tune of "Time after Time" by Cyndi Lauper) | |
Logging into GitHub, I see notifications from you | |
Caught up in PRs | |
Confusion is nothing new | |
Flashback, bad code | |
Almost every line | |
Suitcase of tech debt |
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
. |
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
http = require 'http' | |
fs = require 'fs' | |
fiveMinutes = 300000 | |
springGreen = '021' | |
magenta = '202' | |
olive = '110' | |
buildStatus = |
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
class Server | |
@http = (method, src, callback) -> | |
handler = -> | |
if @readyState is 4 and @status is 200 | |
unless @responseText is null | |
callback JSON.parse @responseText | |
client = new XMLHttpRequest | |
client.onreadystatechange = handler | |
client.open method, src |
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
[gitosis] | |
loglevel = DEBUG | |
[group gitosis-admin] | |
writable = gitosis-admin | |
members = | |
<% repositories.each do |repo| -%> | |
[repo <%= repo["name"] %>] |
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
{ | |
"_id": "a58af3e3e43733657152f59865021e0f", | |
"_rev": "28-c7d4a44d4c176886cf742ebec4876550", | |
"classes": [ | |
"balancer" | |
], | |
"host": "example.com", | |
"directors": [ | |
{ | |
"name": "temp", |
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 'rubygems' | |
require 'mcollective' | |
class Deployer | |
include MCollective::RPC | |
# config, including passwords for mcollective bus | |
# in the local machine mcollective config |