Skip to content

Instantly share code, notes, and snippets.

View christopherliu's full-sized avatar
🙃

Christopher Liu christopherliu

🙃
View GitHub Profile
@christopherliu
christopherliu / cascadeDelete.ts (support for finalized Keystone 6)
Last active March 22, 2022 20:18 — forked from DiesIrae/cascadeDelete.ts
Abstract Cascade Delete Hook for Keystone 6
// "@keystone-6/core": "^1.0.1",
// *******************************************************************
// Adding support for the General Availability release of Keystone 6.
// Only updated cascadeDelete.ts. Haven't updated tests.
// *******************************************************************
// The actual lib
// utils/keystone/cascadeDelete.ts
type Id = NonNullable<any>;
@christopherliu
christopherliu / .gitconfig
Last active August 12, 2020 20:41 — forked from shawndumas/.gitconfig
Using WinMerge as the git Diff/Merge Tool on Windows 64bit
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[merge]
tool = winmerge
[mergetool "winmerge"]
name = WinMerge
<html>
<script data-main="" src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.8/require.min.js"></script>
<script type="text/javascript">
//function that gets called on body onload
define('loadPage', ['hideAllDivs'], function ()
{
return function()
{
console.log("here");
hideAllDivs();