aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinwei Zhao <[email protected]>2016-05-22 18:31:41 +0800
committerJinwei Zhao <[email protected]>2017-01-13 15:07:46 +0800
commit8f7df7550a99956eac388272d4b797f4bb593fd7 (patch)
tree7e10a0b734d956a8a058cdaf0d7b01edea1b3cc2
parentf687e2803ed53493a03525adc542254151fc6579 (diff)
downloadjinwei.me-8f7df7550a99956eac388272d4b797f4bb593fd7.tar.gz
remove about & update
-rwxr-xr-xabout.html62
-rwxr-xr-xindex.html3
-rwxr-xr-xjs/portfolio.js58
-rwxr-xr-xsitemap.xml7
4 files changed, 35 insertions, 95 deletions
diff --git a/about.html b/about.html
deleted file mode 100755
index 27e4b63..0000000
--- a/about.html
+++ /dev/null
@@ -1,62 +0,0 @@
1<!DOCTYPE html>
2<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5<!--[if gt IE 8]><!-->
6<html class="no-js">
7 <!--<![endif]-->
8 <head>
9 <meta charset="utf-8">
10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
11 <title>Hello World</title>
12 <meta property="og:title" content="Hello World" />
13 <meta property="og:type" content="website" />
14 <meta property="og:url" content="https://jinwei.me" />
15 <meta property="og:site_name" content="Hello World" />
16 <meta name="theme-color" content="#2b303b">
17 <meta name="viewport" content="width=device-width">
18 <link rel="icon" type="image/x-icon" href="favicon.ico">
19 <link rel="stylesheet" href="css/main.css">
20 <link rel="stylesheet" href="css/font.css">
21 </head>
22 <body>
23 <div class="bg-highlight">
24<pre>
25<span>$</span> apt-get update
26<span>$</span> apt-get remove emacs
27<span>$</span> apt-get install vim
28<span>$</span> apt-get remove bash
29<span>$</span> apt-get install zsh
30<span>$</span> sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
31</pre>
32 </div>
33 <div class="copyright">
34 <pre><span>Copyleft 2013-2016 Powered by <a href="https://www.digitalocean.com/">DigitalOcean</a></span></pre>
35 </div>
36 <section class="block">
37 <div class="centered">
38 <p>Long Live Shadowsocks and GoAgent.</p>
39 <p>There is a <a href="https://www.evernote.com/pub/clarkzjw/websnapshotshare" target="_blank">list of articles</a> (The link is blocked in mainland China) I saved and shared at Evernote.</p>
40 <br>
41 <p>Me</p>
42 <p><a href="mailto:[email protected]">Email</a> | <a href="https://twitter.com/JinweiClarkChao">Twitter</a> | <a href="http://steamcommunity.com/id/clarkzjw/">Steam</a> | <a href="https://github.com/JinweiClarkChao">GitHub</a> | <a href="https://www.instagram.com/clarkzjw/">Instagram</a></p>
43 <p>Feel free to write PGP-encrypted email to me.</p>
44 </div>
45 </section>
46 <script>
47 (function(i, s, o, g, r, a, m) {
48 i['GoogleAnalyticsObject'] = r;
49 i[r] = i[r] || function() {
50 (i[r].q = i[r].q || []).push(arguments)
51 }, i[r].l = 1 * new Date();
52 a = s.createElement(o),
53 m = s.getElementsByTagName(o)[0];
54 a.async = 1;
55 a.src = g;
56 m.parentNode.insertBefore(a, m)
57 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
58 ga('create', 'UA-76465291-1', 'auto');
59 ga('send', 'pageview');
60 </script>
61 </body>
62</html>
diff --git a/index.html b/index.html
index 619c566..7b7a3b4 100755
--- a/index.html
+++ b/index.html
@@ -42,7 +42,8 @@
42 <p>4096R/B878 C370 CF7D 871F AA3C 7663 7E1E B185 1D01 7D3D</p> 42 <p>4096R/B878 C370 CF7D 871F AA3C 7663 7E1E B185 1D01 7D3D</p>
43 <p><a href="https://pgp.mit.edu/pks/lookup?op=get&search=0x7E1EB1851D017D3D" target="_blank">pgp.mit.edu</a> 43 <p><a href="https://pgp.mit.edu/pks/lookup?op=get&search=0x7E1EB1851D017D3D" target="_blank">pgp.mit.edu</a>
44 | <a href="https://keybase.io/clarkzjw" target="_blank">keybase.io</a></p> 44 | <a href="https://keybase.io/clarkzjw" target="_blank">keybase.io</a></p>
45 <p>Read more at <a href="about.html">about</a>.</p> 45 <p>Me</p>
46 <p><a href="mailto:[email protected]">Email</a> | <a href="https://twitter.com/JinweiClarkChao">Twitter</a> | <a href="http://steamcommunity.com/id/clarkzjw/">Steam</a> | <a href="https://github.com/JinweiClarkChao">GitHub</a> | <a href="https://www.instagram.com/clarkzjw/">Instagram</a> | <a href="https://www.evernote.com/pub/clarkzjw/websnapshotshare">Evernote</a></p>
46 </div> 47 </div>
47 </section> 48 </section>
48 <script src="js/portfolio.js"></script> 49 <script src="js/portfolio.js"></script>
diff --git a/js/portfolio.js b/js/portfolio.js
index 9e3f76f..f1ab1fb 100755
--- a/js/portfolio.js
+++ b/js/portfolio.js
@@ -1,26 +1,32 @@
1var sleep = function(ms, callback) { 1var sleep = function(ms, callback) {
2 setTimeout(function() { 2 setTimeout(function() {
3 callback() 3 callback()
4 }, ms) 4 }, ms)
5 }, 5 },
6 favthings = ["raspberrypi", "Linux", "Let's Encrypt", "Ingress"], 6 favthings = ["raspberrypi", "Linux", "Let's Encrypt", "Ingress", "Computer Vision",
7 removeClass = function(el, className) { 7"Machine Learning"],
8 el.classList ? el.classList.remove(className) : el.className = el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)", "gi"), " ") 8 removeClass = function(el, className) {
9 }, 9 el.classList ? el.classList.remove(className) : el.className =
10 addClass = function(el, className) { 10el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)",
11 el.classList ? el.classList.add(className) : el.className += " " + className 11"gi"), " ")
12 }, 12 },
13 i = 0, 13 addClass = function(el, className) {
14 nextThing = function(thing) { 14 el.classList ? el.classList.add(className) : el.className += " " + className
15 i < favthings.length - 1 ? i++ : i = 0, removeClass(thing, "slideInDown"), addClass(thing, "slideOutUp"), sleep(700, function() { 15 },
16 thing.innerHTML = favthings[i], removeClass(thing, "slideOutUp"), addClass(thing, "slideInDown") 16 i = 0,
17 }) 17 nextThing = function(thing) {
18 }; 18 i < favthings.length - 1 ? i++ : i = 0, removeClass(thing, "slideInDown"),
19document.addEventListener("DOMContentLoaded", function() { 19addClass(thing, "slideOutUp"), sleep(700, function() {
20 var thing = document.querySelectorAll(".favthing")[0]; 20 thing.innerHTML = favthings[i], removeClass(thing, "slideOutUp"),
21 setTimeout(function() { 21addClass(thing, "slideInDown")
22 nextThing(thing) 22 })
23 }, 1e3), setInterval(function() { 23 };
24 nextThing(thing) 24document.addEventListener("DOMContentLoaded", function() {
25 }, 4e3) 25 var thing = document.querySelectorAll(".favthing")[0];
26}); 26 setTimeout(function() {
27 nextThing(thing)
28 }, 1e3), setInterval(function() {
29 nextThing(thing)
30 }, 4e3)
31});
32
diff --git a/sitemap.xml b/sitemap.xml
index b0c51fc..18021bf 100755
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -7,12 +7,7 @@
7 7
8<url> 8<url>
9 <loc>https://jinwei.me/</loc> 9 <loc>https://jinwei.me/</loc>
10 <lastmod>2016-05-01T00:00:00+00:00</lastmod> 10 <lastmod>2016-05-022T00:00:00+00:00</lastmod>
11 <changefreq>weekly</changefreq>
12</url>
13<url>
14 <loc>https://jinwei.me/about.html</loc>
15 <lastmod>2016-05-01T00:00:00+00:00</lastmod>
16 <changefreq>weekly</changefreq> 11 <changefreq>weekly</changefreq>
17</url> 12</url>
18</urlset> \ No newline at end of file 13</urlset> \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)