I hereby claim:
- I am timbirk on github.
- I am timbirk (https://keybase.io/timbirk) on keybase.
- I have a public key ASAtnfXQtwKGD3RJTDl-riZHx937drGQ3Mtv_fN82Gkiywo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'octokit' | |
require 'json' | |
def printhelp() | |
STDERR.puts 'ghlist - list things in Github' | |
STDERR.puts 'Usage examples:' | |
STDERR.puts ' * prcli status ITV/tp-infra 1423 pending jenkins "http://ci.infradev.tp.com/build/001" "Jenkins Build"' | |
STDERR.puts ' * prcli status ITV/tp-infra 1423 success' |
module.exports = function (config) { | |
// Get local IP for selenium runner | |
var address, | |
ifaces = require('os').networkInterfaces(); | |
for (var dev in ifaces) { | |
ifaces[dev].filter((details) => details.family === 'IPv4' && details.internal === false ? address = details.address: undefined); | |
} | |
var webdriverConfig = { |
#!/usr/bin/env bash | |
set +x | |
ACTION="start" | |
ERR_RETRIES=3 | |
STEP_SLEEP=60 | |
MACHINE_TIMEOUT=3600 | |
RDS_INSTANCE={envname}-mysql-rds | |
REGION=eu-west-1 |
require 'netaddr' | |
vpc_subnet = '10.204.120.0/22' | |
subnet_cidr = 25 | |
vpc_cidr = NetAddr::IPv4Net.parse(vpc_subnet) | |
@public_subnets = [] | |
@private_subnets = [] |
#!/usr/bin/env ruby | |
require 'librarian/puppet' | |
lockfile = Librarian::Puppet::Lockfile.new( | |
Librarian::Puppet::Environment.new, 'Puppetfile.lock' | |
) | |
puppet_modules = {} |
/** | |
* Create the labels we’ll need for snoozing and attach Gmail account if needed | |
*/ | |
function GmailLabelSetup() { | |
var CLEANUP_LABELS = ["1 - This Week", "2 - Last week"]; | |
for (var i in CLEANUP_LABELS) { | |
GmailApp.createLabel(CLEANUP_LABELS[i]); | |
} | |
CleanInboxIsHappyInbox(); |
#!/usr/bin/env ruby | |
require 'octokit' | |
if ARGV[0] | |
@client = Octokit::Client.new(:netrc => true, :per_page => 100, | |
:auto_traversal => true, :auto_paginate => true) | |
@client.login |
#!/usr/bin/env bash | |
scheduleid=XXXXXX | |
apikey=XXXXXXXXXXXXXXXXXX | |
# No need to edit below | |
touch ~/.on_call | |
blue=`tput setaf 4` | |
reset=`tput sgr0` | |
today=$(date +'%Y-%m-%d')T09:00:00Z |
# It's been proven that password length is more important than complexity. | |
# For humans aLongPhraseLikeThis1 is more secure than an 8 character password. | |
# Generating a 64 character random character string on command line: | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9._~()!*:@,;+?-' | fold -w 64 | head -n 1 | |
# Because we probably use eyaml to encrypt the value, we don't ever need to know it: | |
eyaml encrypt --string=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9._~()!*:@,;+?-' | fold -w 64 | head -n 1) |