Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block richp10

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
richp10 / client.go
Created Sep 24, 2019
Minimal not working pion SCTP example..
View client.go
package main
import (
richp10 / GetSha1
Created Jul 11, 2018
Delphi 7 Sha1
View GetSha1
unit Sha1;
// No range and overflow checking, do not remove!!!
View go - shoco model for emails
// Copyright 2016 Tom Thorogood. All rights reserved.
// Use of this source code is governed by a
// Modified BSD License license that can be found in
// the LICENSE file.
// Copyright 2014 Christian Schramm. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package main
View bugRepMailer.php
// ***************************************************************
// bugRepMailer.php version: 1.2 · date: 2012-05-06
// -------------------------------------------------------------
// exception handling
// -------------------------------------------------------------
// Copyright (C) 1999 - 2012, All Rights Reserved
// ***************************************************************
View gist:2938dbd28300241d444f45eb5d1d364f
View gist:996de77b3563d1c1577c
# USAGE: ./
# DESCRIPTION: run the script so that the geodata will be downloaded and inserted into your
# database
richp10 / gist:464e363a321c7238fbd3
Created Aug 24, 2015
PHP phpdaemon dependencies
View gist:464e363a321c7238fbd3
export CHOST="x86_64-pc-linux-gnu"
export CFLAGS="-march=native -O3 -pipe -Wall -D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=native"
__prep() {
yum -y remove libevent
yum -y install gcc cmake openssl-devel
richp10 / gist:1c367d3c67aec762788e
Created May 10, 2014
Secure iptables configuration for coreos ??
View gist:1c367d3c67aec762788e
// This systemd runs iptables-restore on boot:
Description=Packet Filtering Framework
ExecStart=/usr/sbin/iptables-restore /opt/docker/scripts/iptables/iptables.rules
richp10 / gist:9290480
Created Mar 1, 2014
Configure docker host
View gist:9290480
# This configures the HOST machine that will run docker
# Note we need Ubuntu Raring 13.04 and Saucy 13.10 (64 bit) for the HOST
# See
mkdir -p /src
apt-key adv --keyserver --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sh -c "echo deb docker main > /etc/apt/sources.list.d/docker.list"
apt-get -y update && apt-get -y upgrade
You can’t perform that action at this time.