Skip to content

Instantly share code, notes, and snippets.

View hamann's full-sized avatar

Holger Amann hamann

  • nextjournal GmbH
View GitHub Profile
@hamann
hamann / keybase.md
Created September 16, 2020 07:09
keybase.md

Keybase proof

I hereby claim:

  • I am hamann on github.
  • I am hamann79 (https://keybase.io/hamann79) on keybase.
  • I have a public key ASCwGT3Fud2q6-6t_ARcvLuxUal2H0qdnuaRtUDSO0gzLwo

To claim this, I am signing this object:

@hamann
hamann / sources.list
Created April 20, 2020 12:35
ubuntu-bionic-sources
deb http://archive.ubuntu.com/ubuntu bionic main restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
deb http://archive.ubuntu.com/ubuntu bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse

Keybase proof

I hereby claim:

  • I am hamann on github.
  • I am hamann (https://keybase.io/hamann) on keybase.
  • I have a public key whose fingerprint is EAF1 7FF5 B518 E9B9 4F73 01F0 053D 6D5D A372 2767

To claim this, I am signing this object:

@hamann
hamann / ghc-elm.sh
Last active December 21, 2015 15:58
Install haskell 7.10.2 and elm 0.16 on debian wheezy
sudo apt-get install build-essential ca-certificates
sudo apt-get install libgmp10 libgmp-dev libffi-dev zlib1g-dev libtinfo-dev
# ghc 7.10.2
cd /var/tmp
wget http://downloads.haskell.org/~ghc/7.10.2/ghc-7.10.2-x86_64-unknown-linux-deb7.tar.xz
tar xvJf ghc-7.10.2-x86_64-unknown-linux-deb7.tar.xz
cd ghc-7.10.2
./configure
sudo make install
@hamann
hamann / gist:e0d79903b48c3e498bcf
Created July 5, 2015 05:35
s3 multipart upload
defmodule Db24.AWS.S3 do
require Logger
alias Db24.AWS.S3.MultipartUploadState, as: Mp
@multipart_min_chunk_size 5242880 # 5MB
defmodule MultipartUploadState do
defstruct upload_id: nil,
count: 1,
error: nil,
@hamann
hamann / gist:39371c46806e14ab3853
Created April 2, 2015 15:05
_mix zsh completion
#compdef mix
#autoload
# Elixir mix zsh completion
local -a _1st_arguments
_1st_arguments=(
'archive:Archive this project into a .ez file'
'archive.build:Archive this project into a .ez file'
'archive.install:Install an archive locally'