DEPRECATED
This gist has been moved to https://cuixiaochen.com/posts/system-research-syllabus/ . The content in here will not be updated
The knowledge involved in distributed database systems (DBMS or HTAP).
Comments and suggestions are welcomed.
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
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor | |
This is a temporary script file. | |
""" | |
# 这个程序将会处理一个页面 | |
# 第一步:下载网页(人类:在浏览器中打开网页) | |
import requests |
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
brew install gmp | |
brew install mpfr | |
brew install libmpc | |
pip install gmpy2 |
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
#!/bin/bash | |
LINE_NUMBER=${LINE_NUMBER:-1} | |
HEADER="" | |
ERROR_HEADER=("E" "F") | |
END_FLAG=false | |
print_message() { | |
if [ -n "$MESSAGE" ] | |
then |
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 python | |
# encoding: utf-8 | |
""" | |
@version: 1.0 | |
@author: Mark Tao | |
@contact: [email protected] | |
@file: multi_download.py | |
@time: 2015/11/1 19:55 | |
""" | |
from multiprocessing.dummy import Pool as ThreadPool |
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
[user] | |
name = XiaochenCui | |
email = [email protected] | |
[push] | |
default = simple | |
[credential] | |
helper = store | |
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
co = checkout |
-
du -hs /path/to/directory
summarizes disk usage of a directory
-
lsb_release -a
check ubuntu version
-
sudo /etc/init.d/nscd restart