This file contains 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 io.erical.sandbox.pathom.bshep | |
(:require | |
[clojure.set :as set] | |
[clojure.test :refer :all] | |
[com.wsscode.pathom3.connect.indexes :as pci] | |
[com.wsscode.pathom3.connect.operation :as pco] | |
[com.wsscode.pathom3.interface.eql :as p.eql] | |
[datascript.core :as d])) | |
(deftest example1 |
This file contains 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
sadf | |
asdf | |
asdf |
This file contains 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
asdf |
This file contains 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
#!/bin/bash | |
if [ "$(TERM=xterm tput sgr0 2>/dev/null)" ]; then | |
export TERM=xterm | |
txtund=$(tput sgr 0 1) # Underline | |
txtbld=$(tput bold) # Bold | |
blu=$(tput setaf 4) # Blue | |
grn=$(tput setaf 2) # Green | |
red=$(tput setaf 1) # Red | |
bldblu=${txtbld}$(tput setaf 4) # Bold Blue |
This file contains 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
{:deps {} | |
:builds {:app {:target :browser | |
:output-dir "../server/resources/public/assets/js/compiled" | |
:asset-path "/assets/js/compiled" | |
:devtools {:watch-dir "../server/resources/public"} | |
:modules {:app {:entries [com.calebmacdonaldblack.core]}}}}} |
This file contains 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
(require '[datomic.api :as d] | |
'[clojure.string :as str]) | |
(defn normalize-query | |
"Turns a vector formatted Datomic datalog query into a map formatted | |
one." | |
[query] | |
(let [pairs (partition-by keyword? query)] | |
(assert (even? (count pairs))) | |
(into |
This file contains 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 whatever.sub-test | |
(:require [reagent.core :as r] | |
[reagent.ratom :as ratom] | |
[re-frame.core :as rf])) | |
(def invalidate-form | |
(rf/->interceptor | |
{:before identity | |
:after (fn [{{:keys [:db]} :effects :as ctx}] | |
(assoc-in ctx [:effects :db :test-changed] true))})) |
This file contains 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
1.3.1 |
This file contains 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 bash | |
appname=$(basename -s .git `git config --get remote.origin.url`) | |
txtund=$(tput sgr 0 1) # Underline | |
txtbld=$(tput bold) # Bold | |
grn=$(tput setaf 2) # Green | |
red=$(tput setaf 1) # Red | |
bldgrn=${txtbld}$(tput setaf 2) # Bold Green | |
bldred=${txtbld}$(tput setaf 1) # Bold Red |