aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2018-04-29 19:30:22 +0200
committerYuchen Pei <me@ypei.me>2018-04-29 19:30:22 +0200
commitc61f65701b6304ae82b41bb59acc39ef7d3d2502 (patch)
tree8931677f0583e3c231e2a484cb19936e81b78ae7
parent2822a3c7dd36d52e550f501602b135b330f6ab48 (diff)
parent4fa8a77b088a9028f4838cfca4d3a0ccc88eb390 (diff)
Merge branch 'master' into dev
-rw-r--r--README.md5
-rw-r--r--assets/js/analytics.js13
-rw-r--r--pages/about.md6
-rw-r--r--site/blog.html1
-rw-r--r--site/index.html7
-rw-r--r--site/links.html1
-rw-r--r--site/microblog.html1
-rw-r--r--site/postlist.html6
-rw-r--r--site/posts/2013-06-01-q-robinson-schensted-paper.html1
-rw-r--r--site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html1
-rw-r--r--site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html1
-rw-r--r--site/posts/2015-04-01-unitary-double-products.html1
-rw-r--r--site/posts/2015-04-02-juggling-skill-tree.html1
-rw-r--r--site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html1
-rw-r--r--site/posts/2015-07-01-causal-quantum-product-levy-area.html1
-rw-r--r--site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html1
-rw-r--r--site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html1
-rw-r--r--site/posts/2017-04-25-open_research_toywiki.html1
-rw-r--r--site/posts/2017-08-07-mathematical_bazaar.html1
-rw-r--r--templates/blog.html1
-rw-r--r--templates/default.html1
-rw-r--r--templates/microblog.html1
-rw-r--r--templates/oldpost.html1
-rw-r--r--templates/post.html1
-rw-r--r--templates/postlist.html6
25 files changed, 45 insertions, 17 deletions
diff --git a/README.md b/README.md
index 777fa01..ee28797 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,7 @@
This repository hosts all that is necessary to build [my personal webpage](https://ypei.me).
-It roughly consists of two parts, the contents and the code. The contents are the markdown files, and the code are the python code, css code and templates.
+It roughly consists of two parts, the web content and the code. The former is in the markdown files, whereas the latter corresponds to the python, css, and the html template files.
The python code (`engine/engine.py`) is a tiny static site generator depending on [pypandoc](https://pypi.python.org/pypi/pypandoc), [PyYAML](http://pyyaml.org/) and [pyatom](https://pypi.python.org/pypi/pyatom).
-The contents are licensed under CC-BY-ND unless otherwise specified.
-The code is licensed under GPLv3+.
+The content is licensed under CC-BY-ND unless otherwise specified, and the code is licensed under GPLv3+. \ No newline at end of file
diff --git a/assets/js/analytics.js b/assets/js/analytics.js
new file mode 100644
index 0000000..58f1074
--- /dev/null
+++ b/assets/js/analytics.js
@@ -0,0 +1,13 @@
+<!-- Matomo -->
+ var _paq = _paq || [];
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u="//analytics.ypei.me/";
+ _paq.push(['setTrackerUrl', u+'piwik.php']);
+ _paq.push(['setSiteId', '1']);
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+ g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
+ })();
+<!-- End Matomo Code -->
diff --git a/pages/about.md b/pages/about.md
index 799178d..d65c555 100644
--- a/pages/about.md
+++ b/pages/about.md
@@ -5,15 +5,15 @@ name: index
---
Yuchen is a postdoctoral researcher in the [KTH RMSMA group](https://www.math.kth.se/RMSMA/).
-Before KTH he did PhD in the [MASDOC program at Warwick](https://warwick.ac.uk/fac/sci/masdoc), and spent two years in a postdoc position in [CMSA at Harvard](http://cmsa.fas.harvard.edu).
+Before KTH he did a PhD in the [MASDOC program at Warwick](https://warwick.ac.uk/fac/sci/masdoc), and spent two years in a postdoc position in [CMSA at Harvard](http://cmsa.fas.harvard.edu).
He is interested in machine learning and functional programming.
He is also interested in the idea of open research and open sourced his research in Robinson-Schensted algorithms as a [wiki](https://toywiki.xyz).
He can be reached at:
-&#104;&#105;&#64;&#121;&#112;&#101;&#105;&#46;&#109;&#101; | [Github](https://github.com/ycpei) | [LinkedIn](https://www.linkedin.com/in/ycpei/) | [Twitter](https://twitter.com/_ypei)
+&#104;&#105;&#64;&#121;&#112;&#101;&#105;&#46;&#109;&#101; | [Github](https://github.com/ycpei) | [LinkedIn](https://www.linkedin.com/in/ycpei/)
-This website is made using a handmade static site generator.
+This website is made using a [handmade static site generator](https://github.com/ycpei/ypei.me/blob/master/engine/engine.py).
Unless otherwise specified, all contents on this website are licensed under [Creative Commons Attribution-NoDerivatives 4.0 International License](https://creativecommons.org/licenses/by-nd/4.0/).
diff --git a/site/blog.html b/site/blog.html
index 31a55ce..079d128 100644
--- a/site/blog.html
+++ b/site/blog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Blog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/index.html b/site/index.html
index e9ce29f..8f85f67 100644
--- a/site/index.html
+++ b/site/index.html
@@ -5,6 +5,7 @@
<title>Yuchen Pei</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
@@ -18,11 +19,11 @@
<div class="main">
<div class="bodyitem">
- <p>Yuchen is a postdoctoral researcher in the <a href="https://www.math.kth.se/RMSMA/">KTH RMSMA group</a>. Before KTH he did PhD in the <a href="https://warwick.ac.uk/fac/sci/masdoc">MASDOC program at Warwick</a>, and spent two years in a postdoc position in <a href="http://cmsa.fas.harvard.edu">CMSA at Harvard</a>.</p>
+ <p>Yuchen is a postdoctoral researcher in the <a href="https://www.math.kth.se/RMSMA/">KTH RMSMA group</a>. Before KTH he did a PhD in the <a href="https://warwick.ac.uk/fac/sci/masdoc">MASDOC program at Warwick</a>, and spent two years in a postdoc position in <a href="http://cmsa.fas.harvard.edu">CMSA at Harvard</a>.</p>
<p>He is interested in machine learning and functional programming.</p>
<p>He is also interested in the idea of open research and open sourced his research in Robinson-Schensted algorithms as a <a href="https://toywiki.xyz">wiki</a>.</p>
-<p>He can be reached at: hi@ypei.me | <a href="https://github.com/ycpei">Github</a> | <a href="https://www.linkedin.com/in/ycpei/">LinkedIn</a> | <a href="https://twitter.com/_ypei">Twitter</a></p>
-<p>This website is made using a handmade static site generator.</p>
+<p>He can be reached at: hi@ypei.me | <a href="https://github.com/ycpei">Github</a> | <a href="https://www.linkedin.com/in/ycpei/">LinkedIn</a></p>
+<p>This website is made using a <a href="https://github.com/ycpei/ypei.me/blob/master/engine/engine.py">handmade static site generator</a>.</p>
<p>Unless otherwise specified, all contents on this website are licensed under <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons Attribution-NoDerivatives 4.0 International License</a>.</p>
</div>
diff --git a/site/links.html b/site/links.html
index 9b03c14..9b53d13 100644
--- a/site/links.html
+++ b/site/links.html
@@ -5,6 +5,7 @@
<title>Links</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/microblog.html b/site/microblog.html
index 94cab80..3297a40 100644
--- a/site/microblog.html
+++ b/site/microblog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Microblog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/postlist.html b/site/postlist.html
index 0fc0dd9..8b6fedc 100644
--- a/site/postlist.html
+++ b/site/postlist.html
@@ -4,10 +4,8 @@
<meta charset="utf-8">
<title>All posts</title>
<link rel="stylesheet" href="../assets/css/default.css" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css" integrity="sha384-TEMocfGvRuD1rIAacqrknm5BQZ7W7uWitoih+jMNFXQIbNl16bO8OZmylH/Vi/Ei" crossorigin="anonymous">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js" integrity="sha384-jmxIlussZWB7qCuB+PgKG1uLjjxbVVIayPJwi6cG6Zb4YKq0JIw+OMnkkEC7kYCq" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js" integrity="sha384-IiI65aU9ZYub2MY9zhtKd1H2ps7xxf+eb2YFG9lX6uRqpXCvBTOidPRCXCrQ++Uc" crossorigin="anonymous"></script>
- <script> document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body); }); </script>
+ <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2013-06-01-q-robinson-schensted-paper.html b/site/posts/2013-06-01-q-robinson-schensted-paper.html
index b6ea55d..0d81693 100644
--- a/site/posts/2013-06-01-q-robinson-schensted-paper.html
+++ b/site/posts/2013-06-01-q-robinson-schensted-paper.html
@@ -5,6 +5,7 @@
<title>A \(q\)-weighted Robinson-Schensted algorithm</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html b/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html
index 27375d0..b546aca 100644
--- a/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html
+++ b/site/posts/2014-04-01-q-robinson-schensted-symmetry-paper.html
@@ -5,6 +5,7 @@
<title>Symmetry property of \(q\)-weighted Robinson-Schensted algorithms and branching algorithms</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html b/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html
index 89c1d56..1f72a96 100644
--- a/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html
+++ b/site/posts/2015-01-20-weighted-interpretation-super-catalan-numbers.html
@@ -5,6 +5,7 @@
<title>AMS review of 'A weighted interpretation for the super Catalan numbers' by Allen and Gheorghiciuc</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-04-01-unitary-double-products.html b/site/posts/2015-04-01-unitary-double-products.html
index e127904..086503c 100644
--- a/site/posts/2015-04-01-unitary-double-products.html
+++ b/site/posts/2015-04-01-unitary-double-products.html
@@ -5,6 +5,7 @@
<title>Unitary causal quantum stochastic double products as universal interactions I</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-04-02-juggling-skill-tree.html b/site/posts/2015-04-02-juggling-skill-tree.html
index 2d32a30..0b98acf 100644
--- a/site/posts/2015-04-02-juggling-skill-tree.html
+++ b/site/posts/2015-04-02-juggling-skill-tree.html
@@ -5,6 +5,7 @@
<title>jst</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html b/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html
index 1ad3bc9..3b426fa 100644
--- a/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html
+++ b/site/posts/2015-05-30-infinite-binary-words-containing-repetitions-odd-periods.html
@@ -5,6 +5,7 @@
<title>AMS review of 'Infinite binary words containing repetitions of odd period' by Badkobeh and Crochemore</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-07-01-causal-quantum-product-levy-area.html b/site/posts/2015-07-01-causal-quantum-product-levy-area.html
index a5cb446..cda8121 100644
--- a/site/posts/2015-07-01-causal-quantum-product-levy-area.html
+++ b/site/posts/2015-07-01-causal-quantum-product-levy-area.html
@@ -5,6 +5,7 @@
<title>On a causal quantum double product integral related to Lévy stochastic area.</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html b/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html
index aa5be88..a0d5a7c 100644
--- a/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html
+++ b/site/posts/2015-07-15-double-macdonald-polynomials-macdonald-superpolynomials.html
@@ -5,6 +5,7 @@
<title>AMS review of 'Double Macdonald polynomials as the stable limit of Macdonald superpolynomials' by Blondeau-Fournier, Lapointe and Mathieu</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html b/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html
index e74e392..e7c9a7e 100644
--- a/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html
+++ b/site/posts/2016-10-13-q-robinson-schensted-knuth-polymer.html
@@ -5,6 +5,7 @@
<title>A \(q\)-Robinson-Schensted-Knuth algorithm and a \(q\)-polymer</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2017-04-25-open_research_toywiki.html b/site/posts/2017-04-25-open_research_toywiki.html
index 1ad89e9..0fed793 100644
--- a/site/posts/2017-04-25-open_research_toywiki.html
+++ b/site/posts/2017-04-25-open_research_toywiki.html
@@ -5,6 +5,7 @@
<title>Open mathematical research and launching toywiki</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/site/posts/2017-08-07-mathematical_bazaar.html b/site/posts/2017-08-07-mathematical_bazaar.html
index 800d75c..0e5f6b0 100644
--- a/site/posts/2017-08-07-mathematical_bazaar.html
+++ b/site/posts/2017-08-07-mathematical_bazaar.html
@@ -5,6 +5,7 @@
<title>The Mathematical Bazaar</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/blog.html b/templates/blog.html
index 442b5c1..d4f8bcb 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Blog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/default.html b/templates/default.html
index 7cd66f1..b2886e5 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/microblog.html b/templates/microblog.html
index 66ef130..16babb2 100644
--- a/templates/microblog.html
+++ b/templates/microblog.html
@@ -5,6 +5,7 @@
<title>Yuchen's Microblog</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/oldpost.html b/templates/oldpost.html
index 8484071..2be3f1a 100644
--- a/templates/oldpost.html
+++ b/templates/oldpost.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/post.html b/templates/post.html
index 8484071..2be3f1a 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -5,6 +5,7 @@
<title>$title$</title>
<link rel="stylesheet" href="../assets/css/default.css" />
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>
diff --git a/templates/postlist.html b/templates/postlist.html
index 52a019b..993eaad 100644
--- a/templates/postlist.html
+++ b/templates/postlist.html
@@ -4,10 +4,8 @@
<meta charset="utf-8">
<title>All posts</title>
<link rel="stylesheet" href="../assets/css/default.css" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css" integrity="sha384-TEMocfGvRuD1rIAacqrknm5BQZ7W7uWitoih+jMNFXQIbNl16bO8OZmylH/Vi/Ei" crossorigin="anonymous">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js" integrity="sha384-jmxIlussZWB7qCuB+PgKG1uLjjxbVVIayPJwi6cG6Zb4YKq0JIw+OMnkkEC7kYCq" crossorigin="anonymous"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/contrib/auto-render.min.js" integrity="sha384-IiI65aU9ZYub2MY9zhtKd1H2ps7xxf+eb2YFG9lX6uRqpXCvBTOidPRCXCrQ++Uc" crossorigin="anonymous"></script>
- <script> document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body); }); </script>
+ <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+ <script src="../assets/js/analytics.js" type="text/javascript"></script>
</head>
<body>
<header>