Skip to content

Instantly share code, notes, and snippets.

var rfxcom = require('./lib');
var rfxtrx = new rfxcom.RfxCom("/dev/tty.usbserial-05VLOAQQ", {debug: true});
rfxtrx.on("receive", function(data) {
console.log(data);
});
rfxtrx.on("elec2", function(evt) {

Keybase proof

I hereby claim:

  • I am bigkevmcd on github.
  • I am bigkevmcd (https://keybase.io/bigkevmcd) on keybase.
  • I have a public key whose fingerprint is DF9C 12E6 BBC7 CEF3 C350 71BE 43AB 9841 800F 9786

To claim this, I am signing this object:

from flask import Flask
from logging.handlers import SysLogHandler
# $ python hello.py
# * Restarting with stat
# * Debugger is active!
# --------------------------------------------------------------------------------
# INFO in hello [hello.py:9]:
# Getting / in the Hello flask app
# --------------------------------------------------------------------------------

Please ensure you have Go 1.8 installed on your machine.

If you're on Ubuntu this might help

 $ sudo add-apt-repository ppa:longsleep/golang-backports
 $ sudo apt-get update
 $ sudo apt-get install golang-go
package clock
import (
"reflect"
"testing"
"time"
)
func TestSeconds(t *testing.T) {
var tests = []struct {
apps:
- name: my-application
description: my-app
repository:
source: https://github.com/testing/testing.git
secret: my-named-secret
token: my-named-token:token
environments:
- name: dev
description: for all developers
package yaml
import (
"sort"
"gopkg.in/yaml.v2"
sigsyaml "sigs.k8s.io/yaml"
)
type orderFunc func(a, b string) bool

Gated Deployments in Kubernetes

Getting to GitOps requires that the staff tasked with looking after business services are confident that changes that are deployed automatically meet the certain standards.

How do we build that confidence?

FROM alpine:3.12
RUN apk add --no-cache curl jq bash
CMD ["/bin/sh"]
apiVersion: capi.gitops.solutions/v1alpha1
kind: ClusterBootstrapConfig
metadata:
name: clusterbootstrapconfig-sample
namespace: default
spec:
clusterSelector:
matchLabels:
weave.works/spike: upa
jobTemplates: