Skip to content

Instantly share code, notes, and snippets.

View galo's full-sized avatar

Galo Gimenez galo

View GitHub Profile
@galo
galo / onename
Created November 30, 2015 21:33
Verifying that +galo_gimenez is my blockchain ID. https://onename.com/galo_gimenez
apiVersion: config.istio.io/v1alpha2
kind: EndUserAuthenticationPolicySpec
metadata:
name: meme-auth-policy
namespace: default
spec:
jwts:
- issuer: https://hpcorp-cwp-dev.apigee.net
jwks_uri: https://hpcorp-cwp-dev.apigee.net/hpid-oauth-meme-apiproxy/v1/jwks
---
@galo
galo / add_to_zshrc.sh
Created September 2, 2024 22:56 — forked from karpathy/add_to_zshrc.sh
Git Commit Message AI
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# 1) gets the current staged changed diff
# 2) sends them to an LLM to write the git commit message
# 3) allows you to easily accept, edit, regenerate, cancel
# But - just read and edit the code however you like
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
gcm() {