Skip to content

Instantly share code, notes, and snippets.

View powersj's full-sized avatar

Joshua Powers powersj

View GitHub Profile
@powersj
powersj / main.go
Created March 29, 2023 19:20
memguard loop
package main
import (
"fmt"
"sync"
"github.com/awnumar/memguard"
)
func loadSecret(wg *sync.WaitGroup, enclave *memguard.Enclave) {
@powersj
powersj / template.sh
Created September 6, 2017 20:47
Bash Shell Script Template
#!/bin/bash
# Bash script template
#
# Copyright 2017 Canonical Ltd.
# Joshua Powers <josh.powers@canonical.com>
VERBOSITY=0
TEMP_D=""
error() { echo "$@" 1>&2; }