git rebase --onto newBase oldBase feature/branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
buildClientSchema, | |
buildSchema, | |
getIntrospectionQuery, | |
GraphQLSchema, | |
printSchema, | |
} from "graphql"; | |
import fetch from "node-fetch"; | |
const GRAPHQL_API_URL = ""; |
-
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") {
made with esnextbin
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |