I hereby claim:
- I am matthewmorek on github.
- I am matthewmorek (https://keybase.io/matthewmorek) on keybase.
- I have a public key ASDHS_N-MBkWAvG1pBDqCfcWGas5VmaEEcbdNJ9IWW7LzQo
To claim this, I am signing this object:
<template> | |
<picture> | |
<source | |
v-for="format in formats" | |
:srcset="srcset(url, sizes, format, quality)" | |
:alt="alt" | |
:key="format" | |
:type="`image/${format}`" | |
/> | |
<img :src="src(url, 960, 'jpg', 90)" :alt="alt" /> |
#!/bin/sh | |
set -e | |
echo "== BUILDING ==" | |
if [ "$CONTEXT" = "production" ]; then | |
parcel build public/**/*.html --public-url ${URL} --no-source-maps | |
else | |
parcel build public/**/*.html --public-url ${DEPLOY_URL} --no-source-maps | |
fi |
<template> | |
<div id="app"> | |
<h1>My app</h1> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'My app', | |
mounted() { |
/** | |
* Barebones OS detection | |
* @return {OSName} string - contains OS alias | |
*/ | |
var platform = function () { | |
'use strict'; | |
var OSName="generic"; | |
if (navigator.appVersion.indexOf("Win")!=-1) OSName="win"; | |
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="mac"; |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# --- | |
# This script assumes you're using SSH key-based authentication to your remote | |
# It should be run from the root of the local CS-Cart installation, i.e.: `$ ./bin/sync.sh` | |
# --- | |
red='\033[0;31m' | |
green='\033[0;32m' | |
normal='\033[0m' |