Skip to content

Instantly share code, notes, and snippets.

@hello-party
hello-party / ZNC SSL.md
Last active February 7, 2019 20:56
Weechat SSL + Alias

FOR DIGITALOCEAN

Create a subdomain and rename your droplet to that FQDN (fully qualified domain name) -- e.g. d.omain.com

ON THE VPS

cat /etc/letsencrypt/live/d.omain.com/{privkey,fullchain}.pem > znc.pem

`` cd /etc/letsencrypt/renewal-hooks/deploy

@hello-party
hello-party / ZSH-Aliases.md
Last active June 25, 2019 16:55
Simple, but useful ZSH functions
#use tb somefile.txt to post to termbin
function tb() {
    cat $1 | nc termbin.com 9999
}

#save videos to Desktop

function yt() {

cd ~/Desktop