Skip to content

Instantly share code, notes, and snippets.

View nineSean's full-sized avatar

nineSean nineSean

View GitHub Profile
@nineSean
nineSean / launch.json
Created August 8, 2019 13:04
ts-node config for vscode debug
{
"configurations": [
{
"name": "ts-node",
"type": "node",
"request": "launch",
"program": "/Users/ninesean/.nvm/versions/node/v10.15.3/bin/ts-node",
"args": ["${relativeFile}"],
"cwd": "${workspaceRoot}",
"protocol": "inspector"
@nineSean
nineSean / html_head.html
Created January 13, 2017 15:08 — forked from basecss/html_head.html
html head
<!DOCTYPE html> <!-- HTML5 doctype 不区分大小写 -->
<html lang="zh-cmn-Hans-CN"> <!-- 更加标准的 lang 属性写法 http://zhi.hu/XyIa -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <!-- 优先使用IE最新版本和 Chrome -->
<!-- width=device-width 会导致 iPhone 5 添加到主屏后以 WebAPP 全屏模式打开页面时出现黑边 http://bigc.at/ios-webapp-viewport-meta.orz -->
<meta name ="viewport" content ="initial-scale=1.0, maximum-scale=3, minimum-scale=1, user-scalable=no">