Skip to content

Instantly share code, notes, and snippets.

View 90rdon's full-sized avatar

Gordon Chan 90rdon

  • Austin, TX
View GitHub Profile
@90rdon
90rdon / nullclaw_jwks.json
Created March 8, 2026 06:44
NullClaw Fleet — Neon Data API JWKS (public key only)
{
"keys": [
{
"kty": "RSA",
"use": "sig",
"alg": "RS256",
"kid": "nullclaw-fleet-key-1",
"n": "y_SLqUDxcvB603jJVl4HoH-D8JtUAUG01pfJrTqM39ThlUkYm0lUQhX7bMt4woJ40TZgVpcyqbz4prhlUMMkaK2qvGz5CdWhnzkqiGu4iHkosatQII5ou6P8HcpnMI-ZsXH-Hr22voTfrxKQpWw18rP3l3Stj1pv2UluOTwycRM3bbn5lnMoxRjowOmivZZBSggu-iRURMrXvG3jPXqU9J5Ai7OQrUFQ7cp6osRC7lc6_-0AbkuvQ8NqzrtKqyQn1jlsyu8S5l_tkpM1Cp45iuoeVor2IyC1EosEFTaV_zGHPF2dfQAyTb7LBz1d7YYToUZlF7HGuVOEu8qCCKQHFQ",
"e": "AQAB"
}
@90rdon
90rdon / LongestRange.java
Created March 30, 2016 03:17
Found this great code example on O(n). Thx Keith.
/*****************************************************************************
* File: LongestRange.java
* Author: Keith Schwarz (htiek@cs.stanford.edu)
*
* An algorithm for finding the longest range of consecutive integers
* contained in an array of unsorted integers. For example, if the input
* array is
*
* 16 1 12 5 4 10 2 11 13 3 15
*
@90rdon
90rdon / express.coffee
Created June 12, 2013 20:17
Ember.js: Twitter Authentication on Node.js with Passport.js
app.get '/twitter',
passport.authenticate('twitter'),
(req, res) ->
res.redirect '/' # --- should i send the user object back to ember?
app.get '/twitter/callback',
passport.authenticate('twitter'),
(req, res) ->
res.redirect '/' # --- how do i notify the client of this successful login?
@90rdon
90rdon / config.coffee
Created April 3, 2013 20:00
Ember-brunch config
exports.config =
# See docs at http://brunch.readthedocs.org/en/latest/config.html.
coffeelint:
pattern: /^app\/.*\.coffee$/
options:
indentation:
value: 2
level: "error"
files: