Skip to content

Instantly share code, notes, and snippets.

View fsmv's full-sized avatar

Andy Kallmeyer fsmv

View GitHub Profile
@hallazzang
hallazzang / main.go
Last active July 4, 2024 18:19
[go] (Windows) ensure all child processes are killed when main program exits
package main
import (
"os/exec"
"unsafe"
"golang.org/x/sys/windows"
)
// We use this struct to retreive process handle(which is unexported)
@leegao
leegao / lua-uncompressed.js
Created August 16, 2011 20:54
Lua highlight rules for ACE
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License