Skip to content

Instantly share code, notes, and snippets.

@JorGois
JorGois / keybase.md
Created February 23, 2021 12:03 — forked from sinewalker/keybase.md
How to import pub/sec PGP keys from keybase to your local GPG keyring.

Import Keybase PGP to GPG

After installing the keybase command-line tool onto a new / fresh computer, you may want to import your PGP key to the local keyring so that you may use the keys with GPG.

Import your PUBLIC PGP key:

keybase pgp export|gpg --import -
@JorGois
JorGois / varnishlog-examples.sh
Last active April 1, 2019 13:46 — forked from cupracer/varnishlog-examples.sh
varnishlog examples (version 4.x)
# filter by request host header
varnishlog -q 'ReqHeader ~ "Host: example.com"'
# filter by request url
varnishlog -q 'ReqURL ~ "^/some/path/"'
# filter by client ip (behind reverse proxy)
varnishlog -q 'ReqHeader ~ "X-Real-IP: .*123.123.123.123"'
# filter by request host header and show request url and referrer header
@JorGois
JorGois / bluetoothctl.howto.adoc
Created March 18, 2016 10:30 — forked from nickboldt/bluetoothctl.howto.adoc
Fedora 20 - using bluetoothctl to connect to a bluetooth speaker or headset
  1. On Fedora 20, as root:

    yum install bluetoothctl
  2. Insert bluetooth adapter.

  3. At a termninal, run:

    bluetoothctl