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 yswrl.test.swirls.amazon-test | |
(:use clojure.test) | |
(:require [yswrl.test.scaffolding :refer :all] | |
[yswrl.swirls.amazon :as amazon]) | |
(:use clj-http.fake) | |
(:use yswrl.fake.faker)) | |
(deftest amazon-test | |
(testing "url Params are in order" |
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 | |
# First, install ncat: http://nmap.org/ncat/ | |
# Usually comes with the 'nmap' package on distributions. | |
ncat -k -v -l -p 5555 -c 'ipfs refs local | gzip' | |
# To retrieve on the client machine: | |
# nc 127.0.0.1 5555 | gunzip | ipfs pin add -r |