Skip to content

Instantly share code, notes, and snippets.

@keigezellig
keigezellig / kubernetes_ssl.txt
Created March 19, 2018 22:20
How to create a cluster that uses ssl on the edge with let's encrypt (kube-lego)
- create cluster
- kubectl create clusterrolebinding myname-cluster-admin-binding --clusterrole=cluster-admin --user=mh.joosten666@gmail.com
Helm
----
- kubectl create serviceaccount --namespace kube-system tiller
- kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
- helm init
- kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
/***************************************************
Arduino Low Power processing
How to use the low power mode with watchdoge timer on Arduino
Based on:
'Example 2: Arduino Power Down Sleep and CC3000 Shutdown
Created by Tony DiCola (tony@tonydicola.com)
@keigezellig
keigezellig / Trip.json
Created November 10, 2016 12:48
Sample trip.json
[
{
"timestamp": 1478605760.930192,
"eventtype": "TRIP_STARTED",
"data": {
"trip_type": 0,
"trip_id": "adb19a379c17490e85da890772699ff2",
"odometer_reading": 21323000
}
},
var fs = require('fs');
var http = require('http');
var config = get_config(__dirname + "/config.json");
var context = new require('rabbit.js').createContext(config.mq.connection_string);
var Blynklib = require('blynk-library');
var blynk = new Blynklib.Blynk(config.blynk.auth_key);
var v9 = new blynk.VirtualPin(9);
var v1 = new blynk.VirtualPin(1);
@keigezellig
keigezellig / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../smoothie-chart/smoothie-chart.html">
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<link rel="import" href="../cool-clock/cool-clock.html">
<link rel="import" href="../core-menu-button/core-menu-button.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-item/core-item.html">
<polymer-element name="my-element">

Keybase proof

I hereby claim:

  • I am keigezellig on github.
  • I am keigezellig (https://keybase.io/keigezellig) on keybase.
  • I have a public key whose fingerprint is 1DC7 E2E2 18AB 469B 8D4F C0BB 0BF9 2E6E 2F47 25D7

To claim this, I am signing this object: