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
/**** global css ****/ | |
body{font-family:Arial, Helvetica, sans-serif;} | |
a {text-decoration:none; color:#5fa6d8;} | |
a:hover{color:#84ddf2;} | |
p{line-height:1.45em;} | |
.left{float: left;} | |
.right{float: right;} |
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
Fixing xcrun: error: invalid active developer path (/usr/bin), missing xcrun at: /usr/bin/usr/bin/xcrun in OSX 10.9 Mavericks | |
When using git for the first time in OSX Mavericks you may run into a problem where you get the following error: | |
xcrun: error: invalid active developer path (/usr/bin), missing xcrun at: /usr/bin/usr/bin/xcrun | |
This error indicates can be fixed by running the following commands: | |
sudo xcode-select --install |
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
{% include 'breadcrumb' %} | |
<div itemscope itemtype="http://schema.org/Product"> | |
<meta itemprop="url" content="{{ shop.url }}{{ product.url }}"> | |
<meta itemprop="image" content="{{ product.featured_image.src | product_img_url: 'grande' }}"> | |
<meta itemprop="shop-currency" content="{{ shop.currency }}"> | |
<section class="main-container col1-layout"> | |
<div class="main container"> | |
<div class="col-main"> | |
<div class="row"> | |
<div class="product-view"> |
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
{% include 'breadcrumb' %} | |
<div itemscope itemtype="http://schema.org/Product"> | |
<meta itemprop="url" content="{{ shop.url }}{{ product.url }}"> | |
<meta itemprop="image" content="{{ product.featured_image.src | product_img_url: 'grande' }}"> | |
<meta itemprop="shop-currency" content="{{ shop.currency }}"> | |
<section class="main-container col1-layout"> | |
<div class="main container"> | |
<div class="col-main"> | |
<div class="row"> | |
<div class="product-view"> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
{% if settings.enable_favicon %} | |
<link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png"> | |
{% 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
{% if settings.enable_favicon %} | |
<link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png"> | |
{% 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
<meta property="og:url" content="{{ canonical_url }}"> | |
<meta property="og:site_name" content="{{ store.name }}"> | |
{% if template contains 'product' %} | |
<meta property="og:type" content="product"> | |
<meta property="og:title" content="{{ product.name | strip_html }}"> | |
{% for image in product.images limit:1 %} | |
<meta property="og:image" content="http:{{ image.src | img_url: 'grande' }}"> | |
<meta property="og:image:secure_url" content="https:{{ image.src | img_url: 'grande' }}"> | |
{% endfor %} | |
<meta property="og:price:amount" content="{{ product.price | money_without_currency }}"> |
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
<meta property="og:url" content="{{ canonical_url }}"> | |
<meta property="og:site_name" content="{{ store.name }}"> | |
{% if template contains 'product' %} | |
<meta property="og:type" content="product"> | |
<meta property="og:title" content="{{ product.name | strip_html }}"> | |
{% for image in product.images limit:1 %} | |
<meta property="og:image" content="http:{{ image.src | img_url: 'grande' }}"> | |
<meta property="og:image:secure_url" content="https:{{ image.src | img_url: 'grande' }}"> | |
{% endfor %} | |
<meta property="og:price:amount" content="{{ product.price | money_without_currency }}"> |
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
<ul id="products"> | |
{% for product in products %} | |
<li> | |
<h2>{{ product.name }}</h2> | |
Chỉ từ {{ product.price | money }} | |
<p>{{ product.description | truncatewords: 200 }}</p> | |
</li> | |
{% endfor %} | |
</ul> |
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
DO | |
$do$ | |
DECLARE startValue integer := 41; | |
DECLARE endValue integer := 60; | |
DECLARE counter integer; | |
DECLARE prefix text = 'bonotox'; | |
BEGIN | |
counter := startValue; | |
LOOP exit when counter > endValue; | |
insert into hq_user(id, username, email, fullname, password, created_by, created_at) |