Skip to content

Instantly share code, notes, and snippets.

View kyledetella's full-sized avatar

Kyle DeTella kyledetella

View GitHub Profile
@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 / git-change-base-branch.md
Created September 25, 2018 12:53
Git change base branch
@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
@ctalkington
ctalkington / grunt.js
Created September 12, 2012 02:44
Grunt Glob to Multi Files Object
// gruntfile dropin used to build a grunt files object with 1:1 structure
function globToMultiFiles(glob, dest, options) {
var path = require('path');
grunt.util = grunt.util || grunt.utils;
dest = grunt.template.process(dest);
options = grunt.util._.defaults(options || {}, {
cwd: '',
@steveclarke
steveclarke / capybara.md
Created April 10, 2012 17:32
RSpec Matchers

Capybara

save_and_open_page

Matchers

have_button(locator)