Skip to content

Instantly share code, notes, and snippets.

View lholmquist's full-sized avatar

Lucas Holmquist lholmquist

View GitHub Profile
apiVersion: v1
kind: Template
metadata:
name: angular-web-app
annotations:
iconClass: icon-jboss
tags: nodejs, angular, web app
template.openshift.io/provider-display-name: "Red Hat, Inc."
description: Just building a little angular app with a web builder
parameters:
apiVersion: v1
kind: Template
metadata:
name: react-web-app
annotations:
iconClass: icon-jboss
tags: nodejs, react, web app
template.openshift.io/provider-display-name: "Red Hat, Inc."
description: Just building a little react app with a web builder
parameters:
repl._builtIns
[ 'assert',
'async_hooks',
'buffer',
'child_process',
'cluster',
'crypto',
'dgram',
'dns',
{
"apiVersion" : "v1",
"kind" : "List",
"items" : [ {
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"annotations" : {
"fabric8.io/git-commit" : "5418a547cd2967ba1400f69a063b70724b3eb8c8",
"fabric8.io/scm-con-url" : "scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http",
---
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
fabric8.io/git-commit: 5418a547cd2967ba1400f69a063b70724b3eb8c8
fabric8.io/scm-con-url: scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http
{
"apiVersion" : "v1",
"kind" : "List",
"items" : [ {
"apiVersion" : "v1",
"kind" : "Service",
"metadata" : {
"annotations" : {
"fabric8.io/git-commit" : "5418a547cd2967ba1400f69a063b70724b3eb8c8",
"fabric8.io/scm-con-url" : "scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http",
---
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
fabric8.io/git-commit: 5418a547cd2967ba1400f69a063b70724b3eb8c8
fabric8.io/scm-con-url: scm:git:https://github.com/openshiftio/booster-parent.git/wfswarm-rest-http
@lholmquist
lholmquist / ws.py
Created May 18, 2017 20:20 — forked from jwendell/ws.py
import websocket
try:
import thread
except ImportError: # TODO use Threading instead of _thread in python3
import _thread as thread
import time
import sys
import ssl