Skip to content

Instantly share code, notes, and snippets.

View builtbyproxy's full-sized avatar
🔥
HotHack

Lachlan Young builtbyproxy

🔥
HotHack
View GitHub Profile

Keybase proof

I hereby claim:

  • I am builtbyproxy on github.
  • I am builtbyproxy (https://keybase.io/builtbyproxy) on keybase.
  • I have a public key ASAk_x6apatLS5Ix_CyW1dAj4co36B-sRcOpG_HotyvIHQo

To claim this, I am signing this object:

require 'jwt'
key_file = 'key.txt' # This is the .p8 file you download from developer.apple.com. Just rename it to key.txt
team_id = ''
client_id = ''
key_id = '' # This is the KeyID of the .p8 file when you create it
ecdsa_key = OpenSSL::PKey::EC.new IO.read key_file
puts "Found Key"
puts IO.read key_file
@builtbyproxy
builtbyproxy / app.js
Created September 1, 2019 06:46
apollo-server app.js
// const { ApolloServer } = require("apollo-server");
// const path = require("path");
// const { makeSchema } = require("nexus");
// const types = require("./graphql/schema");
// const schema = makeSchema({
// types,
// outputs: {
// schema: path.join(__dirname, "/graphql/generated/schema.graphql"),
// typegen: path.join(__dirname, "/graphql/generated/typings.ts"),