Skip to content

Instantly share code, notes, and snippets.

View glyph's full-sized avatar
💭
extant

Glyph glyph

💭
extant
View GitHub Profile
@glyph
glyph / profile fragment.zsh
Last active January 19, 2023 00:53 — forked from christilden/.profile fragment
git grep and replace
gg_replace() {
if [[ "$#" -lt "2" ]]; then
echo "
Usage:
$0 term replacement file_mask
Example:
$0 cappuchino cappuccino '*.html'
";
else
@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