Skip to content

Instantly share code, notes, and snippets.

View glyph's full-sized avatar
💭
extant

Glyph glyph

💭
extant
View GitHub Profile
@glyph
glyph / fix-osx-ssl-cert-error.txt
Last active July 25, 2019 18:32 — forked from jegger/fix-osx-ssl-cert-error.txt
Certificate validation error on mac osx pyopenssl (twisted)
# When you get an error like
# ('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')
# when using twisted, autobahn, etc...
# on macos
# than you may have to install trust roots
# Do this by using brew:
# (install brew)
brew update
brew install openssl@1.1 # this must match the current version that the macOS cryptography wheel is built against
@stevenschobert
stevenschobert / load_remote_content_mail_dot_app.scpt
Last active January 12, 2022 11:19
Apple Script to click the "Load Remote Content" button. I like to disable all remote content in Mail.app, and then bind this script to a keyboard shortcut using Keyboard Maestro. https://www.keyboardmaestro.com
tell application "System Events" to tell process "Mail"
set mainWindow to a reference to the first window
set rootSplitter to a reference to the first splitter group of the mainWindow
set firstSplitter to a reference to the last splitter group of the rootSplitter
set scrollArea to a reference to the last scroll area of the firstSplitter
set scrollGroup to a reference to the first group of the scrollArea
if number of groups of the scrollGroup is greater than 1 then
set maybeRemoteContentGroup to a reference to the first group of the scrollGroup
@glyph
glyph / keybase.md
Created June 30, 2014 19:06
keybase

Keybase proof

I hereby claim:

  • I am glyph on github.
  • I am glyph (https://keybase.io/glyph) on keybase.
  • I have a public key whose fingerprint is 06AB F638 E878 CD29 1264 18AB 7EC2 8125 0FBC 4A07

To claim this, I am signing this object: