Skip to content

Instantly share code, notes, and snippets.

View ncdc's full-sized avatar

Andy Goldstein ncdc

View GitHub Profile
diff --git a/src/main/java/com/openshift/metrics/extension/Constants.java b/src/main/java/com/openshift/metrics/extension/Constants.java
index 5401483..ed0b081 100644
--- a/src/main/java/com/openshift/metrics/extension/Constants.java
+++ b/src/main/java/com/openshift/metrics/extension/Constants.java
@@ -2,6 +2,7 @@ package com.openshift.metrics.extension;
public class Constants {
public static final String MODEL_CONTROLLER_CLIENT = "modelControllerClient";
+ public static final String MAX_LINE_LENGTH = "max-line-length";
public static final String METRIC_SOURCES = "metricSources";
diff --git a/src/main/java/com/openshift/metrics/extension/Constants.java b/src/main/java/com/openshift/metrics/extension/Constants.java
index 5401483..af1dc05 100644
--- a/src/main/java/com/openshift/metrics/extension/Constants.java
+++ b/src/main/java/com/openshift/metrics/extension/Constants.java
@@ -2,6 +2,7 @@ package com.openshift.metrics.extension;
public class Constants {
public static final String MODEL_CONTROLLER_CLIENT = "modelControllerClient";
+ public static final String MAX_LINE_LENGTH = "max-line-length";
public static final String METRIC_SOURCES = "metricSources";
@ncdc
ncdc / -
Created April 25, 2014 19:53
--- FAIL: TestCommitContainerParams (0.00 seconds)
container_test.go:613: Expected body <nil>, got ioutil.nopCloser{Reader:(*bytes.Buffer)(0xc2100895b0)}
container_test.go:613: Expected body <nil>, got ioutil.nopCloser{Reader:(*bytes.Buffer)(0xc210089b60)}
container_test.go:613: Expected body <nil>, got ioutil.nopCloser{Reader:(*bytes.Buffer)(0xc210089ee0)}
container_test.go:613: Expected body &bytes.Buffer{buf:[]uint8{0x7b, 0x22, 0x48, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x55, 0x73, 0x65, 0x72, 0x22, 0x3a, 0x22, 0x22, 0x2c, 0x22, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x36, 0x37, 0x31, 0x30, 0x38, 0x38, 0x36, 0x34, 0x2c, 0x22, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x77, 0x61, 0x70, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x43, 0x70, 0x75, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x22, 0x3a, 0x30, 0x2c, 0x22, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x53, 0x74, 0x64, 0x69, 0x6
ctrlp.vim
nerdtree
supertab
tagbar
vim-colors-solarized
vim-easymotion
vim-easytags
vim-endwise
vim-fugitive
vim-go
--langdef=go
--langmap=go:.go
--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/
--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/v,var/
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/
runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()
set nocompatible
set modeline
set modelines=5
syntax on
filetype plugin indent on
set t_Co=256
set bg=dark
@ncdc
ncdc / gist:6c011925cb59b4f18e6a
Created May 8, 2014 14:56
OpenShift next gen node notes
cd origin-server
docker build --rm -t openshift-origin-broker .
docker run --rm -i -t -e "MONGO_HOST_PORT=172.17.0.3:27017" -e "OPENSHIFT_BROKER_DIR=/opt/ruby/src/broker" -v `pwd`:/var/www/openshift openshift-origin-broker /bin/bash /var/www/openshift/bootstrap-dev-vm-mongo.sh
open("/proc/self/task/13/attr/fscreate", O_RDWR) = -1 EROFS (Read-only file system)
write(2, "groupadd: failure while writing "..., 54groupadd: failure while writing changes to /etc/group
I, [2014-05-14T11:47:33.579375 #125943] INFO -- : {"push_data": {"pushed_at": 1400082452, "images": [], "pusher": "trustedbuilder"}, "repository": {"status": "Initialized", "description": "", "is_trusted": true, "full_description": null, "repo_url": "https://index.docker.io/u/ncdc/ruby-1.9.x-centos/", "owner": "ncdc", "is_official": false, "is_private": false, "name": "ruby-1.9.x-centos", "namespace": "ncdc", "star_count": 0, "comment_count": 0, "date_created": 1400081946, "repo_name": "ncdc/ruby-1.9.x-centos"}}
{
"push_data": {
"images": [],
"pushed_at": 1400087328,
"pusher": "trustedbuilder"
},
"repository": {
"comment_count": 0,
"date_created": 1400081946,
"description": "",