Skip to content

Instantly share code, notes, and snippets.

@zas
zas / renew-gpgkey.md
Last active July 4, 2022 20:39 — forked from krisleech/renew-gpgkey.md
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

@zas
zas / graphite
Created October 8, 2015 08:25 — forked from hmmbug/graphite
ubuntu 14.04 + graphite + nginx
# goes in /etc/nginx/sites-available & link in ../sites-enabled
upstream graphite {
server unix:///tmp/uwsgi.sock;
}
server {
listen 9002;
server_name localhost;