<commit_before># Quick open yorg working enviorment

cd ~/program/yorg/
tmux new-session -s yorg-dev -n yorg-vim -d

tmux new-window -n yorg-test -t yorg-dev

# vim window
tmux send-keys -t yorg-dev:1.1 C-m
tmux send-keys -t yorg-dev:1.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:1.1 'vim' C-m

# yorg test
tmux split-window -h -t yorg-dev:2
tmux split-window -v -t yorg-dev:2
tmux split-window -v -t yorg-dev:2.2
tmux send-keys -t yorg-dev:2.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.2 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.2 'vtest-yorg' C-m
tmux send-keys -t yorg-dev:2.4 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.3 'mongo' C-m

# yorg-control
tmux new-window -n yorg-control -t yorg-dev
tmux split-window -h -t yorg-dev:3

tmux send-keys -t yorg-dev:3.1 'cd ../yorg-control/' C-m
tmux send-keys -t yorg-dev:3.2 'cd ../yorg-control/' C-m
tmux send-keys -t yorg-dev:3.1 'workon ycontrol' C-m
tmux send-keys -t yorg-dev:3.2 'workon ycontrol' C-m

# yorg-control
tmux new-window -n brm-index -t yorg-dev
tmux split-window -h -t yorg-dev:4
tmux send-keys -t yorg-dev:4.1 'workon brm-index' C-m
tmux send-keys -t yorg-dev:4.2 'workon brm-index' C-m
tmux send-keys -t yorg-dev:4.1 'cd ../brm-index/' C-m
tmux send-keys -t yorg-dev:4.2 'cd ../brm-index/' C-m
tmux send-keys -t yorg-dev:4.1 'source .env.testing' C-m
tmux send-keys -t yorg-dev:4.1 'vim brm_index/datasource.py' C-m
tmux send-keys -t yorg-dev:4.2 'source .env.testing' C-m


# tools
tmux new-window -n tools -t yorg-dev
tmux split-window -h -t yorg-dev:5
tmux split-window -v -t yorg-dev:5 # 2.3 redis
tmux split-window -v -t yorg-dev:5 # 2.4 sslocal
tmux send-keys -t yorg-dev:5.3 'cd ~' C-m
tmux send-keys -t yorg-dev:5.3 'redis-server;if [ $? -eq 0 ];then echo success;else exit;fi' C-m
tmux send-keys -t yorg-dev:5.4 'sslocal -c /etc/shadowsocks.json' C-m

tmux -2 attach -t yorg-dev:1<commit_msg>change yorg-contro brm-index env to yorg<commit_after># Quick open yorg working enviorment

cd ~/program/yorg/
tmux new-session -s yorg-dev -n yorg-vim -d

tmux new-window -n yorg-test -t yorg-dev

# vim window
tmux send-keys -t yorg-dev:1.1 C-m
tmux send-keys -t yorg-dev:1.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:1.1 'vim' C-m

# yorg test
tmux split-window -h -t yorg-dev:2
tmux split-window -v -t yorg-dev:2
tmux split-window -v -t yorg-dev:2.2
tmux send-keys -t yorg-dev:2.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.2 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.2 'vtest-yorg' C-m
tmux send-keys -t yorg-dev:2.4 'workon yorg' C-m
tmux send-keys -t yorg-dev:2.3 'mongo' C-m

# yorg-control
tmux new-window -n yorg-control -t yorg-dev
tmux split-window -h -t yorg-dev:3

tmux send-keys -t yorg-dev:3.1 'cd ../yorg-control/' C-m
tmux send-keys -t yorg-dev:3.2 'cd ../yorg-control/' C-m
tmux send-keys -t yorg-dev:3.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:3.2 'workon yorg' C-m

# yorg-control
tmux new-window -n brm-index -t yorg-dev
tmux split-window -h -t yorg-dev:4
tmux send-keys -t yorg-dev:4.1 'workon yorg' C-m
tmux send-keys -t yorg-dev:4.2 'workon yorg' C-m
tmux send-keys -t yorg-dev:4.1 'cd ../brm-index/' C-m
tmux send-keys -t yorg-dev:4.2 'cd ../brm-index/' C-m
tmux send-keys -t yorg-dev:4.1 'source .env.testing' C-m
tmux send-keys -t yorg-dev:4.1 'vim brm_index/datasource.py' C-m
tmux send-keys -t yorg-dev:4.2 'source .env.testing' C-m


# tools
tmux new-window -n tools -t yorg-dev
tmux split-window -h -t yorg-dev:5
tmux split-window -v -t yorg-dev:5 # 2.3 redis
tmux split-window -v -t yorg-dev:5 # 2.4 sslocal
tmux send-keys -t yorg-dev:5.3 'cd ~' C-m
tmux send-keys -t yorg-dev:5.3 'redis-server;if [ $? -eq 0 ];then echo success;else exit;fi' C-m
tmux send-keys -t yorg-dev:5.4 'mongod' C-m

tmux -2 attach -t yorg-dev:1
{'fraction_non_alphanumeric': 0.16245006657789615, 'fraction_numerical': 0.03195739014647137, 'mean_word_length': 2.9043659043659042, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '290803', 'n_tokens_mistral': 1800, 'n_tokens_neox': 1776, 'n_words': 500}