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
sudo apt-get install git |
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
git commit -m 'First Commit' |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise32" | |
config.vm.box_url = "http://files.vagrantup.com/precise32.box" |
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
{ | |
type: "Feed" | |
href: https://developvm.lcl.opensky.com:4443/api/v2/feed/sellable/5392050f1c0ba0106500021c/replies | |
-meta: { | |
type: "Meta" | |
-properties: { | |
next_page_url: https://developvm.lcl.opensky.com:4443/api/v2/feed/sellable/5392050f1c0ba0106500021c/replies?lastActivityItemId=53a1ad65d7d483a70700004b | |
new_count_int: 0 | |
version: 1 | |
last_activity_item_used_id: "53a1ad65d7d483a70700004b" |
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
{% if product.metafields.osky_love.osky_product %} | |
{% assign oskySeller = product.metafields.osky_love.osky_seller %} | |
{% assign oskyProduct = product.metafields.osky_love.osky_product %} | |
{% capture oskyUrl %}https://opensky.com/{{ oskySeller }}/product/{{ oskyProduct }} {% endcapture %} | |
<a href='{{ oskyUrl }}' class='iframe-btn widget1 osky-love-widget-btn' data-seller='{{ oskySeller }}' data-slug='{{ oskyProduct }}'> | |
Love It | |
<div class='count'></div> | |
</a> | |
<script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)) {js=d.createElement(s);js.id=id;js.src=p+'://lcl.opensky.com/dyn-js/public-love-button.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'osky-love-widget-script');</script> | |
{% endif %} |
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
function receiveMessage(e) { | |
if (e.data.numLoves > 0) { | |
OskyPublicLoveButton.getElementsByClassName(button, 'osky-count')[0].innerHTML = e.data.numLoves; | |
OskyPublicLoveButton.disableButton(button); | |
} | |
} | |
window.addEventListener('message', receiveMessage, false); | |
var login = "https://www.opensky.com/login"; | |
var loginWindow = window.open(login, "_blank", 'height=500,width=400'); |
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
{% set opensky_url = 'https://dev2.opensky.com/' + opensky_seller + '/product/' + opensky_product %} | |
<a href='{{ opensky_url }}' class='iframe-btn widget1 osky-love-widget-btn' data-seller='{{ opensky_seller }}' data-slug='{{ opensky_product }}'> | |
Love It | |
<div class='count'></div> | |
</a> | |
<script>!function(d,s,id) {var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)) {js=d.createElement(s);js.id=id;js.src=p+'://dev2.opensky.com/dyn-js/public-love-button.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'osky-love-widget-script');</script> |
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
[ | |
{ | |
"description": "123", | |
"name": "The Zimmern", | |
"price": "7.99", | |
"quantity": "1987", | |
"sale_price": "1", | |
"sku": "Chocomi-ZIMMERN1", | |
"status": "active", | |
"weight": "0.65", |
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
[ | |
{ | |
"productId":"123456", | |
"variationId":"789012", | |
"quantity":35, | |
"address":{ | |
"address1":"123 Main Street", | |
"address2":"Apt 3", | |
"city":"New York City", | |
"state":"NY", |
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
{ | |
"description":"description", | |
"name":"The Zimmern", | |
"price":"7.99", | |
"quantity":"1987", | |
"sale_price":"1", | |
"sku":"Chocomi-ZIMMERN1", | |
"status":"available", | |
"options":[ | |
{ |
OlderNewer