I hereby claim:
- I am petersellars on github.
- I am psellars (https://keybase.io/psellars) on keybase.
- I have a public key ASDDYLQbYHO3Z89-w_hrVxpfozgc9j0WHETIl2FC37GzJwo
To claim this, I am signing this object:
# On Ubuntu/Mint you will need the yubico ppa if you want the Yubico management | |
# tools | |
# NB. It appears the yubikey-personalization is no longer maintained by Yubico, | |
# so at some point may want to remove the yubikey-personalization installed | |
# applications | |
sudo -E apt-add-repository -y ppa:yubico/stable | |
sudo -E apt-get -qy update | |
sudo -E apt-get -qy install yubikey-personalization-gui \ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Requirements | |
# You will need to have created a GitHub Access Token with admin:public_key permissions | |
# Usage | |
# chmod +x autokey-github.sh | |
# ./autokey-github.sh <YOUR-GITHUB-ACCESS-TOKEN> | |
# Reference |
variable "region" { | |
default = "ap-southeast-2" | |
} | |
variable "version" { | |
default = "trusty-14.04" | |
} | |
variable "architecture" { | |
default = "amd64" |
2016/12/13 10:01:28 [INFO] Terraform version: 0.7.13 2a4b4bbc3f315d100f76a83570e0364275e0fc6b | |
2016/12/13 10:01:28 [INFO] CLI args: []string{"/usr/local/bin/terraform_0.7.13_linux_amd64/terraform", "plan", "-var-file=donotcommit.tfvars", "-target=module.ecs_alb"} | |
2016/12/13 10:01:28 [DEBUG] Detected home directory from env var: /home/psellars | |
2016/12/13 10:01:28 [DEBUG] Detected home directory from env var: /home/psellars | |
2016/12/13 10:01:28 [DEBUG] Attempting to open CLI config file: /home/psellars/.terraformrc | |
2016/12/13 10:01:28 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2016/12/13 10:01:28 [DEBUG] Detected home directory from env var: /home/psellars | |
2016/12/13 10:01:28 [TRACE] Preserving existing state lineage "e6eaa9a2-b858-492a-ae08-82e7fc6d5cbb" | |
2016/12/13 10:01:28 [TRACE] Preserving existing state lineage "e6eaa9a2-b858-492a-ae08-82e7fc6d5cbb" | |
Variable |
#!/bin/bash | |
set -e | |
# Send a private message to someone on slack | |
# from the command line. | |
# Print a usage message and exit. | |
usage(){ | |
local name=$(basename "$0") |
import jenkins.model.* | |
for(item in Jenkins.instance.items) { | |
if (!(item instanceof com.cloudbees.plugins.flow.BuildFlow) | |
&& !(item instanceof hudson.maven.MavenModuleSet) | |
&& !(item instanceof org.jenkinsci.plugins.workflow.job.WorkflowJob)) { | |
for (builder in item.builders) { | |
if(builder instanceof hudson.plugins.gradle.Gradle) { | |
println(item.name) | |
println(builder) |
#!/bin/sh | |
exec docker inspect --format '{{ .NetworkSettings.IPAddress }}' "$@" |
#!/bin/sh | |
exec docker inspect --format '{{ .State.Pid }}' "$@" |
import jenkins.model.* | |
for(item in Jenkins.instance.items) { | |
println("job $item.name") | |
if (!(item.class == org.jenkinsci.plugins.workflow.job.WorkflowJob)) { | |
chuck_activated = false | |
for (publisher in item.publishersList) { | |
if (publisher.descriptor.displayName == "Activate Chuck Norris") | |
chuck_activated = true | |
} |