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 '[org.httpkit.client :as h] | |
'[clojure.data.json :as json] | |
'[clojure.string :as string]) | |
(def base-url "http://challenge.shopcurbside.com") | |
(def session-url (str base-url "/get-session")) | |
(defn get-session | |
[] | |
@(h/get session-url)) |
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 triplebyte.core) | |
(defn split-string | |
([s position] (split-string s (count s) position)) | |
([s length position] | |
[(subs s 0 position) | |
(subs s position length)])) | |
(defn twigs | |
[branch] |
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
var observer, | |
callback, | |
options, | |
meats; | |
var meatword = "meatlejuice meatlejuice meatlejuice", | |
queued = false; | |
callback = function( recordqueue ) { | |
var meatspeaks = recordqueue[0].addedNodes, |
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
source 'https://rubygems.org' | |
gem 'rest-client' | |
gem 'json' | |
gem 'pry' |