- 首先你需要一个 GitHub 账号。 https://github.com。
- 访问 https://github.com/frcefz/website/ ,点击 Fork 把这个项目拷贝到自己的账户下。
- 在拷贝后的网站
_posts
文件夹下点击Create New File
创建文件。 - 文件名设置为
2016-08-04-first-day-training.markdown
(格式为日期-英文名(无空格)
)。 - 复制文件头
--- layout: post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import random | |
DEFAULT_WALLET = 100 | |
N = 100 | |
R = 100 | |
def do_transaction(storage, id_from, id_to): | |
storage[id_from] -= 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const _ = require('lodash'); | |
const Promise = require('bluebird'); | |
const parser = Promise.promisifyAll(new require('xml2js').Parser()); | |
const fs = Promise.promisifyAll(require('fs')); | |
let output = ""; | |
fs.readdirAsync(`${__dirname}/data`) | |
.filter(file => /^1U0[6-7]p[A-Z0-9]{2}[A-F].xml$/.test(file)) | |
.map(file => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shadowrocket: 2017-02-25 12:29:14 | |
[General] | |
bypass-system = true | |
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com,captive.apple.com | |
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 | |
dns-server = | |
[Rule] | |
DOMAIN-KEYWORD,google,PROXY,force-remote-dns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
bypass-system = true | |
skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com,captive.apple.com | |
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 | |
dns-server = | |
[Rule] | |
FINAL,DIRECT |
I hereby claim:
- I am skyzh on github.
- I am skyzh (https://keybase.io/skyzh) on keybase.
- I have a public key whose fingerprint is 2894 A8BA 99EB 1686 9CD0 005A F14F 523A D023 B56C
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(int i = 0, j; i < str.length(); i = j + 1) { | |
for(j = i; j != ' ' && j < str.length(); ++j) { | |
} | |
} |