Skip to content

Instantly share code, notes, and snippets.

View b-murphy's full-sized avatar
😁

Brendan b-murphy

😁
  • Product Story
  • London, England
View GitHub Profile
# what's the expectation for the require within constant (non global state)
# like this?
require "mary.rb"
Bob = Module.new {}
defmodule HelloPhoenix.Memcached.Supervisor do
use Supervisor
def start_link do
Supervisor.start_link(__MODULE__, [])
end
def init([]) do
pool_options = [
name: {:local, :memcached_pool},
$('#someSpecialLinkToBasket').on('click', function(e) {
fbq('track', 'InitiateCheckout', {
basket_value: 1000,
});
});