Skip to content

Instantly share code, notes, and snippets.

View kyledetella's full-sized avatar

Kyle DeTella kyledetella

View GitHub Profile
var self = this;
braintree.setup($("#btClientToken").val(), 'dropin', {
container: 'dropin',
paymentMethodNonceReceived: function (event, nonce) {
$.validate({
modules: 'security , date',
onSuccess: $.proxy(function () {
// do Ajax call and use nonce
// this = self;

Keybase proof

I hereby claim:

  • I am kyledetella on github.
  • I am kyledetella (https://keybase.io/kyledetella) on keybase.
  • I have a public key whose fingerprint is 0713 2F23 B978 F169 1CC6 254C A555 2456 4AD6 DEF3

To claim this, I am signing this object:

@kyledetella
kyledetella / esnextbin.md
Last active May 11, 2017 18:33
esnextbin sketch
@kyledetella
kyledetella / github-graphql-api-review.md
Last active June 27, 2018 19:45
Notes about the Github GraphQL API
  • Just typing https://api.github.com/graphql into graphiql gave a great error message pointing to documentation

    {"message":"This endpoint requires you to be authenticated.","documentation_url":"https://developer.github.com/v3/#authentication"}
  • Results weren't super clear when fetching gists. It only returned public gists by default – the documentation doesn't explicitly state this. It says: A list of the Gists the user has created.

    query User {
      user(login: "kyledetella") {
@kyledetella
kyledetella / git-change-base-branch.md
Created September 25, 2018 12:53
Git change base branch
@kyledetella
kyledetella / graphql-sdl-from-introspection.ts
Created May 7, 2021 13:14
Get SDL from GraphQL introspection query
import {
buildClientSchema,
buildSchema,
getIntrospectionQuery,
GraphQLSchema,
printSchema,
} from "graphql";
import fetch from "node-fetch";
const GRAPHQL_API_URL = "";
@kyledetella
kyledetella / graphql-resources.md
Last active March 6, 2023 15:05
GraphQL Resources

GraphQL Resources

A personal list of interesting/important GraphQL resources/topics.

Contents