Skip to content

Instantly share code, notes, and snippets.

View kingishb's full-sized avatar
🤗
hi!

Brian King kingishb

🤗
hi!
  • MD
View GitHub Profile
@kingishb
kingishb / envelope_encryption.go
Created January 22, 2019 17:49 — forked from andreas/envelope_encryption.go
Envelope Encryption with Amazon KMS and Go
package main
import (
"bytes"
"crypto/rand"
"encoding/gob"
"fmt"
"io/ioutil"
"os"
"time"
@kingishb
kingishb / _service.md
Created April 3, 2017 14:14 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)