Skip to content

Instantly share code, notes, and snippets.

@rnyrnyrny
rnyrnyrny / https.go
Created January 8, 2018 07:04 — forked from kennwhite/https.go
Simple https http/2 static web server with HSTS & CSP (A+ SSLLabs & securityheaders.io rating) in Go using LetsEncrypt acme autocert
package main
import (
"crypto/tls"
"golang.org/x/crypto/acme/autocert"
"log"
"net"
"net/http"
)
@rnyrnyrny
rnyrnyrny / init.vim
Last active March 19, 2025 08:37
my neovim config
" { =============================================== Plugin List =======================================================
call plug#begin(stdpath('data') . '/plugged')
Plug 'scrooloose/nerdcommenter' "easy commenting
Plug 'airblade/vim-gitgutter' "show git diffs
Plug 'will133/vim-dirdiff'
Plug 'fatih/vim-go'
Plug 'flazz/vim-colorschemes'