Skip to content

Instantly share code, notes, and snippets.

@Schtee
Schtee / Dockerfile
Created January 11, 2022 20:30
gmnisrv Dockerfile
FROM alpine:latest
RUN apk add git openssl-dev build-base mailcap
RUN git clone https://git.sr.ht/~sircmpwn/scdoc
WORKDIR scdoc
RUN make -j4
RUN make install
WORKDIR /
@Schtee
Schtee / MersenneTwister.cs
Created August 10, 2015 08:52
MersenneTwister.cs retrieved from web archive. Originally http://takel.jp/mt/MersenneTwister.cs . Artistic License
/* C# Version Copyright (C) 2001-2004 Akihilo Kramot (Takel). */
/* C# porting from a C-program for MT19937, originaly coded by */
/* Takuji Nishimura, considering the suggestions by */
/* Topher Cooper and Marc Rieffel in July-Aug. 1997. */
/* This library is free software under the Artistic license: */
/* */
/* You can find the original C-program at */
/* http://www.math.keio.ac.jp/~matumoto/mt.html */
/* */