From 8f7df7550a99956eac388272d4b797f4bb593fd7 Mon Sep 17 00:00:00 2001
From: Jinwei Zhao
Date: Sun, 22 May 2016 18:31:41 +0800
Subject: remove about & update
---
about.html | 62 ---------------------------------------------------------
index.html | 3 ++-
js/portfolio.js | 58 +++++++++++++++++++++++++++++------------------------
sitemap.xml | 7 +------
4 files changed, 35 insertions(+), 95 deletions(-)
delete mode 100755 about.html
diff --git a/about.html b/about.html
deleted file mode 100755
index 27e4b63..0000000
--- a/about.html
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-$ apt-get update
-$ apt-get remove emacs
-$ apt-get install vim
-$ apt-get remove bash
-$ apt-get install zsh
-$ sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
-
- Copyleft 2013-2016 Powered by DigitalOcean
-
4096R/B878 C370 CF7D 871F AA3C 7663 7E1E B185 1D01 7D3D
-Read more at about.
+Me
+Email | Twitter | Steam | GitHub | Instagram | Evernote
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 @@ -var sleep = function(ms, callback) { - setTimeout(function() { - callback() - }, ms) - }, - favthings = ["raspberrypi", "Linux", "Let's Encrypt", "Ingress"], - removeClass = function(el, className) { - el.classList ? el.classList.remove(className) : el.className = el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)", "gi"), " ") - }, - addClass = function(el, className) { - el.classList ? el.classList.add(className) : el.className += " " + className - }, - i = 0, - nextThing = function(thing) { - i < favthings.length - 1 ? i++ : i = 0, removeClass(thing, "slideInDown"), addClass(thing, "slideOutUp"), sleep(700, function() { - thing.innerHTML = favthings[i], removeClass(thing, "slideOutUp"), addClass(thing, "slideInDown") - }) - }; -document.addEventListener("DOMContentLoaded", function() { - var thing = document.querySelectorAll(".favthing")[0]; - setTimeout(function() { - nextThing(thing) - }, 1e3), setInterval(function() { - nextThing(thing) - }, 4e3) -}); +var sleep = function(ms, callback) { + setTimeout(function() { + callback() + }, ms) + }, + favthings = ["raspberrypi", "Linux", "Let's Encrypt", "Ingress", "Computer Vision", +"Machine Learning"], + removeClass = function(el, className) { + el.classList ? el.classList.remove(className) : el.className = +el.className.replace(new RegExp("(^|\\b)" + className.split(" ").join("|") + "(\\b|$)", +"gi"), " ") + }, + addClass = function(el, className) { + el.classList ? el.classList.add(className) : el.className += " " + className + }, + i = 0, + nextThing = function(thing) { + i < favthings.length - 1 ? i++ : i = 0, removeClass(thing, "slideInDown"), +addClass(thing, "slideOutUp"), sleep(700, function() { + thing.innerHTML = favthings[i], removeClass(thing, "slideOutUp"), +addClass(thing, "slideInDown") + }) + }; +document.addEventListener("DOMContentLoaded", function() { + var thing = document.querySelectorAll(".favthing")[0]; + setTimeout(function() { + nextThing(thing) + }, 1e3), setInterval(function() { + nextThing(thing) + }, 4e3) +}); + diff --git a/sitemap.xml b/sitemap.xml index b0c51fc..18021bf 100755 --- a/sitemap.xml +++ b/sitemap.xml @@ -7,12 +7,7 @@