Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am calder12 on github.
  • I am calder12 (https://keybase.io/calder12) on keybase.
  • I have a public key ASDEmYphGfYipHYOOKQLEwnD2XXyftxSsKd_t_dkHNZTBwo

To claim this, I am signing this object:

@calder12
calder12 / gist:87ae1600c77988690c1f85ef91b1d978
Created April 27, 2018 16:53
Craft way of doing things?
// This seems really common in the Craft community
<ul>
{% set entries = craft.entries.section('events') %}
{% for entry in entries %}
<li><a href="/events/{{ entry.slug }}">{{ entry.title }}</a></li>
{% endfor %}
</ul>
header#top nav >ul >li[class*="request-header"] >a:before,
body #header-outer.transparent header#top nav >ul >li[class*="request-header"] >a:before,
#header-outer[data-lhe="animated_underline"] header#top nav >ul >li[class*="request-header"] >a:before {
background-color: #ffffff !important;
}
header#top nav >ul >li[class*="request-header-dark"] >a,
body #header-outer.transparent header#top nav >ul >li[class*="request-header-dark"] >a,
#header-outer[data-lhe="animated_underline"] header#top nav >ul >li[class*="request-header-dark"] >a {
color: #ffffff !important;
$ mix phoenix.server
[info] Running SproutStream.Endpoint with Cowboy using http://localhost:4000
[info] Running SproutStream.Endpoint with Cowboy using http://localhost:4000
[info] Running SproutStream.Endpoint with Cowboy using http://localhost:4000
[error] Task #PID<0.350.0> started from SproutStream.Endpoint terminating
** (stop) :eacces
erlang.erl:2057: :erlang.open_port({:spawn_executable, 'c:/Users/rick/Documents/dev/sprout3/webpack.dev.js'}, [:stderr_to_stdout, :use_stdio, :exit_s tatus, :binary, :hide, {:args, []}])
(elixir) lib/system.ex:570: System.cmd/3
(phoenix) lib/phoenix/endpoint/watcher.ex:15: Phoenix.Endpoint.Watcher.watch/3
(elixir) lib/task/supervised.ex:85: Task.Supervised.do_apply/2