<commit_before>#!/usr/bin/env bash
if [ "$(id -u)" != "0" ]; then
    echo "Permission Denied. Please run as root"
    exit 1
fi

echo 'deb http://www.rabbitmq.com/debian/ testing main' | tee /etc/apt/sources.list.d/rabbitmq.list

(
	apt-get update
	apt-get install -y rabbitmq-server \
		cmake \
		libboost-dev \
		openssl \
		libssl-dev \
		libblkid-dev \
		e2fslibs-dev \
		libboost-all-dev \
		libaudit-dev \
		software-properties-common \
		build-essential \
		mesa-common-dev \
		libgl1-mesa-dev
)

(
	cd /tmp/
	if ls /usr/local/lib/librabbitmq.* 1> /dev/null 2>&1 ;
	then
		echo "Rabbitmq already installed"
	else
		git clone https://github.com/alanxz/rabbitmq-c
		mkdir rabbitmq-c/build && cd rabbitmq-c/build 
		cmake ..
		cmake --build .
		sudo cp librabbitmq/*.a /usr/local/lib/<commit_msg>added force yes to rabbitmq script<commit_after>#!/usr/bin/env bash
if [ "$(id -u)" != "0" ]; then
    echo "Permission Denied. Please run as root"
    exit 1
fi

echo 'deb http://www.rabbitmq.com/debian/ testing main' | tee /etc/apt/sources.list.d/rabbitmq.list

(
	apt-get update
	apt-get install -y --force-yes rabbitmq-server \
		cmake \
		libboost-dev \
		openssl \
		libssl-dev \
		libblkid-dev \
		e2fslibs-dev \
		libboost-all-dev \
		libaudit-dev \
		software-properties-common \
		build-essential \
		mesa-common-dev \
		libgl1-mesa-dev
)

(
	cd /tmp/
	if ls /usr/local/lib/librabbitmq.* 1> /dev/null 2>&1 ;
	then
		echo "Rabbitmq already installed"
	else
		git clone https://github.com/alanxz/rabbitmq-c
		mkdir rabbitmq-c/build && cd rabbitmq-c/build 
		cmake ..
		cmake --build .
		sudo cp librabbitmq/*.a /usr/local/lib/
{'fraction_non_alphanumeric': 0.14250764525993884, 'fraction_numerical': 0.00856269113149847, 'mean_word_length': 2.572052401746725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '103486', 'n_tokens_mistral': 734, 'n_tokens_neox': 640, 'n_words': 145}