Skip to content

Instantly share code, notes, and snippets.

View mattrude's full-sized avatar

Matt Rude mattrude

View GitHub Profile
@mattrude
mattrude / e2e-buildscript.sh
Created June 11, 2014 09:10
(Legacy) Google Chrome Extension End-To-End build script, please see https://gist.github.com/mattrude/dbd3660802ae35572fc6 for the updated script.
#!/bin/bash
# end-to-end build script
# Matt Rude <matt@mattrude.com>
# Created: 11-June-2014
#
# This is the Google Chrome Extension End-To-End build script,
# the code may be found at: https://code.google.com/p/end-to-end/
# This is the same instructions as is found on the end-to-end site.
#
@mattrude
mattrude / sks-1.1.5-stats.patch
Last active August 29, 2015 14:07
SKS Keyserver v1.1.5 patch to remove "SKS" from the status page.
diff --git a/stats.ml b/stats.ml
index 3647e4b..d9d33dd 100644
--- a/stats.ml
+++ b/stats.ml
@@ -139,7 +139,7 @@ let info_tables () =
<table summary=\"Keyserver Settings\">
<tr><td>Hostname:</td><td>%s</td></tr>
<tr><td>Nodename:</td><td>%s</td></tr>
- <tr><td>Version:</td><td>%s%s</td></tr>
+ <tr><td>SKS Version:</td><td>%s%s</td></tr>
@mattrude
mattrude / make-dns-cert.c
Created October 23, 2014 08:37
An OpenPGP-to-DNS CERT conversion tool - http://crane.initd.net/source/make-dns-cert.c
/* make-dns-cert.c - An OpenPGP-to-DNS CERT conversion tool
* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*

Keybase proof

I hereby claim:

  • I am mattrude on github.
  • I am mattrude (https://keybase.io/mattrude) on keybase.
  • I have a public key whose fingerprint is AE73 8427 2B91 AD63 5902 320B 2714 3AFF DD23 BF73

To claim this, I am signing this object:

From d6557aa324e6db67937a555a5705ed5ad13adab0 Mon Sep 17 00:00:00 2001
---
dbserver.ml | 2 +-
htmlTemplates.ml | 2 +-
stats.ml | 4 ++--
wserver.ml | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dbserver.ml b/dbserver.ml
(***********************************************************************)
(* htmlTemplates.ml *)
(* *)
(* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, *)
(* 2011, 2012, 2013 Yaron Minsky and Contributors *)
(* *)
(* This file is part of SKS. SKS is free software; you can *)
(* redistribute it and/or modify it under the terms of the GNU General *)
(* Public License as published by the Free Software Foundation; either *)
(* version 2 of the License, or (at your option) any later version. *)
---
htmlTemplates.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/htmlTemplates.ml b/htmlTemplates.ml
index e220d72..c3fb69e 100644
--- a/htmlTemplates.ml
+++ b/htmlTemplates.ml
@@ -50,7 +50,7 @@ let html_quote string =
let br_regexp = Str.regexp_case_fold "<br />"
@mattrude
mattrude / add-title-css-to-html.patch
Created March 19, 2015 14:44
This patch will add a title and CSS to your sks-keyserver html pages.
---
htmlTemplates.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/htmlTemplates.ml b/htmlTemplates.ml
index e220d72..506b4b0 100644
--- a/htmlTemplates.ml
+++ b/htmlTemplates.ml
@@ -50,7 +50,7 @@ let html_quote string =
let br_regexp = Str.regexp_case_fold "<br />"
@mattrude
mattrude / sksdump.patch
Last active August 29, 2015 14:17
Add a 2nd space between the sum and the file
Subject: [PATCH] Add a 2nd space between the sum and the file
---
sksdump.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sksdump.ml b/sksdump.ml
index feee6bb..6213e8b 100644
--- a/sksdump.ml
+++ b/sksdump.ml
@mattrude
mattrude / e2e-buildscript.sh
Last active September 21, 2015 03:41
The new Google end-to-end build script for Ubuntu 14.04 LTS
#!/bin/bash
# end-to-end build script
# Matt Rude <matt@mattrude.com>
#
# This scirpt was built for Ubuntu 14.04 LTS, but should be able
# to work on almost any linux based system, with a few minor tweeks
# to the update process.
DATE=`date +%Y%m%d`