Skip to content

Instantly share code, notes, and snippets.

View dburihabwa's full-sized avatar

Dorian Burihabwa dburihabwa

  • Université de Neuchâtel
View GitHub Profile
@dburihabwa
dburihabwa / revel_setup
Created September 23, 2014 14:18
Revel setup script
#! /bin/bash
echo "mkdir ~/gocode"
mkdir ~/gocode
echo "GOPATH=~/gocode"
GOPATH=~/gocode
echo "export GOPATH=$GOPATH"
export GOPATH=$GOPATH
echo export GOPATH=$GOPATH >> ~/.bashrc
@dburihabwa
dburihabwa / gist:aa1d5de502b8301ba7c5a4348f3278df
Created December 2, 2016 15:36
Clean run for db_bench on ecryptfs
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)
@dburihabwa
dburihabwa / linux-sgx-ocaml-406-fix.patch
Created March 26, 2018 13:20
A (non-secure) patch to make the build of the sgx sdk 2.1.2 pass with ocaml 4.06
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