Skip to content

Instantly share code, notes, and snippets.

View eriknelson's full-sized avatar
🤘

Erik Nelson eriknelson

🤘
View GitHub Profile
Step 5/7 : RUN glide install && mkdir 3rdparty && cd 3rdparty && git clone -b 2.x https://github.com/swagger-api/swagger-ui.git && cd ../docs && ln -s ../3rdparty/swagger-ui/dist swagger-ui && cd ../ && go build
---> Running in ad7baa9a26bc
[WARN] The name listed in the config file (kore-poc) does not match the current location (github.com/dahendel/kore-poc)
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching golang.org/x/net.
[INFO] --> Fetching github.com/emicklei/go-restful-swagger12.
[INFO] --> Fetching github.com/emicklei/go-restful.
[INFO] --> Fetching github.com/mattn/go-sqlite3.
[INFO] Setting references.
[INFO] --> Setting version for github.com/mattn/go-sqlite3 to ca5e3819723d8eeaf170ad510e7da1d6d2e94a08.
#!/usr/bin/env python
import imaplib
import re
import email
import os
################################################################################
# RULE DEFINITIONS
################################################################################
#!/usr/bin/env python
import imaplib
import re
import email
################################################################################
# RULE DEFINITIONS
################################################################################
class ListHeaderRule:
============================================================
Checking for List-Unsubscribe headers...
============================================================
Found unsub header in msg [ 2 ] from: [ "Qatar Airways" <[email protected]> ]
List-Unsubscribe: <http://qr.qatarairways.com/pub/optout/UnsubscribeOneStepConfirmAction?YES=true&_ri_=X0Gzc2X%3DYQpglLjHJlTQGmCEwzcJNPyWAvKkzdzg4ykAoezgzdLzazbzfyg7E4NzakgzaCTzfLRzedzgt8R&_ei_=EolaGGF4SNMvxFF7KucKuWObEvbgz_lhDCu4wSJxEH3Z_JWEZp1n8F_ZWur6_mDUeaRx0KaRl21dG6NK>, <mailto:unsubscribe-YQpglLjHJlTQGmCEwzcJNPyWAvKkzdzg4ykAoezgzdLzazbzfyg7E4NzakgzaCTzfLRzedzgt8R@imh.rsys2.com?subject=List-Unsubscribe>
Found unsub header in msg [ 6 ] from: [ "Kite" <[email protected]> ]
List-Unsubscribe: <mailto:32.LJEWU5KBO5AUEWDNJIYEIMBNKZBFINLHKZVW4RTJJRGES===@unsubscribe2.customer.io>, <http://track.customer.io/unsubscribe/ZIjuAwABXmJ0D0-VBT5gVknFiLLI>
============================================================
ERROR: logging before flag.Parse: I0831 20:40:43.977411 1 flags.go:52] FLAG: --address="0.0.0.0"
ERROR: logging before flag.Parse: I0831 20:40:43.977779 1 flags.go:52] FLAG: --alsologtostderr="false"
ERROR: logging before flag.Parse: I0831 20:40:43.977796 1 flags.go:52] FLAG: --api-content-type="application/json"
ERROR: logging before flag.Parse: I0831 20:40:43.977809 1 flags.go:52] FLAG: --broker-relist-interval="24h0m0s"
ERROR: logging before flag.Parse: I0831 20:40:43.977827 1 flags.go:52] FLAG: --contention-profiling="false"
ERROR: logging before flag.Parse: I0831 20:40:43.977846 1 flags.go:52] FLAG: --enable-osb-api-context-profile="true"
ERROR: logging before flag.Parse: I0831 20:40:43.977853 1 flags.go:52] FLAG: --k8s-api-server-url=""
ERROR: logging before flag.Parse: I0831 20:40:43.977861 1 flags.go:52] FLAG: --k8s-kubeconfig=""
ERROR: logging before flag.Parse: I0831 20:40:43.977867 1 flags.go:52] FLAG: --leader-elect="false"
ERROR: logging befor
From 5d9afb10f694bc0a0d34ddfc43c545d546ed1351 Mon Sep 17 00:00:00 2001
From: Erik Nelson <[email protected]>
Date: Wed, 23 Aug 2017 17:11:41 -0400
Subject: [PATCH] initial relist commit
* Adds proposed fields to the ServiceBroker
---
pkg/apis/servicecatalog/testing/fuzzer.go | 4 ++++
pkg/apis/servicecatalog/types.go | 22 ++++++++++++++++++++++
pkg/apis/servicecatalog/v1alpha1/defaults.go | 12 ++++++++++++
package main
import (
"fmt"
)
type APBAction string
type COEType string
type Result string
#!/bin/bash
CONNAME="Raleigh (RDU2)"
CONID=$(nmcli con | grep Raleigh | awk '{print $3}')
ACTION=$1
if [[ "$ACTION" != "up" ]] && [[ "$ACTION" != "down" ]]; then
echo "ERROR: First argument must be 'up' or 'down'"
exit 1
elif [[ "$ACTION" == "up" ]]; then
echo "Connecting to RH VPN..."
# /usr/share/xsessions/i3.desktop
[Desktop Entry]
Name=i3
Comment=improved dynamic tiling window manager
Exec=/home/ernelson/.dotfiles/nskd/start_i3.sh
Type=Application
X-LightDM-DesktopName=i3
DesktopNames=i3
Keywords=tiling;wm;windowmanager;window;manager;
[2017-08-01T13:27:56.857Z] [DEBUG] NSK: raw decoded yaml: id: eea7e67f-910a-4812-87df-87560dcda4bb
name: hello-world-apb
image: cfchase/hello-world-apb
description: hello-world-apb description
bindable: False
async: optional
metadata:
displayName: Hello World (APB)
longDescription: A sample APB to deploy Hello World
dependencies: ['docker.io/ansibleplaybookbundle/hello-world:latest']