Skip to content

Instantly share code, notes, and snippets.

@damienrg
damienrg / git-multi-hook-template
Last active November 24, 2023 14:22
Script to allow multi hooks per hook type for git
#!/usr/bin/env bash
# Allow multiple hooks.
#
# To use it copy this script with executable permission in ".git/hooks/hook-name"
# where hook-name is the name of the hook (see man githooks to know available hooks).
# Then place your scripts with executable permission in ".git/hooks/hook-name.d/".
hook_type=${BASH_SOURCE##*/}
@damienrg
damienrg / gopy-python3.4.patch
Created July 5, 2014 15:15
gopy-python3.4.patch debian patch based on EdVanDance
diff --git a/lib/cgo.go b/lib/cgo.go
index 8627e61..4c442d1 100644
--- a/lib/cgo.go
+++ b/lib/cgo.go
@@ -1,4 +1,4 @@
package py
-// #cgo pkg-config: python-3.3
+// #cgo pkg-config: python-3.4
import "C"