diff options
-rw-r--r-- | CNAME | 1 | ||||
-rwxr-xr-x | Dockerfile | 2 | ||||
-rwxr-xr-x | about.html | 62 | ||||
-rwxr-xr-x[-rw-r--r--] | css/font.css | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | css/main.css | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | favicon.ico | bin | 67646 -> 67646 bytes | |||
-rwxr-xr-x[-rw-r--r--] | index.html | 27 | ||||
-rwxr-xr-x | js/portfolio.js | 26 | ||||
-rwxr-xr-x | keybase.txt | 75 | ||||
-rwxr-xr-x[-rw-r--r--] | robots.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | sitemap.xml | 11 |
11 files changed, 198 insertions, 6 deletions
@@ -1 +0,0 @@ | |||
1 | jinwei.me | ||
diff --git a/Dockerfile b/Dockerfile new file mode 100755 index 0000000..0bbc1b3 --- /dev/null +++ b/Dockerfile | |||
@@ -0,0 +1,2 @@ | |||
1 | FROM daocloud.io/nginx | ||
2 | COPY . /usr/share/nginx/html | ||
diff --git a/about.html b/about.html new file mode 100755 index 0000000..27e4b63 --- /dev/null +++ b/about.html | |||
@@ -0,0 +1,62 @@ | |||
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/css/font.css b/css/font.css index c57f289..c57f289 100644..100755 --- a/css/font.css +++ b/css/font.css | |||
diff --git a/css/main.css b/css/main.css index 023297e..023297e 100644..100755 --- a/css/main.css +++ b/css/main.css | |||
diff --git a/favicon.ico b/favicon.ico index 22e9b0f..22e9b0f 100644..100755 --- a/favicon.ico +++ b/favicon.ico | |||
Binary files differ | |||
diff --git a/index.html b/index.html index 62632ed..619c566 100644..100755 --- a/index.html +++ b/index.html | |||
@@ -11,7 +11,7 @@ | |||
11 | <title>Hello World</title> | 11 | <title>Hello World</title> |
12 | <meta property="og:title" content="Hello World" /> | 12 | <meta property="og:title" content="Hello World" /> |
13 | <meta property="og:type" content="website" /> | 13 | <meta property="og:type" content="website" /> |
14 | <meta property="og:url" content="http://jinwei.me" /> | 14 | <meta property="og:url" content="https://jinwei.me" /> |
15 | <meta property="og:site_name" content="Hello World" /> | 15 | <meta property="og:site_name" content="Hello World" /> |
16 | <meta name="theme-color" content="#2b303b"> | 16 | <meta name="theme-color" content="#2b303b"> |
17 | <meta name="viewport" content="width=device-width"> | 17 | <meta name="viewport" content="width=device-width"> |
@@ -35,8 +35,31 @@ | |||
35 | </div> | 35 | </div> |
36 | <section class="block"> | 36 | <section class="block"> |
37 | <div class="centered"> | 37 | <div class="centered"> |
38 | <p>Please check out <a href="https://ring0.xyz" target="_blank">https://ring0.xyz</a> for the new website.</p> | 38 | <h1>I love <span class="favthing">Ingress</span></h1> |
39 | <p>My name is Jinwei Zhao. I am a computer science student in <strong>Hangzhou</strong>.</p> | ||
40 | <p>Sometimes I write blogs at <a href="https://blog.jinwei.me" target="_blank">https://blog.jinwei.me</a> | ||
41 | <p>Your connection is encrypted with <a href="https://letsencrypt.org/" target="_blank">Let's Encrypt</a>.</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> | ||
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> | ||
39 | </div> | 46 | </div> |
40 | </section> | 47 | </section> |
48 | <script src="js/portfolio.js"></script> | ||
49 | <script> | ||
50 | (function(i, s, o, g, r, a, m) { | ||
51 | i['GoogleAnalyticsObject'] = r; | ||
52 | i[r] = i[r] || function() { | ||
53 | (i[r].q = i[r].q || []).push(arguments) | ||
54 | }, i[r].l = 1 * new Date(); | ||
55 | a = s.createElement(o), | ||
56 | m = s.getElementsByTagName(o)[0]; | ||
57 | a.async = 1; | ||
58 | a.src = g; | ||
59 | m.parentNode.insertBefore(a, m) | ||
60 | })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); | ||
61 | ga('create', 'UA-76465291-1', 'auto'); | ||
62 | ga('send', 'pageview'); | ||
63 | </script> | ||
41 | </body> | 64 | </body> |
42 | </html> | 65 | </html> |
diff --git a/js/portfolio.js b/js/portfolio.js new file mode 100755 index 0000000..9e3f76f --- /dev/null +++ b/js/portfolio.js | |||
@@ -0,0 +1,26 @@ | |||
1 | var sleep = function(ms, callback) { | ||
2 | setTimeout(function() { | ||
3 | callback() | ||
4 | }, ms) | ||
5 | }, | ||
6 | favthings = ["raspberrypi", "Linux", "Let's Encrypt", "Ingress"], | ||
7 | removeClass = function(el, className) { | ||
8 | el.classList ? el.classList.remove(className) : el.className = el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)", "gi"), " ") | ||
9 | }, | ||
10 | addClass = function(el, className) { | ||
11 | el.classList ? el.classList.add(className) : el.className += " " + className | ||
12 | }, | ||
13 | i = 0, | ||
14 | nextThing = function(thing) { | ||
15 | i < favthings.length - 1 ? i++ : i = 0, removeClass(thing, "slideInDown"), addClass(thing, "slideOutUp"), sleep(700, function() { | ||
16 | thing.innerHTML = favthings[i], removeClass(thing, "slideOutUp"), addClass(thing, "slideInDown") | ||
17 | }) | ||
18 | }; | ||
19 | document.addEventListener("DOMContentLoaded", function() { | ||
20 | var thing = document.querySelectorAll(".favthing")[0]; | ||
21 | setTimeout(function() { | ||
22 | nextThing(thing) | ||
23 | }, 1e3), setInterval(function() { | ||
24 | nextThing(thing) | ||
25 | }, 4e3) | ||
26 | }); | ||
diff --git a/keybase.txt b/keybase.txt new file mode 100755 index 0000000..7e96536 --- /dev/null +++ b/keybase.txt | |||
@@ -0,0 +1,75 @@ | |||
1 | ================================================================== | ||
2 | https://keybase.io/clarkzjw | ||
3 | -------------------------------------------------------------------- | ||
4 | |||
5 | I hereby claim: | ||
6 | |||
7 | * I am an admin of https://jinwei.me | ||
8 | * I am clarkzjw (https://keybase.io/clarkzjw) on keybase. | ||
9 | * I have a public key with fingerprint B878 C370 CF7D 871F AA3C 7663 7E1E B185 1D01 7D3D | ||
10 | |||
11 | To do so, I am signing this object: | ||
12 | |||
13 | { | ||
14 | "body": { | ||
15 | "key": { | ||
16 | "eldest_kid": "0101be1101eec782bbd28cf67116502e64b270b9feb47899530fe7f0f548719842830a", | ||
17 | "fingerprint": "b878c370cf7d871faa3c76637e1eb1851d017d3d", | ||
18 | "host": "keybase.io", | ||
19 | "key_id": "7e1eb1851d017d3d", | ||
20 | "kid": "0101be1101eec782bbd28cf67116502e64b270b9feb47899530fe7f0f548719842830a", | ||
21 | "uid": "53cfd3155d4131c0affdb2147d9b6019", | ||
22 | "username": "clarkzjw" | ||
23 | }, | ||
24 | "service": { | ||
25 | "hostname": "jinwei.me", | ||
26 | "protocol": "https:" | ||
27 | }, | ||
28 | "type": "web_service_binding", | ||
29 | "version": 1 | ||
30 | }, | ||
31 | "ctime": 1462105318, | ||
32 | "expire_in": 157680000, | ||
33 | "prev": "6d2730cdd77815679cd3c14571f398704e6f36e41d50b6ee95be076b69974ba5", | ||
34 | "seqno": 50, | ||
35 | "tag": "signature" | ||
36 | } | ||
37 | |||
38 | which yields the signature: | ||
39 | |||
40 | -----BEGIN PGP MESSAGE----- | ||
41 | Version: Keybase OpenPGP v2.0.53 | ||
42 | Comment: https://keybase.io/crypto | ||
43 | |||
44 | yMNFAnicrZJ7UFRVHMeXh8uwIVCZIxkwXaE0V7xn73tRcwyBIRoWmgEqaec+zsXL | ||
45 | 4+66DzYF5GGsI4OGCQ2gFDDEzNImsM1UolPB6DgEpOCMLG5W1ChjBiNNNK0k072M | ||
46 | /defnT/O4zef7/f8zu/8Lq8P0+hCjiYMNcSHVO8OGR9pdWoKkv+4W4lwFuEwYqxE | ||
47 | SuHaAssEaHeYSyUBMSIoQAEHgTJDyFO0geMEA82LJAUASaAGSOKcgUI5RoQcTtEM | ||
48 | Q2CoCCkRFQmcpgBD4wYaQ1lEj4iSXAxtVpskOxRbjqZoHqNQXqQEhRNZFuMpksQo | ||
49 | CCAHaAIIKKAETFCEBy12VaEkx7F2mCJZlJhyMK+l9x/8/5y3c82OwHhRwABBCDjA | ||
50 | AI+yoihwBoBTAsORKGBU0A5tMlsOFZovY22lR0pcSLUeUaIVEg/VwqoveUyUSLIL | ||
51 | SinKXo9YbRaHhbeUKeGDDofVblRljsNWlXNBzvzYwcxJsqAUUVFUQJtdssiIESgk | ||
52 | 75BUS4CTBoASGKD1CHzHKtmgWVIJgiJpVBnqPbBCsSQFA4WhvCBQFA0IkmJ4AeMB | ||
53 | Tii/gDE0heKQFDES4kAgUI6EkCE4iFIkRzIMhXMsgahvOiRbECOhmDrYYsXTLhXL | ||
54 | rMNpg0j16MiBcE2ITqNdF6p2l0YXGftvzw1fj9V07jZ9X1sf+502bWbdQlLX1R7P | ||
55 | l6axi+NbZm/r/tywmvBL2L7E9/fKg9t/nZjhkMhP5/KiG6YCO0xjUn/VU8EtGb5x | ||
56 | d1th7NVg3EzdrkdjoGby5oUCgvX3mBZPV2S40yfvP9L2/37gs2vDS+zOZaHJGWjQ | ||
57 | 6GXL3V3HQvNLH2Z6vfX1HqcnUNO63JkRtbKEJ7iX6uY+XyWypdQXxp974u1e0/Tg | ||
58 | yv6POuLjVrRVrwyszi3+4DJEBSLcfXfykq31eLh5YaUkOmaj/05VQtRFb+L5GP3G | ||
59 | ofLJufek2zn9nsLVnJZr86c2+YI9rlnLGHixfPqDvHnx0mxG5sn8C16Cf6mwsPfD | ||
60 | Ru1CL3vkt+iMvOiQkYnr51qEbm91l/Xes+2+jpLUTxa035qDl2rSZ6Zer2wLnBmY | ||
61 | 2m8abW7avHlre0eVK1H3VVQg6Y24Z0KXJ18ztiXfe/7B0xHbvsl6efvIyRO1fWnp | ||
62 | V7jywQ2Re3QR8XWnq96030+BYW3y1HR7fXLRXz/e6t53qi8uZn2jq7llK5HzbuXH | ||
63 | i+FPjuZGBI96d/7dsjentfnn3MYrtxbr9nS7z77l85/PTHV48s/mx0c3FWT7Ziof | ||
64 | BDuGZzd9nZ001DWv6+270d5hPPZT2Y3EtODxgVq/5gxe5OdC49yXt920vxr6RRZr | ||
65 | mjj+sJouOmfzQefwoSwkt7Nnxz9wBr0H | ||
66 | =2h1N | ||
67 | -----END PGP MESSAGE----- | ||
68 | |||
69 | And finally, I am proving ownership of this host by posting or | ||
70 | appending to this document. | ||
71 | |||
72 | View my publicly-auditable identity here: https://keybase.io/clarkzjw | ||
73 | |||
74 | ================================================================== | ||
75 | |||
diff --git a/robots.txt b/robots.txt index b95d72c..b95d72c 100644..100755 --- a/robots.txt +++ b/robots.txt | |||
diff --git a/sitemap.xml b/sitemap.xml index 93ef154..b0c51fc 100644..100755 --- a/sitemap.xml +++ b/sitemap.xml | |||
@@ -4,10 +4,15 @@ | |||
4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 | xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 | 5 | xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 |
6 | http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | 6 | http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> |
7 | 7 | ||
8 | <url> | 8 | <url> |
9 | <loc>http://jinwei.me/</loc> | 9 | <loc>https://jinwei.me/</loc> |
10 | <lastmod>2016-04-04T00:00:00+00:00</lastmod> | 10 | <lastmod>2016-05-01T00: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> | ||
11 | <changefreq>weekly</changefreq> | 16 | <changefreq>weekly</changefreq> |
12 | </url> | 17 | </url> |
13 | </urlset> \ No newline at end of file | 18 | </urlset> \ No newline at end of file |