Skip to content

Instantly share code, notes, and snippets.

View GeeLaw's full-sized avatar

Ji Luo GeeLaw

View GitHub Profile
@GeeLaw
GeeLaw / handler.cc
Created May 26, 2018 22:00
URI protocol handler that chooses a class-verb combination based on the URI
/**************************************************************************\
|* *|
|* The MIT License (MIT) *|
|* *|
|* Copyright © 2018 by Gee Law *|
|* *|
|* Permission is hereby granted, free of charge, to any person obtaining *|
|* a copy of this software and associated documentation files (the “Soft- *|
|* ware”), to deal in the Software without restriction, including without *|
|* limitation the rights to use, copy, modify, merge, publish, distribute,*|
@GeeLaw
GeeLaw / keybase.md
Created February 19, 2016 16:01
Identifying this account as geelaw on Keybase.

Keybase proof

I hereby claim:

  • I am geelaw on github.
  • I am geelaw (https://keybase.io/geelaw) on keybase.
  • I have a public key whose fingerprint is 36A6 DC21 7826 C763 FCC4 7114 951F 0BEB A856 D53A

To claim this, I am signing this object:

@GeeLaw
GeeLaw / word-detach-template-vba-macro
Last active May 10, 2022 16:58
A VBA Macro for Microsoft Word to attach the normal template (Normal.dotm) to the active document.
Option Explicit
' CC BY-SA
' by Gee Law on github.com/geelaw
Sub DetachTemplate()
'
' DetachTemplate Macro
'
'
@GeeLaw
GeeLaw / geelawdicttkeytvaluedotnet.cs
Created June 16, 2014 15:44
On Dictionary<TKey, TValue> in .NET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestDict
{
struct SampleStructIS
{