Skip to content

Instantly share code, notes, and snippets.

View pmorie's full-sized avatar
🎯
Focusing

Paul Morie pmorie

🎯
Focusing
  • Apple
  • Raleigh, NC
View GitHub Profile
before this time, when can we get drops of cat per sprint in origin
to update installer
update rbac stuff
verify if we should really stick more in the same etcd
Sept 6
cat feature freeze?
API moves to beta
security shit done
no pod preset in API
spec:
containers:
-
name: server
image: '172.30.115.28:5000/gogs/server@sha256:09917096250647da7d24443e1a88b271f7ff58f38145991c9f9dfd66dbbda44b'
volumeMounts:
- name: config-volume
mountPath: /etc/gogs/conf/
volumes:
- name: config-volume
FROM centos:centos7
RUN mkdir /foo
RUN echo hi > /foo/hi
RUN echo hi2 > /foo/hi2
RUN echo hi3 > /foo/hi3
RUN date
RUN yum update -y
RUN yum clean all
@pmorie
pmorie / sublime-text-2.sh
Created October 31, 2015 01:21 — forked from henriquemoody/sublime-text-2.sh
Install Sublime Text on Fedora.
#!/usr/bin/env bash
# Usage: {script} [ OPTIONS ] TARGET VERSION
#
# TARGET Default target is "/usr/local".
# VERSION If not defined tries to get the build into the Sublime Text 2 website.
#
# OPTIONS
#
# -h, --help Displays this help message.
#
@pmorie
pmorie / core.go
Last active September 3, 2015 18:16 — forked from lhuard1A/core.go
How to create a GO program that cores…
package main
import (
"fmt"
)
// #include <stdlib.h>
// #include "signal.h"
import "C"
###
# setup
###
[vagrant@openshiftdev ~]$ git clone https://github.com/CrunchyData/os-pg-testing
Cloning into 'os-pg-testing'...
remote: Counting objects: 38, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 38 (delta 13), reused 34 (delta 9), pack-reused 0
Unpacking objects: 100% (38/38), done.
Checking connectivity... done.
@pmorie
pmorie / sti-build.json
Last active August 29, 2015 14:06 — forked from ncdc/sti-build.json
{
"kind": "Build",
"apiVersion": "v1beta1",
"input": {
"type": "sti",
"sourceUri": "git://github.com/ncdc/sti-ruby-app",
"imageTag": "andy/test",
"builderImage": "ncdc/sti-busybox"
}
"labels": {
upgrade
get all active gears
get all logins
get all domains
get all apps with a gear
get all gears across nodes
write node level gear files
make threads per node
for each node... (theads)