Day1 Review

## Prefer

The first day is not as easy as what I thought before, and I now want to take a review of it.

## Parts of speech

• Verb v.
• Noun n.
• Preposition /,prɛpə’zɪʃən/ prep. e.g. in,out
• Determiner D. e.g. the
• Interjection I. e.g. wow
• Coordinate Conjunction e.g. and
• Subordinate Conjunction e.g. when
• Particle Pa.

## Phrases

• Prepositional Phrases /‘frezɪz/
• Noun Phrases
• Verb Phrases

## Form of Verb

• Finite /‘faɪnaɪt/
• Past participle /‘pɑrtə’sɪpl/
• Present participle
• Infinitive /ɪn’fɪnətɪv/

My First Day in ZJU

This is my first day in Zhejiang University which has been my dream university for many years.The environment here is all new , amazing to me, from the delicious food, to beautiful buildings.After taking a rour around the school , I think I could get a excellent education here.

I’m from Yiwu,a small but modern city in Zhejiang Province. However ,although my hometown is there, I was born in Kunming,Yunnan which enjoys a reputation of “Spring City”.After living there for almost ten years or more, I’m taken back to Yiwu by my parents, since they thought the educationb here is better than Kunming.In fact, it’s true. Students here study harder,and the teaching methord and the educational equipments are more modern.

During my high school, luckily, I learnt coding though NOIP(National Olympiad in Informatics in Provinces). With my teacher’s help and my hard working, I gained a skill in C++,algorithm and data struct.All these are interesting for me,and I experienced the desire for knowledge the first time . Meanwhile, I also made an anbition to become a full-stack engineer.

However, the road is not always smooth for me, I failed the first time I took part in the competition just for compile error. How sad I was,and I even didn’t know what hard-workn will bring back to me. I lost my heart and went though a really hard time. After what seemed a long time ,my teacher pointed outr that the failure is equal to everyone ,and who don’t give up when facing failure,who will win at last.

And now, about two years later,I become more determined in what I chose to be my career.Thanks for all the opportunities given to me, I think I will achieve my dream one day.

# Building a new theme for hexo

## What’s Hexo

Hexo is a fast,simple and powful blog famework which based on Node.js.And it can generate

A brief analysis of Odd and Even in Jquery

## :odd&:even

This is hard to understand for many jQuery learners,especially for me lol.I got the description from the jQuery’s docs,and we can find some features between odd and even.

## What’s odd

Description : Selects odd elements ,zero-indexed.

## What’s even

Description: Selects even elements ,zero-indexed.

## Explanation

Simply,jQuery is based on 0-based indexing,which seems counter-intuitively.However,you should know :even selects the first element(But the index is even) ,third element and so on within the matched set,and odd select the second element, forth election and so on within the matched set.

## 为什么我不再想用Hexo

Hexo作为一个静态的Blog框架，自然有它的优点。但同时，缺点也是十分明显的：首先，作为一个内容存贮于本地的博客架构，它的移动性变得极差，例如当我想换一台电脑更新Blog时，我不光光需要将原来电脑上的文件cp到新电脑，同时还要安装诸如Node.js,Git等等的依赖包，就这些还远远不够；我还需要生成新的密钥对，并且在托管服务器上信任这台新的PC.当你发现你将这些准备工作全部完成时(还不考虑中途遇到的各种无厘头的问题)你准备将你的Markdown文章上传，但此时的你又会发现另外一个棘手的问题：原来那台电脑没有这个新的副本该怎么办?于是，你开始陷入止不住的焦虑当中……

## 解决方案

1. 再去买一个主机或者服务器，重新使用WordPress这类动态框架。
2. 考虑将Hexo部署在服务器上，使用SSH让服务器进行本地更新。

## 安装步骤

1. 根据Hexo官方的doc，我们首先需要安装Xcode的CommandLine tools.

2. 配置安装源(recommand:淘宝源) 同样可以开SS的全局模式加以解决.

3. (可选)卸载之前安装(失败)的Hexo

sudo npm uninstall hexo-cli -g
sudo npm uninstall hexo #previous versions

4. 进行安装

sudo npm install hexo-cli -g
hexo init Blog
cd Blog
sudo npm install

5. 本地部署

sudo hexo s

6. 配置SSH

在Mac的配置过程中会遇到一些麻烦，我们大致可以遵循以下步骤

git config --global user.name "laphets"
git config --global user.email "768066323@qq.com"
ssh-keygen -t rsa -b 4096 -C "768066323@qq.com"
cat id_rsa.pu
ssh -T git@git.coding.net
cd Blog/
hexo d


6个月的折磨

dashboard