Skip to content

Instantly share code, notes, and snippets.

View mspaulding06's full-sized avatar

Matt Spaulding mspaulding06

View GitHub Profile
@mspaulding06
mspaulding06 / PKGBUILD
Created September 24, 2020 23:10
PKGBUILD (not patch) for gerbil-scheme-git in AUR
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
# for more information on packaging from GIT sources.
# Maintainer: Peter <craven@gmx.net>
pkgname=gerbil-scheme-git
@mspaulding06
mspaulding06 / PKGBUILD.patch
Created September 24, 2020 23:08
Patch for AUR package PKGBUILD gerbil-scheme-git
commit b8052e625f889eb023d2259602383871da237244
Author: Matt Spaulding <matt@mattops.io>
Date: Thu Sep 24 16:00:22 2020 -0700
* Update use of git to latest standards
* Support new Gerbil build system
* Fix profile file and include GERBIL_GSC
diff --git a/PKGBUILD b/PKGBUILD
index 08ce743..6e4a562 100644
@mspaulding06
mspaulding06 / dhgex.patch
Created April 5, 2017 21:02
diffie-hellman-group-exchange-sha256 support for golang crypto
diff --git a/vendor/golang.org/x/crypto/ssh/common.go b/vendor/golang.org/x/crypto/ssh/common.go
index dc39e4d..700fc5c 100644
--- a/vendor/golang.org/x/crypto/ssh/common.go
+++ b/vendor/golang.org/x/crypto/ssh/common.go
@@ -39,6 +39,7 @@ var supportedKexAlgos = []string{
// reuse ephemeral keys, using them for ECDH should be OK.
kexAlgoECDH256, kexAlgoECDH384, kexAlgoECDH521,
kexAlgoDH14SHA1, kexAlgoDH1SHA1,
+ kexAlgoDHGexSHA1, kexAlgoDHGexSHA256,
}
@mspaulding06
mspaulding06 / merge.go
Last active January 10, 2018 21:08
Two Way Merge
package main
import (
"fmt"
"reflect"
)
func mergeDataStructures(a, b interface{}) (interface{}, error) {
var retVal interface{}
@mspaulding06
mspaulding06 / keystore-creator.py
Created May 29, 2013 03:21
Create a keystore from a keypair. Useful for testing against Eucalyptus or AWS.
#!/usr/bin/env python
import argparse
import os
import pexpect
import subprocess
import sys
import tempfile
@mspaulding06
mspaulding06 / gen-changelog.py
Created April 23, 2013 22:01
Simple way to create a clean changelog between two commits. Allows changelog filtering to only include commits containing a substring or regular expression.
#!/usr/bin/env python
import sys
import re
from optparse import OptionParser
from subprocess import Popen, PIPE
class GitChangelog(object):
def __init__(self, from_ref=None, to_ref='HEAD', log_filter=None):
self.from_ref = from_ref