Skip to content

Instantly share code, notes, and snippets.

View jameslmartin's full-sized avatar

James Martin jameslmartin

View GitHub Profile
@jameslmartin
jameslmartin / graphql-reading-list.md
Last active October 4, 2023 20:21
GraphQL Reading List

GraphQL is an API technology developed by Facebook and released to the public in 2015

GraphQL background

In chronological order:

  1. Martin Fowler on the Richardson Maturity Model, 2010. Not specific to GraphQL but a good primer on API design.
  2. Lee Byron (Facebook) on GraphQL Core Principles / Exploring GraphQL, conference talk at react-europe 2015. I like watching conference talks at 1.25x or 1.5x speed.
  3. Apollo GraphQL reaches 1.0 in 2017, AppSync released. Skim 2017 in GraphQL on the Apollo Blog, not a ton of useful info but 2017 was a landmark year for GraphQL adoption
  4. Apollo introduces Federation, allowing data to be stitched together from subgraphs
@jameslmartin
jameslmartin / iterm_profile.json
Created November 14, 2023 21:58
Exported "Transparent" profile from iTerm2
{
"Ansi 6 Color" : {
"Green Component" : 0.77254900000000004,
"Blue Component" : 0.99607840000000003,
"Red Component" : 0.77647060000000001
},
"Tags" : [
],
"Ansi 12 Color" : {
@jameslmartin
jameslmartin / gh_app_test.py
Created January 17, 2024 18:25
GitHub App Debugging
import time
import sys
import requests
import pprint
from jwt import jwk_from_pem, JWT
pem = 'path/to/your/private_key.pem'
app_id = '<your app ID>'
@jameslmartin
jameslmartin / lisp.py
Last active September 11, 2024 22:53
Naive parser for a subset of Lisp
import sys
from enum import Enum
from abc import ABC
class AST(ABC):
pass
class KnownSymbol(Enum):