Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
(ns snapper.core | |
(:require [ring.adapter.jetty :as jetty] | |
[clojure.java.io :as io] | |
[ring.util.io :as ringio]) | |
(:gen-class)) | |
(defn handler | |
"Respond with a stream" | |
[request] |
class SpracticeClient.AppController extends Batman.Controller | |
question_list: null | |
step: 0 | |
current: null | |
options: null | |
answer_text: null | |
step_message: null | |
index: -> | |
Question.load (error, questions) => |
# model | |
class GiftIdea | |
has_many :images | |
end | |
# in the view (say app/views/gift_ideas/show.html.erb) | |
# say we are rendering html about one GiftIdea object, found in the @gift_idea variable | |
.. | |
.. | |
<div class="gift_idea"> |