Fork me on GitHub
#beginners
<
2016-05-15
>
nathansmutz03:05:10

I'm setting things up in .lein/profiles.clj. I see instructions for adding {:user .... to set up one thing and for adding {:repl... to set up cider. Should profiles.clj contain a single map with the :user and :repl keys, or should that file have two maps, in it one for each?

roberto03:05:44

ex:

{:user {}
:repl {:plugins [[jonase/eastwood "0.2.1"]]
       :dependencies [[alembic "0.3.2"]
                      [pjstadig/humane-test-output "0.7.0"]
                      [org.clojure/tools.nrepl "0.2.12"]]
        :injections [(require 'pjstadig.humane-test-output)
                     (pjstadig.humane-test-output/activate!)]}}

nathansmutz03:05:43

Thanks @roberto ! That's what made the most sense; but I needed to be sure it was: {:user [some stuff] :repl [repl stuff]} rather than: {:user [some stuff]} {:repl [repl stuff]}

agi_underground10:05:19

i can not find any article with example how add image to web-page with giccup...((((

roosta10:05:48

@agi_underground: the src should be relative to your public directory. So /img/image.png should suffice.

roosta10:05:05

@agi_underground: also your style should be a map. not a string. {:style {:width "100%"}} like so

agi_underground10:05:15

@roosta: thank you so mach! yes, it`s work perfect. I not see before in any article anything about resources that can be relative to /public directory. Simple thing, but so important.

roosta10:05:35

glad I could help! 🙂