Skip to content

Instantly share code, notes, and snippets.

View mcueto's full-sized avatar

Marcelo Cueto mcueto

View GitHub Profile
@ygotthilf
ygotthilf / jwtRS256.sh
Last active May 12, 2025 12:07
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@miklb
miklb / moonphase.py
Created July 1, 2015 07:12
Calculate Lunar Phase
#!/usr/bin/env python
"""
moonphase.py - Calculate Lunar Phase
Author: Sean B. Palmer, inamidst.com
Cf. http://en.wikipedia.org/wiki/Lunar_phase#Lunar_phase_calculation
"""
import math, decimal, datetime
dec = decimal.Decimal

Chrome on OSX

  • sans-serif 100 = Helvetica Light
  • sans-serif 200 = Helvetica Light
  • sans-serif 300 = Helvetica Light
  • sans-serif 400 = Helvetica Regular
  • sans-serif 500 = Helvetica Regular
  • sans-serif 600 = Helvetica Bold
  • sans-serif 700 = Helvetica Bold