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
[ | |
{ "userName": "alphagov", "repo": "blinken" }, | |
{ "userName": "alphagov", "repo": "boxes" }, | |
{ "userName": "alphagov", "repo": "cdn-acceptance-tests" }, | |
{ "userName": "alphagov", "repo": "ci-puppet" }, | |
{ "userName": "alphagov", "repo": "cloudflare-configure" }, | |
{ "userName": "alphagov", "repo": "fabric-scripts" }, | |
{ "userName": "alphagov", "repo": "ghtools" }, | |
{ "userName": "alphagov", "repo": "govuk_crawler_worker" }, | |
{ "userName": "alphagov", "repo": "govuk_mirror-puppet" }, |
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
[ | |
{ | |
"userName": "gds-operations", | |
"repo": "puppet-auditd" | |
}, | |
{ | |
"userName": "gds-operations", | |
"repo": "puppet-graphite" | |
}, | |
{ |
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/env ruby | |
require 'rubygems' | |
require 'rest-client' | |
require 'json' | |
require 'pp' | |
scheme="https" | |
hostname="github.gds/api/v3" | |
username="yourgheusername" | |
password="yourghepassword" |
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
#!/bin/bash | |
PSKYSCAPE="SKYSCAPEPASSWORD" | |
USKYSCAPE="SKYSCAPEUSERNAME" | |
PGDS="GDSPASSWORD" | |
UGDS="GDSUSERNAME" | |
function skyscape { | |
echo $PSKYSCAPE | sudo openconnect --passwd-on-stdin -b -q -u $USKYSCAPE --authgroup=CLIENT-VPN1 --no-cert-check vpn2.skyscapecloud.com >/dev/null 2>&1 | |
} |
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
--- | |
foo: "%{hiera('bar')}" | |
bar: "%{hiera('baz')}" | |
baz: "blah" |
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
Enable Access for Assistive Devices (For Spectacle.app and Stay.app) | |
http://www.tekrevue.com/2013/06/25/how-to-enable-access-for-assistive-devices-in-os-x-mavericks/ |
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
$7 ~ /(without|with|base)-js/ { | |
split($7,array,"-"); | |
target_string=array[2]; | |
split(target_string,array2,"/"); | |
image=array2[2]; | |
switch (image) { | |
case "with": | |
WITH+=1 | |
break | |
case "without": |
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/env ruby | |
require 'fastly' | |
service_id = 'deadbeefdeadbeef' | |
fastly = Fastly.new(:api_key => 'deadbeefdeadbeefdeadbeef') | |
service = fastly.get_service(service_id) | |
latest_version = service.version |
NewerOlder