Skip to content

Instantly share code, notes, and snippets.

View junjie-xyz's full-sized avatar
🇨🇳
\(^o^)/~

Junjie junjie-xyz

🇨🇳
\(^o^)/~
View GitHub Profile
@junjie-xyz
junjie-xyz / run-and.sh
Last active October 11, 2017 03:47
Hybrid
gulp build
./bin/weweb demo/demo20170111/
cd dist/app
cp -R ./ /Users/IOriens/work/lib-hera/hera/src/main/assets/hera/app/wd55myoaAtOSp8iWjb/source/
#!/bin/sh
## A script used to push local changes to remote repo.
## Usage:
# ./update.sh
## or
# ./update.sh "Comments"
message="Just added some code..."
@junjie-xyz
junjie-xyz / .gitignore
Last active March 25, 2017 09:18
gitignore
# Folder view configuration files
.DS_Store
Desktop.ini
# Thumbnail cache files
._*
Thumbs.db
# Files that might appear on external disks
.Spotlight-V100
function detectPlatform () {
var e = window.navigator.userAgent.toLowerCase()
return /wechatdevtools/.test(e) ? 'wechatdevtools' : /(iphone|ipad)/.test(e) ? 'ios' : /android/.test(e) ? 'android' : void 0
}
@junjie-xyz
junjie-xyz / Min Head.html
Last active February 19, 2017 09:06
html-template
<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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Page Title</title>