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
!. | |
=> ~ => | |
|% | |
++ add | |
|= [a=@ b=@] | |
^- @ | |
?: =(0 a) b | |
$(a (dec a), b +(b)) | |
:: | |
++ sub |
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
module.exports = { | |
entry: ['./dist/index.js'], | |
output: { | |
filename: 'bundle.js' | |
}, | |
resolve: { | |
fallback: { http: require.resolve('stream-http') } | |
} | |
}; |
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
|merge %suite our %base, =gem %init | |
|mount %suite | |
cd ~/dev/urbit/pkg | |
./symbolic-merge.sh ./arvo ./market | |
./symbolic-merge.sh ./garden-dev ./market | |
cp -RL ./market/* ~/fakenet/zod/suite |
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
/- spider | |
/+ strandio, store=graph-store, graph | |
=, strand=strand:spider | |
^- thread:spider | |
|= arg=vase | |
=/ m (strand:spider ,vase) | |
^- form:m | |
=+ !<([~ qry=tape] arg) | |
~& > "searching all graphs" | |
=* orm orm:store |
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
|% | |
+$ resource [=entity =term] | |
+$ resources (set resource) | |
:: | |
+$ entity | |
$% [%ship =ship] | |
[%ships ships=(set ship)] | |
:: [%ring ...] | |
== | |
:: |
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
/- *post | |
|% | |
+$ streams | |
$: feeds=(map resource feed) | |
tags=(set term) | |
tag-queries=(map term resources) | |
== | |
:: | |
+$ feed (ordered-map time post) | |
+$ action |
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
/- *post | |
|% | |
+$ network | |
$: graphs=(map resource (unit graph)) | |
tags=(set term) | |
tag-queries=(map term resources) | |
== | |
:: | |
+$ graph (ordered-map time node) | |
+$ node [=post replies=(unit graph)] |
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
|% | |
+$ resource [=ship =term] | |
+$ groups (map resource group) | |
+$ tag-queries (map term (set ship)) | |
+$ group | |
$: all-members=(set ship) | |
=tag-queries | |
=policy | |
== | |
:: |
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
:: hooks/associate-groups-permissions.hoon | |
|% | |
+$ state | |
$% [%0 state-zero] | |
== | |
:: | |
+$ group-path path | |
+$ permission-path path | |
:: | |
+$ state-zero |
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
/+ *synapse | |
:: | |
|_ [bol=bowl:gall sta=state] | |
:: | |
++ this . | |
:: | |
++ prep | |
|= old=(unit state) | |
^- (quip move _this) | |
?~ old |
NewerOlder