madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

Implement proxy locator command for roaming laptop
authormartin f. krafft <>
Fri, 26 Dec 2014 12:34:22 +0000 (13:34 +0100)
committermartin f. krafft <>
Fri, 26 Dec 2014 12:34:22 +0000 (13:34 +0100)

index 71a6184..c237b89 100644 (file)
@@ -231,9 +231,7 @@ Host fishbowl | fishbowl.gern | fishbowl.lehel |
   ForwardAgent yes
   ForwardX11 yes
   HostKeyAlias fishbowl
-  CanonicalizeHostname yes
-  CanonicalizeMaxDots 0
-  CanonicalDomains
+  ProxyCommand bash -c "TARGETS=$( (TRIES=%h.{gern,lehel,rw}; eval fping -aAC1 -t100 $TRIES; eval fping6 -aAC1 -t100 $TRIES; wait) 2>&1 | sed -rne 's, : ([[:digit:]]), @\1,p' | sort -t@ -k2n | sed -ne 's, .*,,p' | tr '\n' ','); echo Targets: \$TARGETS using \${TARGETS%%%%,*} … >&2; nc -vq0 \${TARGETS%%%%,*} %p"