Skip to content

Instantly share code, notes, and snippets.

@kingdonb
kingdonb / chromebook-setup.diff
Created November 17, 2014 17:25
Chromebook-setup Diff
--- chromebook-setup.sh 2014-10-22 06:17:31.000000000 -0400
+++ ../tried/mali_chromebook-setup_002/chromebook-setup.sh 2014-11-16 21:11:27.229687137 -0500
@@ -11,7 +11,7 @@
VBOOT_URL="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/"
ROOTFS_DIR="$PWD/rootfs"
MALI_DEFAULT="r4p1-00rel0"
-ROOT_DEFAULT="/dev/mmcblk1p2"
+ROOT_DEFAULT="/dev/mmcblk0p2"
print_usage_exit()
@kingdonb
kingdonb / self-signed-localhost-for-rails.txt
Created September 6, 2016 20:25 — forked from webdevotion/self-signed-localhost-for-rails.txt
SSL self signed localhost for rails start to finish, no red warnings.
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
@kingdonb
kingdonb / Gemfile
Created June 10, 2017 10:28 — forked from joemasilotti/Gemfile
How To Test PDFs with Capybara Blog post with details: http://pivotallabs.com/test-pdfs-with-capybara/
group :test do
gem 'rspec-rails'
gem 'capybara'
gem 'pdf-reader'
end
@kingdonb
kingdonb / kubernetes-nfs-server.diff
Created June 27, 2017 23:30
working NFS server on Kubernetes 1.6.4
diff --git a/examples/volumes/nfs/nfs-pv.yaml b/examples/volumes/nfs/nfs-pv.yaml
index 258f4d4c9d..c219f3aa39 100644
--- a/examples/volumes/nfs/nfs-pv.yaml
+++ b/examples/volumes/nfs/nfs-pv.yaml
@@ -2,12 +2,15 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs
+ labels:
+ id: my-nfs-volume
@kingdonb
kingdonb / gist:53011b38a7b488aa4b4cd803c32ca4a5
Created August 24, 2017 18:56
problem building deis with helm on OpenShift
[debug] Created tunnel using local port: '58829'
[debug] SERVER: "localhost:58829"
REVISION: 7
RELEASED: Thu Aug 24 14:54:57 2017
CHART: workflow-v2.17.0
USER-SUPPLIED VALUES:
{}
@kingdonb
kingdonb / from_v2.17.0.diff
Created August 29, 2017 00:10
Minio off-cluster (Deis Workflow)
diff --git a/charts/builder/templates/builder-deployment.yaml b/charts/builder/templates/builder-deployment.yaml
index d5ea4a0..35ab6bb 100755
--- a/charts/builder/templates/builder-deployment.yaml
+++ b/charts/builder/templates/builder-deployment.yaml
@@ -42,6 +42,10 @@ spec:
{{- end}}
{{- end}}
env:
+ - name: DEIS_MINIO_SERVICE_HOST
+ value: "172.17.12.108"
@kingdonb
kingdonb / 03.svg
Last active January 19, 2018 02:35
Screenshots
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kingdonb
kingdonb / fetch_everything.sh
Last active February 21, 2018 18:06
Build stack for Employee Finance CI jobs
#!/usr/bin/env bash
git clone https://github.com/kingdonb/empfin-docker.git
cd empfin-docker
for i in docker-slave docker-jnlp-slave jnlp-slave-ruby docker-jnlp-slave-ruby-runtime
do
git clone https://github.com/kingdonb/${i}.git
done
@kingdonb
kingdonb / package-lock.json
Created June 30, 2018 22:15
Debugging serverless-kubeless
{
"name": "hello",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"ajv": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
"integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
@kingdonb
kingdonb / bumpme
Last active November 7, 2018 02:41
Wed Nov 7 02:40:50 UTC 2018