Instantly share code, notes, and snippets.

View linux-sgx-ocaml-406-fix.patch
From b5e13f533b85cbedafaa30245933cb27880734ba Mon Sep 17 00:00:00 2001
From: Dorian Burihabwa <dorian@burihabwa.com>
Date: Mon, 26 Mar 2018 15:08:21 +0200
Subject: [PATCH] Add permissive ocamlbuild option for compatibility with ocaml
4.06
Added a permissive ocaml build option (-unsafe-string) to make the build
pass with ocaml 4.06 (linux-sgx is supposed to be built against ocaml
4.01).
WARNING: This may lead to a non-secure build of the sdk
View gist:aa1d5de502b8301ba7c5a4348f3278df
db_bench --db=/mnt/fuse
LevelDB: version 1.19
Date: Fri Dec 2 15:29:35 2016
CPU: 4 * Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
CPUCache: 3072 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
View revel_setup
#! /bin/bash
echo "mkdir ~/gocode"
mkdir ~/gocode
echo "GOPATH=~/gocode"
GOPATH=~/gocode
echo "export GOPATH=$GOPATH"
export GOPATH=$GOPATH
echo export GOPATH=$GOPATH >> ~/.bashrc