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
<script> | |
var apiKey = 'ad82728d7b4c01b7273b46907ef82fe8648c268e05c074ca37f86bb0xxxxx'; | |
var apiAccessToken = '3f89b57564d6aa0c952de57ad58afcf7xxxxx'; | |
function setCookie(name, value) { | |
document.cookie = name + '=' + value + '; domain=' + location.hostname + '; path=/'; | |
} | |
function createUid() { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { |
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
<script> | |
var submittedForm = dataLayer[dataLayer.length-1]['gtm.element']; | |
var apiKey = 'ad82728d7b4c01b7273b46907ef82fe8648c268e05c074ca37fxxxxxx'; | |
var apiAccessToken = '3f89b57564d6aa0c952de57ad58axxxxxx'; | |
var splitReferrer = document.referrer.split('/'); | |
var lead = { | |
source: 'cheep insurance', | |
anon: {{UID}}, |
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
const transformKey = (key) => { | |
if (!key) return; | |
return key | |
.trim() | |
.replace(new RegExp("-", 'g'), "") | |
.replace(new RegExp(" ", 'g'), "") | |
.toLowerCase(); | |
} |
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
<section class="navigation"> | |
<div class="link-container"> | |
<ul> | |
<li> | |
<a class="scrollable" href="#section1"> | |
Link 1 | |
</a> | |
</li> | |
<li> | |
<a class="scrollable" href="#section2"> |
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
[2016-04-21T18:08:54+00:00] INFO: AWS OpsWorks instance 2fead744-19ca-46c6-9802-d3e8b5d8e8e3, Agent version 3436-20160418214624 | |
[2016-04-21T18:08:55+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current | |
One version per cookbook | |
data_bags at /var/lib/aws/opsworks/data/data_bags | |
nodes at /var/lib/aws/opsworks/data/nodes | |
[2016-04-21T18:08:55+00:00] INFO: Forking chef instance to converge... | |
[2016-04-21T18:08:55+00:00] INFO: *** Chef 11.10.4 *** | |
[2016-04-21T18:08:55+00:00] INFO: Chef-client pid: 3943 | |
[2016-04-21T18:08:56+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON |
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
$(document).ready(function() { | |
var show_error, stripeResponseHandler, submitHandler; | |
submitHandler = function (event) { | |
var $form = $(event.target); | |
$form.find("input[type=submit]").prop("disabled", true); | |
//If Stripe was initialized correctly this will create a token using the cedit card info | |
if(Stripe){ | |
Stripe.card.createToken($form, stripeResponseHandler); |
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
2016-04-10T21:42:00.538729+00:00 app[web.1]: Started GET "/my_portfolio" for 68.147.69.93 at 2016-04-10 21:42:00 +0000 | |
2016-04-10T21:42:00.542249+00:00 app[web.1]: Processing by UsersController#my_portfolio as HTML | |
2016-04-10T21:42:00.550708+00:00 app[web.1]: User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] | |
2016-04-10T21:42:00.556657+00:00 app[web.1]: Rendered common/_spinner.html.erb (0.1ms) | |
2016-04-10T21:42:00.556990+00:00 app[web.1]: Rendered stocks/_lookup.html.erb (1.4ms) | |
2016-04-10T21:42:00.559641+00:00 app[web.1]: PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying | |
2016-04-10T21:42:00.559652+00:00 app[web.1]: LINE 1: ...stocks" INNER JOIN "user_stocks" ON "stocks"."id" = "user_st... | |
2016-04-10T21:42:00.559653+00:00 app[web.1]: ^ | |
2016-04-10T21:42:00.559654+00:00 app[web.1]: HINT: No operator matches the given name and argument type(s |
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
<%= bootstrap_devise_error_messages! %> | |
<div class="panel panel-default devise-bs"> | |
<div class="panel-heading"> | |
<h4><%= t('.sign_up', :default => "Sign up") %></h4> | |
</div> | |
<div class="panel-body"> | |
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { role: "form" }) do |f| %> | |
<div class="form-group"> | |
<%= f.label :email %> | |
<%= f.email_field :email, autofocus: true, class: "form-control" %> |