This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns datomic-traverser | |
| (:require [clojure.set :as set] | |
| [datomic.api :as d] | |
| [loom.graph :as graph] | |
| [loom.alg :as alg])) | |
| ;; An implementation of Loom graph backed by a Datomic db, where nodes are | |
| ;; Datomic entities and edges are determined by datoms of attribute type ref, | |
| ;; filtered with forward-attr-blacklist and backward-attr-whitelist. | |
| ;; node-subset, when present, will restrict the nodes and edges to those |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bb | |
| ;; usage: | |
| ;; $ find-var.clj babashka.main/main src:test | |
| ;; example output: | |
| ;; src/babashka/main.clj:672:32 | |
| ;; src/babashka/main.clj:673:22 | |
| ;; src/babashka/main.clj:676:28 | |
| ;; test/babashka/test_utils.clj:31:59 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Pre-requsites: | |
| # X-code 5.0.1 with command line tools | |
| # Homebrew, homebrew python, homebrew pip | |
| export CFLAGS="-arch i386 -arch x86_64" | |
| export FFLAGS="-m32 -m64" | |
| export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64" | |
| export CC=gcc-4.2 | |
| export CXX="g++ -arch i386 -arch x86_64" | |
| brew install gfortran |