I hereby claim:
- I am elops on github.
- I am hrvojespoljar (https://keybase.io/hrvojespoljar) on keybase.
- I have a public key whose fingerprint is 5E0C 008F 3C9A 9710 059A E8AC 14FB D153 7C32 D33E
To claim this, I am signing this object:
#!groovy | |
import groovy.json.JsonOutput | |
import groovy.json.JsonSlurper | |
def label = "mypod-${UUID.randomUUID().toString()}" | |
podTemplate(label: label, yaml: """ | |
spec: | |
containers: | |
- name: mvn | |
image: maven:3.3.9-jdk-8-alpine |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
class Bar | |
attr_reader :name | |
def s_name(string) | |
@name = string | |
end | |
def self.make(&baz) |
#!/usr/bin/env ruby | |
require 'ipaddr' | |
def valid_cidr?(spec) | |
return true if spec.nil? | |
IPAddr.new(spec) | |
true | |
rescue IPAddr::Error | |
false |
#!/bin/bash | |
# rewrite resolv.conf | |
# chkconfig: 2345 98 98 | |
# description: rewrites resolv.conf on boot | |
graceful_exit() { | |
local rc=$? | |
trap - EXIT | |
case "$rc" in | |
0) echo 'OK' |
#!/bin/bash | |
VERBOSE=0 | |
_debug() { | |
if [ "$VERBOSE" -le 0 -a "$#" -ge 1 ]; then | |
_verbose "${@/#/DEBUG: }" | |
fi | |
} |