Skip to content

Instantly share code, notes, and snippets.

@cianclarke
cianclarke / gist:56c427aeceb2a6a6bd3d
Last active August 29, 2015 14:21
Getting `osc` working on an OSX host
#on target box, master node
osc config view
#paste entire contents of this file
#on OSX host - assumes go setup, $GOPATH configured
go get github.com/openshift/origin
$ cd $GOPATH/src/github.com/openshift/origin
hack/build-go.sh
vi openshift.local.config/master/admin.kubeconfig
#insert contents of entire file from master node, save
{
"apiVersion": "v1beta1",
"items": [
{
"apiVersion": "v1beta1",
"containerPort": 8001,
"id": "frontend",
"kind": "Service",
"port": 5432,
"selector": {
var express = require('express');
var bodyParser = require('body-parser');
var app = express();
app.use(bodyParser());
app.post('/', function(req, res, next){
@cianclarke
cianclarke / gist:1b89e31ebc05b0bc3d68
Created May 12, 2015 01:06
nodejs-stibuild.json
{
"apiVersion": "v1beta1",
"items": [
{
"apiVersion": "v1beta1",
"containerPort": 8001,
"id": "frontend",
"kind": "Service",
"port": 5432,
"selector": {
docker@boot2docker:~/sti-nodejs$ docker run -p 8080:8080 nodejs-sample-app
exec: "/tmp/scripts/run": stat /tmp/scripts/run: no such file or directoryFATA[0000] Error response from daemon: Cannot start container 7bd331a9a74a66108f40f515056c32b8eef5fb09e5f3efa50e2be2f0d4abb049: exec: "/tmp/scripts/run": stat /tmp/scripts/run: no such file or directory
{
"apiVersion": "v1beta1",
"items": [
{
"apiVersion": "v1beta1",
"containerPort": 8080,
"id": "frontend",
"kind": "Service",
"port": 5432,
"selector": {
5 Waterboys Sweet Thing 192 kbps 7:15 Fisherman`s Blues Blues 17
4 Glen Hansard and Marketa Irglova Star, Star (Live on WXPN) 108 kbps (VBR) 4:22 Live on WXPN 8-22-07 Other 80 16
The Frames Love Will Tear Us.. (Witnness) 128 kbps 4:49 Live at Witnness 2001, Ireland Rock 14
9 Various Artists July - Mundy 128 kbps 3:49 Dave Fanning's Best Of Irish Rock 1 General Rock 8
6 Various Artists Blowers Daughter - Damien Rice 128 kbps 4:43 Dave Fanning's Best Of Irish Rock 1 General Rock 11
6 The Frames Rent Days Blues 128 kbps 3:57 Set List General Alternative 6
3 Ham Sandwich click... click... BOOM!!! 209 kbps (VBR) 3:23 Carry the Meek Rock 56
2 Ham Sandwich Keepsake 186 kbps (VBR) 3:23 Carry the Meek Rock 26
1 of 12 Fight Like Apes Something Global 213 kbps (VBR) 3:51 And The Mystery Of The Golden Medallion 131 57
5 of 12 Fight Like Apes Lend Me Your Face 226 kbps (VBR) 1:50 And The Mystery Of The Golden Medallion 131 67
░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░
^
|
|
|
|
|
|
|
|
| Deploy +------------+
@cianclarke
cianclarke / gist:c4c055cfa60e0c10e69c
Created March 5, 2015 18:40
Found this from back in 2004. Preserving in gist format
CODE
Kaki King - Happy As A Dead Pig In The Sunshine
Artist: Kaki King
Title: Happy as a dead pig in the mud
Album: Everybody Loves You (Velour)
Tuning: CGDGAD
Tabbed by: Cian Clarke
Not 100% (but the only person who can provide a 100% accurate tab is Kaki herself...) All track times refer to the album times.