Skip to content

Instantly share code, notes, and snippets.

View wshearn's full-sized avatar

Wesley Hearn wshearn

  • Red Hat
  • Massachusetts
View GitHub Profile
{"level":"info","ts":1552661375.5076823,"logger":"cmd","msg":"Go Version: go1.11.5"}
{"level":"info","ts":1552661375.50773,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1552661375.5077405,"logger":"cmd","msg":"Version of operator-sdk: v0.5.0"}
{"level":"info","ts":1552661375.507929,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1552661375.5466924,"logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":1552661375.546719,"logger":"leader","msg":"Continuing as the leader."}
{"level":"info","ts":1552661375.5718184,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1552661375.571883,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"clusterdeployment-controller","source":"kind source: /, Kind="}
{"level":"error","ts":1552661375.5719047,"logger":"cmd","msg":"","error":"no kind is registered for the type v1alpha1.ClusterDeployment in scheme \"k8s.io/client-go/kubernetes/s
import haxe.Timer;
import sys.io.File;
class Main {
static var charDiff:Int = 32;
static function removeFromAray(array:Array<String>) {
var endCheck = array.length - 1;
for (x in 0...endCheck) {
if (array.length <= x) {
#!/usr/bin/env bash
valid_phases=("pre" "controlplane" "postcontrolplane" "nodescaleup" "migrations" "metrics" "logging" "post")
function phase_is_valid () {
for e in "${valid_phases[@]}"; do
[[ "$e" == "$1" ]] && return 0;
done
return 1
}

Keybase proof

I hereby claim:

  • I am wshearn on github.
  • I am jknife (https://keybase.io/jknife) on keybase.
  • I have a public key whose fingerprint is BA16 21CF B9EA 8625 CB7B C9AC DAE8 41DD FB8A 3A61

To claim this, I am signing this object:

/*
* Copyright (C) 2009 flakes @ EFNet
* New match logic by Gm4n @ freenode
* Version 1.0 (2012-08-19)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
var _super = require("./roles")
class Upgrader extends _super {
setupBody() {
// Creeps body parts http://support.screeps.com/hc/en-us/articles/208333929-StructureSpawn#canCreateCreep
this._body = [WORK, CARRY, MOVE];
this._memory = {role: 'upgrader'};
this._idleSpot = {x: 40, y: 40};
this._min = 2;
}
[0]Pluto:~ $ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Keybase proof

I hereby claim:

  • I am wshearn on github.
  • I am jknife (https://keybase.io/jknife) on keybase.
  • I have a public key whose fingerprint is FCEB 1E7D 443C BE5F 8B12 780F 81E0 CF48 2072 2794

To claim this, I am signing this object:

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=False