Skip to content

Instantly share code, notes, and snippets.

View munnerz's full-sized avatar

James Munnelly munnerz

  • Birmingham, United Kingdom
View GitHub Profile
+-o Root <class IORegistryEntry, retain 6>
| {
| "IORegistryPlanes" = {"IODeviceTree"="IODeviceTree","IOService"="IOService","IOPower"="IOPower"}
| "IOKitBuildVersion" = "Darwin Kernel Version 9.4.1: Mon Dec 8 21:02:57 PST 2008; root:xnu-1228.7.37~4/RELEASE_ARM_S5L8720X"
| "IOKitDiagnostics" = {"IOMalloc allocation"=1774633,"Instance allocation"=437600,"Classes"={"AppleS5L8900XSerial"=2,"IOPMPowerSource"=1,"IOUSBDeviceUserClientIniter"=1,"IOAudio2DeviceUserClient"=2,"PMSettingObject"=1,"IOTextCrypter"=2,"IOHIDevice"=0,"IOMemoryCursor"=0,"IOInterleavedMemoryDescriptor"=0,"AppleARMCHRPNVRAM"=1,"IOHDIXCommand"=0,"IOSDIOIoCardDevice"=1,"AppleS5L8900XClockControllerFunctionPerfAdvise"=0,"AppleM2CLCD"=1,"AppleMBXShared"=1,"IOCommandGate"=90,"IOPowerConnection"=28,"AppleUSBPhy"=1,"IONotifier"=2,"IOHIDEventServiceQueue"=4,"AppleNANDFTLUserClient"=0,"IOKernelDebugger"=0,"IOSerialDriverSync"=0,"IOHIDEventServiceUserClient"=4,"IOService"=100,"IOHIDElementPrivate"=0,"AppleARMPE"=1,"IOUSBDeviceInterface"=5
+-o Root <class IORegistryEntry, retain 6>
| {
| "IORegistryPlanes" = {"IOService"="IOService","IOPower"="IOPower","IODeviceTree"="IODeviceTree","IOUSB"="IOUSB"}
| "OS Build Version" = "7D11"
| "IOKernelCPUType" = 12
| "IOMaximumMappedIOByteCount" = 536870912
| "IOKitBuildVersion" = "Darwin Kernel Version 10.0.0d3: Fri Sep 25 23:33:11 PDT 2009; root:xnu-1357.5.30~3/RELEASE_ARM_S5L8720X"
| "IOKitDiagnostics" = {"IOMalloc allocation"=3644095,"Instance allocation"=674100,"Classes"={"EncryptingBlockStorageDevice"=1,"AppleS5L8900XSerial"=2,"IOPMPowerSource"=1,"IOUSBDeviceUserClientIniter"=1,"IOSDIOIoCardDevice"=1,"IOUSBPipe"=0,"com_apple_AppleFSCompression_AppleFSCompressionTypeZlib"=1,"AppleARMPWM"=1,"AppleMBXShared"=3,"AppleUSBPhy"=1,"IOHIDEventServiceQueue"=4,"AppleNANDFTLUserClient"=0,"IOSerialDriverSync"=0,"AppleTSL2581"=0,"IOFlashStorageDevice"=1,"IOHIDElementPrivate"=0,"IOUSBDeviceInterface"=5,"IOBreaker"=0,"AppleS5L8900XClockControllerFunctionAssertReset"=0,"IOPMRequestQueue"=2,"

Keybase proof

I hereby claim:

  • I am munnerz on github.
  • I am munnerz (https://keybase.io/munnerz) on keybase.
  • I have a public key ASBd_CLyoYpX_2KPlseVRktel7x2tDcC4yXx9NxQ7IPqfgo

To claim this, I am signing this object:

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: abc-xyz
labels:
app: abc-xyz
version: v1
spec:
replicas: 2
strategy:
<html><head>
<meta name="go-import" content="abc.xyz/example git https://github.com/abc-xyz/example">
<meta name="go-source" content="abc.xyz/example https://github.com/abc-xyz/example https://github.com/abc-xyz/example/tree/master{/dir} https://github.com/abc-xyz/example/blob/master{/dir}/{file}#L{line}">
</head></html>
@munnerz
munnerz / cert-manager-letsencrypt.yaml
Last active July 22, 2017 00:21
Proposal for cert-manager CRD format
# This would create a certificate valid for www.google.com, twitter.com and yahoo.com
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: production-crt
spec:
secret: production-crt
issuer: letsencrypt-prod
domains:
- www.google.com
# Calico Version v2.6.5
# https://docs.projectcalico.org/v2.6/releases#v2.6.5
# This manifest includes the following component versions:
# calico/node:v2.6.5
# calico/cni:v1.11.2
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
metadata:
#!/bin/bash
base=docker.elastic.co/elasticsearch/elasticsearch
versions="6.2.3 6.1.4 6.0.1 5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.3 5.4.3 5.3.3 5.2.1"
for v in ${versions}; do
img=${base}:${v}
ver=$(docker run -it --entrypoint=java "${img}" -version 2>/dev/null| grep version)
echo "${img} = ${ver}"
done
@munnerz
munnerz / calico-dind.yaml
Created May 10, 2018 12:45
Calico manifest for jetstack dind clusters
# Calico Version v2.4.1
# https://docs.projectcalico.org/v2.4/releases#v2.4.1
# This manifest includes the following component versions:
# calico/node:v2.4.1
# calico/cni:v1.10.0
# calico/kube-policy-controller:v0.7.0
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap
apiVersion: v1
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}