Maxiang CSS

Mellow Contrast

Monokai

Self Defined CSS:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
body, td {
background-color: white;
font-size: 14px;
}


h1 {
font-size: 250%;
text-align: center;
color: #87b13f;
line-height: 1.2em;
}


h2, h3, h4, h5, h6 {
color: #2461AA;
font-weight: bold;
}


h2 {
font-size: 180%;
line-height: 1.4em;
border-bottom: 1px #1a81c2 solid;
}


h3 {
font-size: 150%;
}


h4, h5, h6 {
font-size:125%;
}


tt, code, pre {
font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace;
}

Mac OS Software

System Management

iStatMenus

http://www.pc6.com/mac/111587.html

Efficient

  • EverNote

Terminal

iTerm 2

https://www.iterm2.com/

Sublime Text 3

https://www.sublimetext.com/3

brew

  • Install:http://brew.sh/
  • Install software:
    1
    2
    3
    brew install wget
    brew install lftp
    brew install gdal

R

R-GUI

RStudio

Tools

  • FileZilla
  • Sunrise
  • Wunderlist
  • Pocket
  • Teamviewer
  • Google Chrome
  • EndNote X7
  • 马克飞象
  • Skype
  • Reeder
  • WeChat
  • QQ
  • Thunder
  • QGIS
  • Office 2016
  • The Unarchiver
  • Lantern
  • Skype

动态的北京城

引言

利用移动互联时代的LBS定位数据,定量刻画城市活动动态变化.

Read more »

搭建 Hexo + Github 博客

引言

本工作的根本目的是在Github上搭建一个个人博客。其优点是免费,而且可以学习Git。因此本人从今天开始打算将博客平台转移到Github上来。

Github上可以用来搭建博客的工具大概有三个:Hexo, Jekyll, octopress等。但是经过研究发现最好的方式还是采用Github + Hexo的方式,因此这里介绍的方法正是基于该方法。

基于Github + Hexo的博客搭建方法网上有许多教程,可以参考中文的详细教程。推荐一下两个网站上的详细教程:

  1. 如何搭建一个独立博客——简明Github Pages与Hexo教程
  2. Hexo主题博客
  3. 使用GitHub和Hexo搭建免费静态Blog
Read more »

Install Ghost on Linode

Linode.com is a popular choice for a VPS hosting. This post will walk through how to install Ghost on Linode.

Install

Install Node

Setup with Ubuntu, then install with Ubuntu

1
2
3
4
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs
node -v
npm -v

Install nginx

apt-get install nginx

Download and Install Ghost

1
2
3
4
5
6
7
mkdir -p /var/www/
cd /var/www/
wget -O ghost.zip https://ghost.org/zip/ghost-latest.zip
unzip -d ghost ghost.zip
cd ghost
npm install --production
cp config.example.js config.js
Read more »

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment