Skip to content

Instantly share code, notes, and snippets.

View dvberkel's full-sized avatar
💭
Enjoying life, the universe and everything

Daan van Berkel dvberkel

💭
Enjoying life, the universe and everything
View GitHub Profile
@dvberkel
dvberkel / Trees.elm
Created June 19, 2016 08:11
Generate Trees in Elm
import Html exposing (Html, text, div, button)
import Html.App exposing (beginnerProgram)
import Html.Events exposing (onClick)
import Random exposing (Generator, Seed, step, initialSeed, andThen, map, map2, int)
main =
beginnerProgram {
model = init 0
, view = view
@dvberkel
dvberkel / description.md
Last active July 4, 2016 11:05
r1ckp puzzle

r1ckp puzzle

This is a gist to understand @r1ckp puzzle as shown by the following tweet:

I built a puzzle cube I can't solve pic.twitter.com/wcMCK6to5k

— Rick (@r1ckp) July 2, 2016
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Cutout

 +---+---+
@dvberkel
dvberkel / CombineProblem.elm
Created December 24, 2017 08:26
Minimal project demonstrating a problem with elm-community/parser-combinators
module CombineProblem exposing (..)
import Html
import Combine exposing (..)
import Combine.Num exposing (int)
main =
parse command "[5M]"
|> toString
|> Html.text
@dvberkel
dvberkel / errors.txt
Created August 14, 2018 16:24
cargo install elba
error[E0658]: use of unstable library feature 'fused' (see issue #35602)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:6:5
|
6 | use std::iter::FusedIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: use of unstable library feature 'fused' (see issue #35602)
--> /home/dvberkel/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-channel-0.2.4/src/internal/channel.rs:721:9
|
721 | impl<T> FusedIterator for Receiver<T> {}
@dvberkel
dvberkel / contributors.txt
Created January 9, 2020 05:07
Committers to remark; both on the project and on the wiki
Aaron Meurer
Adam Obeng
Adam Strzelecki
Aleksandar Trifunovic
Alexander Brett
Alex Claman
Alex Y. Wagner
Allan Jiang
Amin Bandali
Andrea Georgieva
@dvberkel
dvberkel / info.md
Last active February 1, 2024 09:51
Mermaid info

This fenced block shows the Mermaid version

info