Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Rude mattrude

View GitHub Profile
@mattrude
mattrude / e2e-buildscript.sh
Created Jun 11, 2014
(Legacy) Google Chrome Extension End-To-End build script, please see https://gist.github.com/mattrude/dbd3660802ae35572fc6 for the updated script.
View e2e-buildscript.sh
#!/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 Aug 29, 2015
SKS Keyserver v1.1.5 patch to remove "SKS" from the status page.
View sks-1.1.5-stats.patch
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>
View 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.
*
View keybase.md

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:

View sks-1.1.5-html.patch
---
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 />"
View htmlTemplates.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. *)
View 0001-The-Full-patch-set.patch
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
@mattrude
mattrude / add-title-css-to-html.patch
Created Mar 19, 2015
This patch will add a title and CSS to your sks-keyserver html pages.
View add-title-css-to-html.patch
---
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 Aug 29, 2015
Add a 2nd space between the sum and the file
View sksdump.patch
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 Sep 21, 2015
The new Google end-to-end build script for Ubuntu 14.04 LTS
View e2e-buildscript.sh
#!/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`