I hereby claim:
- I am bxmas13 on github.
- I am brianchristmas (https://keybase.io/brianchristmas) on keybase.
- I have a public key whose fingerprint is 0BD3 1103 37A1 E1E9 CBC9 7267 6543 9DAF F911 62E7
To claim this, I am signing this object:
#!/bin/bash | |
# This script is used for create virtual hosts on CentOs. | |
# Created by alexnogard from http://alexnogard.com | |
# Improved by mattmezza from http://you.canmakethat.com | |
# Further Improved by bxmas13 from https://brianchristmas.com | |
# Feel free to modify it | |
# PARAMETERS | |
# | |
# $usr - User | |
# $dir - directory of web files |
Found that the command 'yarn create slate-theme my-new-theme' does not work 100% with Windows Command Prompt or Powershell | |
Ubuntu Bash in Windows makes Slate setup easy. | |
Run the following commands: | |
1. npm i -g @shopify/slate@latest | |
2. slate t YOUR-ThemeName | |
3. slate s (*inside YOUR-ThemeName directory*) |
// Given a query string "?to=email&why=because&first=John&Last=smith" | |
// getUrlVar("to") will return "email" | |
// getUrlVar("last") will return "smith" | |
// Slightly more concise and improved version based on http://www.jquery4u.com/snippets/url-parameters-jquery/ | |
function getUrlVar(key){ | |
var result = new RegExp(key + "=([^&]*)", "i").exec(window.location.search); | |
return result && decodeURI(result[1]) || ""; | |
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="{{ locale }}" dir="{{ direction }}" class="{{ checkout_html_classes }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0, user-scalable=0"> | |
<title>{{ shop.name }} - {{ page_title }}</title> | |
{{ content_for_header }} |
I hereby claim:
To claim this, I am signing this object: