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
<div data-section-type="cart-template"> | |
<div class="page-header"> | |
<h1 class="majortitle">{{ 'cart.general.title' | t }}</h1> | |
</div> | |
{% if cart.items == empty %} | |
<div class="row-spacing align-centre"> | |
<p>{{ 'cart.general.empty' | t }}</p> | |
</div> | |
{% else %} |
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 country = shop.address.country %} | |
{% if customer.default_address %} | |
{% assign country = customer.default_address.country %} | |
{% assign zip = customer.default_address.zip %} | |
{% endif %} | |
<div class="tab shipping-calculator"> | |
<input class="tab__input" id="tab1" type="checkbox" name="tabs" checked> | |
<label class="tab__label" for="tab1">Shipping Calculator</label> |
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
sudo yum groupinstall 'Development Tools' | |
sudo yum install nginx -y | |
sudo yum install php71 -y | |
sudo yum install php71-fpm -y | |
sudo nano /etc/nginx/conf.d/default.conf | |
sudo nano /etc/php-fpm.d/www.conf | |
sudo chkconfig nginx on | |
sudo chkconfig php-fpm-71 on | |
sudo service nginx start | |
sudo service php-fpm start |
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
<?php | |
namespace Aiir\Apps\SocialPublisher\Models; | |
class Group | |
{ | |
private $id; | |
private $clientId; | |
private $name; |
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
<?php | |
namespace Aiir\SocialPublisher; | |
class FacebookPost extends Post | |
{ | |
public function publish() | |
{ | |
// Specific implementation to publish post to Facebook | |
} |
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
const AWS = require('aws-sdk'); | |
const bodyParser = require('body-parser'); | |
const config = require('./config.json'); | |
const cors = require('cors'); | |
const express = require('express'); | |
const fs = require('fs-extra'); | |
const gm = require('gm'); | |
const Promise = require('promise'); | |
const uuidv1 = require('uuid/v1'); |
NewerOlder