Skip to content

Instantly share code, notes, and snippets.

View nlfiedler's full-sized avatar

Nathan Fiedler nlfiedler

View GitHub Profile
@nlfiedler
nlfiedler / ExtUtils.lua
Last active March 19, 2021 17:03
ExtUtils.lua with debugging for group-based skipping
--[[
Copyright 2020 Perforce Software
]]--
local ExtUtils = {}
local cjson = require "cjson"
function getManifest()
local fn = Helix.Core.Server.GetArchDirFileName( "manifest.json" )
local fh = assert( io.open( fn, "r" ) )
local m = cjson.decode( fh:read( "*all" ) )
@nlfiedler
nlfiedler / Upload.re
Created November 4, 2018 01:57
ReasonML GraphQL Apollo upload file example
module UploadAsset = [%graphql
{|
mutation Upload($file: Upload!) {
upload(file: $file)
}
|}
];
module UploadAssetMutation = ReasonApollo.CreateMutation(UploadAsset);