Skip to content

Instantly share code, notes, and snippets.

View escattone's full-sized avatar

Ryan Johnson escattone

View GitHub Profile
@jwhitlock
jwhitlock / rerender_docs.py
Last active March 27, 2019 01:12
Re-render documents that use a macro
# From https://gist.github.com/jwhitlock/43e34e07bef8c3f1863e91f076778ca6
from time import sleep, time
import redis
from celery.states import READY_STATES
from django.conf import settings
from kuma.wiki.models import Document
from kuma.wiki.tasks import render_document
@danieleggert
danieleggert / GPG and git on macOS.md
Last active May 3, 2024 12:26
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys