<commit_before>#!/bin/bash

# installing cloud gateway project dependencies
echo "Installing cloud gateway project dependencies"
sudo apt-get update
sudo apt-get install -y strongswan python-pip 
sudo pip install pyyaml boto3 requests

# Configure netowrk setting to enable redirects
echo "Enabling packets redirection"
for path in /proc/sys/net/ipv4/conf/*;
do echo 0 > $path/accept_redirects;
echo 0 > $path/send_redirects;
done

echo net.ipv4.ip_forward = 1 >> /etc/sysctl.conf
echo net.ipv4.conf.all.accept_redirects = 0 >> /etc/sysctl.conf
echo net.ipv4.conf.all.send_redirects = 0 >> /etc/sysctl.conf
echo 1 > /proc/sys/net/ipv4/ip_forward 
sudo sysctl -p

# Install aws cli
echo "Installing AWS CLI and configur default region"
echo "This step may require you to provide Access Key and Secret Access Key of your account"
sudo pip install awscli
aws configure

<commit_msg>bash polish<commit_after>#!/bin/bash

# installing cloud gateway project dependencies
echo "Installing cloud gateway project dependencies"
sudo apt-get update
sudo apt-get install -y strongswan python-pip 
sudo pip install pyyaml boto3 requests

# Configure netowrk setting to enable redirects
echo "Enabling packets redirection"
for path in /proc/sys/net/ipv4/conf/*;
do echo 0 > $path/accept_redirects;
echo 0 > $path/send_redirects;
done

echo net.ipv4.ip_forward = 1 >> /etc/sysctl.conf
echo net.ipv4.conf.all.accept_redirects = 0 >> /etc/sysctl.conf
echo net.ipv4.conf.all.send_redirects = 0 >> /etc/sysctl.conf
echo 1 > /proc/sys/net/ipv4/ip_forward 
sudo sysctl -p

# Install aws cli
echo "Installing AWS CLI and configur default region"
echo "This step may require you to provide Access Key and \
      Secret Access Key of your account"
sudo pip install awscli
aws configure

echo "Configuration done, please do your netowrk configuration \
       in \'config.yaml\'"


{'fraction_non_alphanumeric': 0.0840064620355412, 'fraction_numerical': 0.012924071082390954, 'mean_word_length': 4.293447293447294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '7103293', 'n_tokens_mistral': 619, 'n_tokens_neox': 589, 'n_words': 213}