Skip to content

Instantly share code, notes, and snippets.

View chrj's full-sized avatar

Christian Joergensen chrj

View GitHub Profile
2013-06-02 20:24:54
2013-06-22 21:22:05
2013-06-22 23:06:55
2013-06-24 02:26:25
2013-08-02 00:11:04
2013-08-09 01:33:02
2013-11-02 18:58:45
2013-11-05 23:31:10
2013-11-07 00:53:16
2013-12-08 18:53:34
@chrj
chrj / template.service
Created May 4, 2018 14:09
Sample service unit file for systemd
[Unit]
Description=My service
[Service]
ExecStart=/usr/local/bin/my-service \
-argument value \
-otherargument othervalue
# Setuid/Setgid
User=nobody
@chrj
chrj / pem.go
Created February 1, 2018 13:37
PEM encoded private RSA key in Go
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/sha256"
"crypto/x509"
"encoding/pem"
"errors"
"fmt"
@chrj
chrj / keybase.md
Created June 3, 2015 10:32
Keybase

Keybase proof

I hereby claim:

  • I am chrj on github.
  • I am chrj (https://keybase.io/chrj) on keybase.
  • I have a public key whose fingerprint is FCBE 700F E4C5 71DB 9E4E 05CA C961 F46D DA82 B56A

To claim this, I am signing this object: