Skip to content

Instantly share code, notes, and snippets.

View lholmquist's full-sized avatar

Lucas Holmquist lholmquist

View GitHub Profile
{
"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);
{ id: 'c915c94c-128a-416a-8493-5695e2c03626',
name: 'first',
description: 'This is the first app',
pushApplicationID: '5d77107a-3624-4456-a8fa-37036274ff61',
masterSecret: 'e5feb7a4-6780-4c5c-a897-1b1ce9803673',
developer: 'admin',
variants:
[ { id: 'ca8ec1de-825d-4106-9ada-af5ee1802d37',
name: 'andy android',
description: null,
#!/bin/sh
# Sublime Text 3 install with Package Control (last update: 12 July 2015)
#
# No need to download this script, just run it on your terminal:
#
# $ curl -L git.io/sublimetext | sh
#
# When you need to update Sublime Text, run this script again.
curl -X PUT SOME_REALLY_LONG_ENDPOINT