<commit_before>#!/usr/bin/env bash
trap "set +x; sleep 1; set -x" DEBUG
sudo ln -sf /home/box/web/etc/nginx.conf  /etc/nginx/sites-enabled/test.conf
#sudo rm -rf /etc/nginx/sites-enabled/default
sudo mv /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default2   
sudo mv /etc/gunicorn.d/django.example  /home/box/web/etc/django.example
sudo mv /etc/gunicorn.d/wsgi.example  /home/box/web/etc/wsgi.example
sudo /etc/init.d/nginx restart
sudo ln -sf /home/box/web/etc/test /etc/gunicorn.d/test
# sudo ln -sf /home/box/web/etc/gunicorn.conf   /etc/gunicorn.d/test
sudo /etc/init.d/gunicorn restart

# alias in bashrc
cd ~/web

source keys.sh
source initgit.sh<commit_msg>full access to nginx configs<commit_after>#!/usr/bin/env bash
trap "set +x; sleep 1; set -x" DEBUG
sudo ln -sf /home/box/web/etc/nginx.conf  /etc/nginx/sites-enabled/test.conf
sudo ln  /home/box/web/etc/nginx-main /etc/nginx/nginx.conf 

#sudo rm -rf /etc/nginx/sites-enabled/default
sudo mv /etc/nginx/sites-enabled/default /etc/nginx/sites-available/default2   
sudo mv /etc/gunicorn.d/django.example  /home/box/web/etc/django.example
sudo mv /etc/gunicorn.d/wsgi.example  /home/box/web/etc/wsgi.example
sudo /etc/init.d/nginx restart
sudo ln -sf /home/box/web/etc/test /etc/gunicorn.d/test
# sudo ln -sf /home/box/web/etc/gunicorn.conf   /etc/gunicorn.d/test
sudo /etc/init.d/gunicorn restart

# alias in bashrc
cd ~/web

source keys.sh
source initgit.sh
{'fraction_non_alphanumeric': 0.1475295755045233, 'fraction_numerical': 0.0027835768963117608, 'mean_word_length': 3.3575757575757574, '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': '3443889', 'n_tokens_mistral': 631, 'n_tokens_neox': 570, 'n_words': 119}