outcomes
- low cognitive overhead for the team
- fast delivery for the org
- reliable service for the org
- safety for our customers
strategy
- fewest moving parts possible
- most boring tools possible
- one-click, engineer-driven deployments
| (defn uuid [] (str (java.util.UUID/randomUUID))) |
| from twisted.cred import portal, checkers, credentials | |
| from twisted.conch import error, avatar, recvline, interfaces as conchinterfaces | |
| from twisted.conch.ssh import factory, userauth, connection, keys, session, common | |
| from twisted.conch.insults import insults | |
| from twisted.application import service, internet | |
| from zope.interface import implements | |
| import os | |
| class SSHDemoProtocol(recvline.HistoricRecvLine): | |
| def __init__(self, user): |
| require 'net/ssh' | |
| server = 'mem.sysarcana.com' | |
| user = 'root' | |
| pass = 'password' | |
| command = 'uptime' | |
| Net::SSH.start(server, user, :password => pass) do |session| | |
| stdout = '' | |
| stderr = '' |
| package main | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "time" | |
| "code.google.com/p/goauth2/oauth/jwt" | |
| bigquery "github.com/google/google-api-go-client/bigquery/v2" | |
| ) |
| using System; | |
| using System.IO; | |
| using System.Text; | |
| using Amazon; | |
| using Amazon.S3; | |
| using Amazon.S3.Model; | |
| namespace AWSUploadTest | |
| { |
outcomes
strategy
I hereby claim:
To claim this, I am signing this object:
| import boto3, logging, os | |
| from datetime import datetime | |
| from gpiozero import MotionSensor | |
| from picamera import PiCamera | |
| logging.basicConfig(level=logging.INFO) | |
| camera = PiCamera() | |
| pir = MotionSensor(4) |
| package main | |
| import ( | |
| "fmt" | |
| "strconv" | |
| "time" | |
| "github.com/hashicorp/serf/client" | |
| ) |
| require 'base64' | |
| require 'digest/md5' | |
| key = "your public key here" | |
| # first decode the key | |
| key_decoded = Base64.decode64(key) | |
| # create an md5 | |
| md5 = Digest::MD5.hexdigest(key_decoded) | |
| # convert that hash into a readable fingerprint |