Skip to content

Instantly share code, notes, and snippets.

@alexballas
alexballas / main.go
Last active December 14, 2022 23:30
BFS / DFS
package main
import (
"fmt"
)
type Node struct {
Children []*Node
ID int
}
@alexballas
alexballas / rickrollreader.go
Last active November 29, 2021 20:54
An io.Reader that generates an infinite number of Rick Roll lyrics
package main
import (
"io"
)
var rr = `We're no strangers to love
You know the rules and so do I
A full commitment's what I'm thinking of
You wouldn't get this from any other guy
@alexballas
alexballas / keybase.md
Created August 26, 2021 22:27
keybase.md

Keybase proof

I hereby claim:

  • I am alexballas on github.
  • I am alexballas (https://keybase.io/alexballas) on keybase.
  • I have a public key ASBiqAfwxOs2zKnCZ6p4d_YdryENI6qW4Swdc3gZ_o8RwQo

To claim this, I am signing this object: