Skip to content

Instantly share code, notes, and snippets.

View ARR4N's full-sized avatar

Arran Schlosberg ARR4N

View GitHub Profile
// The factorial binary builds solutions for the 2nd Curta gas-golfing course.
package main
import (
"fmt"
"math/bits"
"github.com/ethereum/go-ethereum/common"
. "github.com/solidifylabs/specops" //lint:ignore ST1001 SpecOps DSL is designed to be dot-imported
@ARR4N
ARR4N / smbcFourierTransform.ts
Last active August 15, 2016 10:55
Implementation of Fourier Transform as described on SMBC
'use strict';
/*
* Documentation: http://www.smbc-comics.com/?id=2874
* Copyright 2016 Arran Schlosberg (https://arranschlosberg.com)
* License: MIT
* Written in honour of the Viking sitting in the corner.
*/
interface fourierTransform {