This file contains hidden or 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
{% assign valid_keys = ['products','brands','story_prefs','bookmarks'] %} | |
{% assign customer = form.customer_id | get: "Customer" %} | |
{% assign u_customer = "Customer" | new: customer.id %} | |
{% assign u_customer.metafields = [] %} | |
{% assign customer.metafields = "Metafield" | get_all: {parent:customer} %} | |
{% for key in valid_keys %} | |
{% if form.field == key %} | |
{% assign c_metafield = null %} |
This file contains hidden or 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
.product-customize-button.btn.btn-border onClick="customizeBox()" or customize your box | |
// INSTEAD OF | |
//.product-customize-button.btn.btn-border onClick="customizeBox()" | |
// p.bold-ttu.mbf or customize your box |
This file contains hidden or 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
#L43-48 | |
.col-sm-5.col-sm-offset-1 | |
a ng-href="/#!/products/{{resume.slug}}" | |
img.mtm.mbxxs ng-src="{{resume.thumbnail}}" | |
.clearfix ng-if="resume.name != ''" | |
.c-boldital.c-trail--alt.fl {{resume.name}} | |
.c-boldital.fr ng-if="resume.price != false" ${{resume.price | number: 0}} |
This file contains hidden or 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
// The final total as a global variable | |
var total = 0; | |
// This function will take an element and its index as param. | |
// We are just declaring the function here | |
function logArrayElements(element, index) { | |
// multipliying the index and element value | |
value = index * element; | |
// This console.log is just to see exactly what's happening in the console |
This file contains hidden or 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
/ | |
/ Segment.io | |
/ | |
javascript: | |
!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","page","once","off","on"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t){var e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+t+"/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};analytics.SNIPPET_VERSION="3.1.0"; | |
analytics.load("#{ENV['SEGM |
This file contains hidden or 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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^(www.)?la-bague-o.com$ [NC] | |
RewriteCond %{REQUEST_URI} !la-bague-o.com/ [NC] | |
RewriteRule ^(.*)$ /la-bague-o.com/$1 [L] |
This file contains hidden or 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
- @title = "About Us" | |
- @description = "The Team Behind the Platform" | |
%div.l-wrap--bgImage.p-about-wrap--top.l-wrap--hero | |
.l-wrap-image.l-wrap-image--tall{:data => {'stellar-ratio' => parallax_ratio}} | |
= render 'about_hero' | |
%div.l-wrap | |
%section.m-sec--white |
This file contains hidden or 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
Started GET "/spree/api/users/[email protected]" for 127.0.0.1 at 2015-04-29 13:42:46 -0400 | |
Processing by Spree::Api::UsersController#sign_in_with_email as JSON | |
Parameters: {"email"=>"boris [email protected]"} | |
Spree::User Load (0.7ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."spree_api_key" = '' LIMIT 1 | |
Spree::User Load (2.3ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."email" = '[email protected]' LIMIT 1 | |
Rendered .bundle/ruby/2.1.0/bundler/gems/spree-18ba0efc35da/api/app/views/spree/api/errors/not_found.v1.rabl (1.1ms) | |
Completed 404 Not Found in 527ms (Views: 513.7ms | ActiveRecord: 3.0ms) | |
Started POST "/api/account" for 127.0.0.1 at 2015-04-29 13:42:47 -0400 |
This file contains hidden or 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
URL visited /preregister | |
angular.js?body=1:9828 GET http://localhost:3000/spree/api/users/[email protected] 404 (Not Found)(anonymous function) @ angular.js?body=1:9828sendReq @ angular.js?body=1:9629serverRequest @ angular.js?body=1:9345processQueue @ angular.js?body=1:13190(anonymous function) @ angular.js?body=1:13206Scope.$eval @ angular.js?body=1:14402Scope.$digest @ angular.js?body=1:14218Scope.$apply @ angular.js?body=1:14507(anonymous function) @ angular.js?body=1:21444jQuery.event.dispatch @ jquery.js?body=1:4431elemData.handle @ jquery.js?body=1:4117 | |
preregister.js?body=1:28 err Object {email: "[email protected]"} | |
angular.js?body=1:9828 POST http://localhost:3000/api/account 500 (Internal Server Error)(anonymous function) @ angular.js?body=1:9828sendReq @ angular.js?body=1:9629serverRequest @ angular.js?body=1:9345processQueue @ angular.js?body=1:13190(anonymous function) @ angular.js?body=1:13206Scope.$eval @ angular.js?body=1:14402Scope.$digest @ angular.js?body=1:14218S |
This file contains hidden or 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
➜ src boxen cineflix-rights | |
Warning: Scope(Class[Boxen::Environment]): Setting up 'cineflix-rights'. This can be made permanent by having 'include projects::cineflix-rights' in your personal manifest. | |
Notice: Compiled catalog for guillaumes-macbook-pro.local in environment production in 8.38 seconds | |
Error: Execution of '/opt/boxen/homebrew/bin/git clone -c credential.helper=/opt/boxen/bin/boxen-git-credential --recurse-submodules https://github.com/DynamoMTL/cineflixinternational /Users/boris/src/cineflix-rights' returned 1: Cloning into '/Users/boris/src/cineflix-rights'... | |
No submodule mapping found in .gitmodules for path 'vendor/plugins/fast_remote_cache' | |
Error: /Stage[main]/Projects::Cineflix-rights/Boxen::Project[cineflix-rights]/Repository[/Users/boris/src/cineflix-rights]/ensure: change from absent to present failed: Execution of '/opt/boxen/homebrew/bin/git clone -c credential.helper=/opt/boxen/bin/boxen-git-credential --recurse-submodules https://github.com/DynamoMTL/cineflixinternational /Users/b |
NewerOlder