Skip to content

Instantly share code, notes, and snippets.

View hasheddan's full-sized avatar
☁️
writing code that writes code

Daniel Mangum hasheddan

☁️
writing code that writes code
View GitHub Profile
FROM ghcr.io/beriberikix/zephyr-xtensa-espressif_esp32:v3.3.0-0.16.0sdk
RUN apt update \
&& apt install -y --no-install-recommends python3-pip \
&& pip3 install pyserial
RUN adduser --disabled-password --gecos "" wokwi
USER wokwi
WORKDIR /home/wokwi/blinky
@hasheddan
hasheddan / conrec.go
Last active September 20, 2022 21:04
Concurrent recursive processing of a tree in Go.
package main
import (
"context"
"fmt"
"sync"
"time"
"github.com/pkg/errors"
)
apiVersion: aws.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
name: from-fs
spec:
credentials:
source: Fs
fs:
path: /crossplane/secrets/aws-creds.txt
---
  1. Install OpenFaaS using method of choice
  2. Install Crossplane with GCP provider
kubectl create namespace crossplane-system
helm repo add crossplane-alpha https://charts.crossplane.io/alpha

helm install crossplane --namespace crossplane-system crossplane-alpha/crossplane --set clusterStacks.gcp.deploy=true --set clusterStacks.gcp.version=master
@hasheddan
hasheddan / minimal-ubuntu-dockerfile
Created October 13, 2018 18:34
A minimal Ubuntu Dockerfile.
FROM ubuntu:latest
{
"name": "babel"
"commits": [
{
"author": "Brian Ng",
"date": "2018-09-17T03:09:23Z",
"message": "Fix parsing of newline between 'async' and 'function' (#8698)"
"files" : [
{
"path": ".circleci",
0x4BC18c9830650b92693ff5734048A834A58dc649