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
(do-something :to | |
:args))) |
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
(do-something :to | |
:args | |
))) |
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
(go | |
(try | |
(let [posting-ch (parse/get Posting "xWMyZ4YEGZ") | |
comments-ch (parse/find (doto (Query. Comment) | |
(.equalTo "posting" posting-pointer))) | |
posting (<? posting-ch) | |
comments (<? comments-ch)] | |
;; now we can do something | |
) | |
(catch js/Error e |
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 query = new Parse.Query(Post); | |
query.get("xWMyZ4YEGZ", { | |
success: function(post) { | |
var query = new Parse.Query(Commment); | |
query.equalTo("postId", "xWMyZ4YEGZ"); | |
query.first({ | |
success: function(object) { | |
// Now we can finally do something | |
}, | |
error: function(error) { |
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
(js* "var setImmediate = function(fn) { fn(); }") |
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
(cemerick.austin.repls/cljs-repl | |
(cljs.repl.uia/repl-env :app "/path/to/my/app/MyAwesomeApp.app")) |
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
Hi there, | |
I’m guessing it's not every day you start using a new service and I know from experience it can be a bit tough to get started with a new tool sometimes. I want to make sure you have everything you need to feel welcome and productive. If there's ever anything our team can help you with you can always reach us at [email protected] or drop us a tweet @cisimple. | |
If there is just one single tip for getting the most out of cisimple, I'd say give OTA notifications a shot. It's super handy being able to update beta testers every time a build finishes and you can always go to your build history and send out an OTA link on the fly whenever you'd like. We also support TestFlight and we take care of all the code signing for you. | |
One last thing I want to say is that the whole team is always around, almost 24/7, to reply to your emails. In fact, you can just hit reply to this email or any others you receive from us. Whether you need help, have ideas or just want to say "hello", we'll get back to you within |
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
$ lein version | |
Leiningen 2.1.3 on Java 1.6.0_26 Java HotSpot(TM) 64-Bit Server VM | |
$ lein repl :headless :port 12345 | |
nREPL server started on port 48422 | |
$ ../leiningen/bin/lein repl :headless :port 12345 | |
nREPL server started on port 12345 |
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
The street! | |
Filled with gigantic business dickbags | |
squinting at tiny, tiny phones, slamming | |
into each other like AXE-encrusted bumper cars | |
Navigating this danger zone of douchebaggery, this | |
avenue of asshats! | |
Such is the curse of |
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
(defspout resque-spout ["action"] | |
[conf context collector] | |
(let [pool (redis/redis (:resque (config/redis-config)))] | |
(spout | |
(nextTuple [] | |
(when-let [string (get-action redis)] | |
(when-let [action (action-from-resque string)] | |
(let [id (str (java.util.UUID/randomUUID))] | |
(emit-spout! collector [action] :id id))))) | |
(ack [id] |