Skip to content

Instantly share code, notes, and snippets.

View acv's full-sized avatar

Alexandre Carmel-Veilleux acv

View GitHub Profile
function getCookie(name) {
var value = "; " + document.cookie;
var parts = value.split("; " + name + "=");
if (parts.length == 2)
return parts.pop().split(";").shift();
else
return false
}
var idToRedirect = document.currentScript.getAttribute('id');
@acv
acv / gist:22ff3b4a64c8b10dc938
Created March 15, 2015 15:38
Difference between libhttpd 1.3 and 1.4
diff -u -r libhttpd-1.3/HISTORY libhttpd-1.4/HISTORY
--- libhttpd-1.3/HISTORY 2002-11-24 21:30:05.000000000 -0500
+++ libhttpd-1.4/HISTORY 2005-02-02 16:27:42.000000000 -0500
@@ -1,4 +1,24 @@
-Version 1.3 25 Nov 2002
+Version 1.4 2 JFeb 2005
+--------------------------
+
+* Fixed problem with the authentication routine prototypes
+ and return values from httpdAuthenticate