Skip to content

Instantly share code, notes, and snippets.

View lholmquist's full-sized avatar

Lucas Holmquist lholmquist

View GitHub Profile
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
{ "key": "shift+cmd+[", "command": "workbench.action.previousEditor"},
{ "key": "shift+cmd+]", "command": "workbench.action.nextEditor"}
const spawn = require('child_process').spawn;
const cmd = 'sh';
const args = ['-c', 'node index.js'];
const options = {
env: process.env,
stdio: [0, 1, 2]
};
spawn(cmd, args, options);