Skip to content

Instantly share code, notes, and snippets.

View elibarzilay's full-sized avatar

Eli Barzilay elibarzilay

View GitHub Profile
const state = banned() ? "banned"
: loggedIn() ? "loggedIn"
: /* else */ "loggedOut";

Keybase proof

I hereby claim:

  • I am elibarzilay on github.
  • I am elibarzilay (https://keybase.io/elibarzilay) on keybase.
  • I have a public key whose fingerprint is 6A5A 577B E8D1 7C59 F4D0 F32D AC67 2B54 5148 CAA2

To claim this, I am signing this object:

#lang racket/base
(provide get-top-level-collection-paths)
(require racket/string racket/list racket/path setup/dirs setup/link)
(define (add-directory-collections c s)
(if (directory-exists? c)
(for/fold ([s s]) ([p (in-list (directory-list c))]
#:when (directory-exists? (build-path c p))