Skip to content

Instantly share code, notes, and snippets.

View 42wim's full-sized avatar
🦄
\ʕ◔ϖ◔ʔ/ P͎͚̟͚l͓͍͔̬̻͙͓u̴͚͔̙̼͈̙̗g̪̰͇̹͈͔̖g҉͍̖͉̝͖̱̟ḛ̫̝̳̤ͅḓ̶ ̵̠̰̦̹i̶n͈̳̳̰̻͕͙ 🅾🅽🅻🅸🅽🅴

Wim 42wim

🦄
\ʕ◔ϖ◔ʔ/ P͎͚̟͚l͓͍͔̬̻͙͓u̴͚͔̙̼͈̙̗g̪̰͇̹͈͔̖g҉͍̖͉̝͖̱̟ḛ̫̝̳̤ͅḓ̶ ̵̠̰̦̹i̶n͈̳̳̰̻͕͙ 🅾🅽🅻🅸🅽🅴
View GitHub Profile
@silkeh
silkeh / grace.go
Created June 4, 2018 07:27
Golang graceful restart with TCP connections
package main
import (
"encoding/json"
"flag"
"io/ioutil"
"log"
"net"
"os"
"os/signal"
@eliquious
eliquious / README.md
Created January 4, 2016 05:01
Golang OpenPGP examples

Building

go build -o goencrypt main.go

Generating Keys

Name: suricata
Version: 2.0
Release: 1%{?dist}
Summary: Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine
Group: System Environment/Daemons
License: GPLv2
URL: http://suricata-ids.org
Source0: http://www.openinfosecfoundation.org/download/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@kanzure
kanzure / git-commit-cleaner.py
Last active May 17, 2022 17:25
git-filter-branch examples and notes
"""
Creates pretty-looking commit messages for git. This was created to pretty
print the old-commit-id values for filter-branched-rewritten commits in
pyphantomjs from the phantomjs repository.
"""
import os
import sys