安装 Vim8 使用 Anaconda-python 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 ## 不需要 lto export LDFLAGS="-fno-lto" ## 有可能需要添加环境路径 ## 1. ldconfig -p |grep libSM ldconfig -p |grep libuuid ## 2. export
安装 Docker
删除旧版本
1
2
3
4
5
6
7
8
|
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
|
自动识别 log 文件
1
2
|
# 在 ~/.vimrc 添加
au BufNewFile,BufRead *.log set filetype=log
|
项目结构
1
2
3
4
5
6
7
8
9
10
|
├── readme.md
├── wepy
│ ├── ch
│ ├── __init__.py
│ ├── __pycache__
│ ├── requirements.txt
│ ├── setup.py
│ ├── utils
│ ├── __version__.py
│ └── wechat
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
while true
do
sleep 1
#rsync --progress -avPz -r -e "ssh -p60001" tbt.colo101.$(date +"%Y%m")*.tar.bz2 ops@58.33.72.179:/data/Xtp/FromZZ.SH
exitCode=$?
## -------------------------------------------------------------------------
case $exitCode in
10 | 23 | 30 | 35)
echo "$(date): rsync finished with a network related error: $exitCode"
;;
0)
echo "$(date): rsync finished without error"
break # leave the while loop
;;
*) # all other cases
echo "$(date): rsync finished with an unexpected error: $exitCode"
## break # we don't know whether repeating it makes sense
;;
esac
## -------------------------------------------------------------------------
done
|
使用 Remote 方式
1
2
|
INSERT INTO tickdata.szse_tbt_Colo102
SELECT * FROM remote('192.168.1.192:9000', 'tickdata', 'szse_tbt_Colo102', 'sig', 'sig@R7_ch') WHERE TradingDay = '2021-05-25'
|