2015-05-04 07:53:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-07-01 16:10:20 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2016-01-12 14:01:42 +00:00
|
|
|
<% if(typeof robots !== 'undefined' && robots) { %>
|
|
|
|
<meta name="robots" content="<%- robots %>">
|
|
|
|
<% } %>
|
2016-06-21 13:42:03 +00:00
|
|
|
<% if(typeof description !== 'undefined' && description) { %>
|
|
|
|
<meta name="description" content="<%- description %>">
|
|
|
|
<% } %>
|
2015-07-01 16:10:20 +00:00
|
|
|
<title><%- title %></title>
|
2015-05-04 07:53:29 +00:00
|
|
|
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
|
2015-09-22 04:06:13 +00:00
|
|
|
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
|
|
|
|
<% if(useCDN) { %>
|
2016-04-20 08:28:18 +00:00
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/ionicons/2.0.1/css/ionicons.min.css">
|
2016-04-20 10:22:18 +00:00
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css">
|
2015-09-22 04:06:13 +00:00
|
|
|
<% } else { %>
|
2016-04-20 08:28:18 +00:00
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css">
|
2016-04-20 10:22:18 +00:00
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css">
|
2015-09-22 04:06:13 +00:00
|
|
|
<% } %>
|
2016-10-13 03:42:17 +00:00
|
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
2015-05-04 07:53:29 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
|
|
|
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
2016-03-04 15:26:27 +00:00
|
|
|
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
2015-05-04 07:53:29 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
|
|
|
|
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
|
2016-10-12 10:14:39 +00:00
|
|
|
<%- include build/pretty-header %>
|
2015-05-04 07:53:29 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
|
2016-07-30 03:07:47 +00:00
|
|
|
<link rel="stylesheet" href="<%- url %>/css/slide-preview.css">
|
2015-05-04 07:53:29 +00:00
|
|
|
<link rel="stylesheet" href='<%- url %>/css/site.css'>
|
2016-01-12 13:37:04 +00:00
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
|
|
<!--[if lt IE 9]>
|
2016-07-30 04:19:42 +00:00
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
2016-01-12 13:37:04 +00:00
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
2016-07-30 04:19:42 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js"></script>
|
2016-01-12 13:37:04 +00:00
|
|
|
<![endif]-->
|
2015-05-04 07:53:29 +00:00
|
|
|
</head>
|
|
|
|
|
2015-07-01 16:10:20 +00:00
|
|
|
<body style="display:none;">
|
2015-09-25 10:55:56 +00:00
|
|
|
<div class="ui-infobar container-fluid unselectable hidden-print">
|
2015-07-01 16:10:20 +00:00
|
|
|
<small>
|
2016-01-12 14:01:42 +00:00
|
|
|
<span>
|
|
|
|
<% if(lastchangeuserprofile) { %>
|
|
|
|
<span class="ui-lastchangeuser"> <i class="ui-user-icon small" style="background-image: url(<%- lastchangeuserprofile.photo %>);" data-toggle="tooltip" data-placement="right" title="<%- lastchangeuserprofile.name %>"></i></span>
|
|
|
|
<% } else { %>
|
2016-10-10 12:32:20 +00:00
|
|
|
<span class="ui-no-lastchangeuser"> <i class="fa fa-clock-o fa-fw" style="width: 18px;"></i></span>
|
2016-01-12 14:01:42 +00:00
|
|
|
<% } %>
|
2016-04-20 10:03:55 +00:00
|
|
|
<span class="text-uppercase ui-status-lastchange"></span>
|
|
|
|
<span class="ui-lastchange text-uppercase" data-createtime="<%- createtime %>" data-updatetime="<%- updatetime %>"></span>
|
2016-01-12 14:01:42 +00:00
|
|
|
</span>
|
|
|
|
<span class="pull-right"><%- viewcount %> views <a href="#" class="ui-edit" title="Edit this note"><i class="fa fa-fw fa-pencil"></i></a></span>
|
2016-10-10 12:32:20 +00:00
|
|
|
<br>
|
|
|
|
<% if(ownerprofile && owner !== lastchangeuser) { %>
|
|
|
|
<span class="ui-owner">
|
|
|
|
 <i class="ui-user-icon small" style="background-image: url(<%- ownerprofile.photo %>);" data-toggle="tooltip" data-placement="right" title="<%- ownerprofile.name %>"></i>
|
|
|
|
<span class="text-uppercase">owned this note</span>
|
|
|
|
</span>
|
|
|
|
<% } %>
|
2015-07-01 16:10:20 +00:00
|
|
|
</small>
|
|
|
|
</div>
|
2016-01-12 14:01:42 +00:00
|
|
|
<div id="doc" class="container markdown-body"><%- body %></div>
|
2015-09-25 10:55:56 +00:00
|
|
|
<div class="ui-toc dropup unselectable hidden-print" style="display:none;">
|
2015-07-01 16:10:20 +00:00
|
|
|
<div class="pull-right dropdown">
|
2016-07-30 04:19:42 +00:00
|
|
|
<a id="tocLabel" class="ui-toc-label btn btn-default" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" title="Table of content">
|
2015-07-01 16:10:20 +00:00
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</a>
|
2016-08-15 03:27:32 +00:00
|
|
|
<ul id="ui-toc" class="ui-toc-dropdown dropdown-menu" aria-labelledby="tocLabel">
|
2015-07-01 16:10:20 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-15 03:27:32 +00:00
|
|
|
<div id="ui-toc-affix" class="ui-affix-toc ui-toc-dropdown unselectable hidden-print" data-spy="affix" style="display:none;"></div>
|
2016-08-15 03:25:27 +00:00
|
|
|
<% if(typeof disqus !== 'undefined' && disqus) { %>
|
|
|
|
<div class="container-fluid" style="max-width: 758px; margin-bottom: 40px;">
|
|
|
|
<%- include disqus %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2015-05-04 07:53:29 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
2016-03-15 02:53:45 +00:00
|
|
|
<script type="text/x-mathjax-config">
|
|
|
|
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
|
|
|
|
</script>
|
2015-09-22 04:06:13 +00:00
|
|
|
<% if(useCDN) { %>
|
2016-06-17 08:27:37 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/3.6.1/js-yaml.min.js" defer></script>
|
2016-03-15 02:53:45 +00:00
|
|
|
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
|
2016-10-10 13:14:28 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment-with-locales.min.js" defer></script>
|
2016-06-17 08:27:37 +00:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/6.0.0/mermaid.min.js" defer></script>
|
2015-09-22 04:06:13 +00:00
|
|
|
<% } else { %>
|
2016-01-12 14:01:42 +00:00
|
|
|
<script src="<%- url %>/vendor/js-yaml/dist/js-yaml.min.js" defer></script>
|
2016-03-15 02:53:45 +00:00
|
|
|
<script type="text/javascript" src="<%- url %>/vendor/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
|
2016-04-20 08:24:02 +00:00
|
|
|
<script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script>
|
|
|
|
<script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script>
|
2015-09-22 04:06:13 +00:00
|
|
|
<% } %>
|
2016-10-13 03:42:17 +00:00
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
2016-10-13 07:13:03 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
|
2016-10-13 05:59:34 +00:00
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script>
|
2016-10-13 08:35:43 +00:00
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.5/handlebars.min.js" defer></script>
|
2016-10-14 01:56:19 +00:00
|
|
|
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/gist-embed/2.5/gist-embed.min.js" defer></script>
|
2016-10-14 01:21:41 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js" defer></script>
|
2016-10-13 03:42:17 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js" defer></script>
|
2016-10-13 00:56:02 +00:00
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/viz.js/1.3.0/viz.js" defer></script>
|
2016-10-12 09:15:59 +00:00
|
|
|
<%- include build/pretty-scripts %>
|
2016-07-30 03:07:47 +00:00
|
|
|
<script src="<%- url %>/js/reveal-markdown.js" defer></script>
|
2016-10-09 13:09:22 +00:00
|
|
|
<%- include ga %>
|