Skip to content

Instantly share code, notes, and snippets.

View gist:fe9d8c1f22774ca42fbf83107bc83dba
var logger;
static {
logger = new Logger();
console.log('hi');
}
export function a() {
logger.log("hey");
@bmaurer
bmaurer / address.py
Created Jan 27, 2017
address printer
View address.py
import csv
import pprint
f = open('/tmp/test', 'r')
reader = csv.DictReader(f, dialect='excel-tab')
def mailTitle(t):
if (t == 'Hon.'): return 'The Hon.'
return t
def mailFormat(t, first, middle, last):
View tcp_syn_acceptq_pct.diff
diff --git a/include/net/tcp.h b/include/net/tcp.h
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -285,6 +285,7 @@
extern int sysctl_tcp_adv_win_scale;
extern int sysctl_tcp_tw_reuse;
extern int sysctl_tcp_frto;
+extern int sysctl_tcp_syn_acceptq_pct;
extern int sysctl_tcp_low_latency;
extern int sysctl_tcp_dma_copybreak;