Skip to content

Instantly share code, notes, and snippets.

Wordlist ver 0.732 - EXPECT INCOMPATIBLE CHANGES;
acrobat africa alaska albert albino album
alcohol alex alpha amadeus amanda amazon
america analog animal antenna antonio apollo
april aroma artist aspirin athlete atlas
banana bandit banjo bikini bingo bonus
camera canada carbon casino catalog cinema
citizen cobra comet compact complex context
credit critic crystal culture david delta
dialog diploma doctor domino dragon drama
@nsjph
nsjph / sshd.go
Created December 18, 2016 03:51 — forked from jpillora/sshd.go
Go SSH server complete example - Read more here https://blog.gopheracademy.com/go-and-ssh/
// A small SSH daemon providing bash sessions
//
// Server:
// cd my/new/dir/
// #generate server keypair
// ssh-keygen -t rsa
// go get -v .
// go run sshd.go
//
// Client:
#!/bin/bash
#
# This script tests connectivity to every dnscrypt proxy resolver found
# in the master list in /usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv
# (ubuntu/debian specific)
#
# The script may take a while, it's set to wait for up to 1 minute (-t 1)
# for response from server.
#
# To use:
@nsjph
nsjph / get-in.rkt
Created March 10, 2015 09:43
Clojure's "get-in" function in Racket
; This is a simple port of http://clojuredocs.org/clojure.core/get-in functionality
;
; This can be used to retrieve a value from a nested hash based on a supplied list of keys
(define (get-in h ks)
(cond
[(empty? ks) h]
[else
(let ([k (first ks)])
(let ([h (hash-ref h k)])
@nsjph
nsjph / gist:a6b8f57225155a5354fc
Last active August 29, 2015 14:16
cjdns benchmark on ODROID C1 (ARM7 32bit) - Feb 2015

Vendor-provided Lubuntu 14.04

Uname output

Linux odroid 3.10.69-71 #1 SMP PREEMPT Mon Feb 23 21:04:31 BRT 2015 armv7l armv7l armv7l GNU/Linux

Build flags / environment variables

export Seccomp_NO=1

export CFLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=hard -marm -Wno-error=maybe-uninitialized"