Skip to content

Instantly share code, notes, and snippets.

toebbel /
Created Dec 20, 2016
Install zeromq (zmq) library on fresh Amazon Linux (tested with amzn-ami-hvm-2016.03.3.x86_64-gp2)
# compilers
sudo yum install -y gcc gcc-c++
# libsodium: download, compile, install, remove intermediate files
curl | tar -xz
cd libsodium-1.0.11
./configure && make && sudo make install
cd ../ && rm -rf libsodium-1.0.11
# zmq 4.2.0
toebbel / swedish-irregular.csv
Last active Nov 15, 2016
Swedish Irregular Verbs
View swedish-irregular.csv
English Swedish
ask (infinitiv) att pray
decide (infinitiv) att besluta
bind (infinitiv) att binda
bite (infinitiv) att bita
offer (infinitiv) att bid
become (infinitiv) att bli (bliva)
burn (infinitiv) att brinna
burst (infinitiv) att snap
break (infinitiv) att bryta

Keybase proof

I hereby claim:

  • I am toebbel on github.
  • I am tobstu ( on keybase.
  • I have a public key whose fingerprint is 5048 1805 D37F 0202 19F7 0D1B C0E0 344F C97C 1EAB

To claim this, I am signing this object:

toebbel /
Last active Sep 19, 2016 — forked from lazywei/
Install mosh server without root permission
# this script does absolutely ZERO error checking. however, it worked
# for me on a RHEL 6.3 machine on 2012-08-08. clearly, the version numbers
# and/or URLs should be made variables. cheers,
mkdir mosh
cd mosh
toebbel / gist:5b51db15df0ca6151639
Created Jul 13, 2015
gcc5 fails to build on Ubuntu 14.10
View gist:5b51db15df0ca6151639
2015-07-13 17:32:03 +0200
OTHER_LDFLAGS=-L/home/tobi/.linuxbrew/lib -Wl,-rpath,/home/tobi/.linuxbrew/lib
touch src/ld/configure.h
View pre-commit-clang-format
# git pre-commit hook that runs an clang-format stylecheck.
# Features:
# - abort commit when commit does not comply with the style guidelines
# - create a patch of the proposed style changes
# modifications for clang-format by
# This file is part of a set of unofficial pre-commit hooks available
# at github.
toebbel / gist:3331637
Created Aug 12, 2012
Example for shared code
View gist:3331637
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace SomeProject.sharedCode
public class SharedClass