Skip to content

Instantly share code, notes, and snippets.

Rene Jochum pcdummy

Block or report user

Report or block pcdummy

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
@pcdummy
pcdummy / hetzner.py
Last active Apr 27, 2018
Hetzner Mininet.
View hetzner.py
#!/usr/bin/env python
"""
Helper to create a Hetzner root server style Network.
At Hetzner the gateway blocks alls MAC's except the
one of the route server, this means you need to proxy_arp
your virtual hosts.
Known bugs:
- pingAll doesn't seem to work right with this.
"""
@pcdummy
pcdummy / bench_test.go
Last active Mar 16, 2017
Go RPC Benchmarks, encoding/gob seems to be the fastest RPC encoder for Go.
View bench_test.go
// Copyright 2013 René Kistl. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package srpc
import (
"errors"
"fmt"
"github.com/pcdummy/skynet2/rpc/bsonrpc"
You can’t perform that action at this time.