<commit_before>#!/bin/bash
# Installs coyote on 16.04 ubuntu given a root login
# usage:
# wget -qO- https://raw.githubusercontent.com/coyote/coyote/bin/install.sh | bash`

# aptitude
apt update -y
apt-get upgrade -y
# NOTE grub conflict on linode so keep current grub conf
apt install software-properties-common -y
add-apt-repository 'deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main'
apt-get install -y --allow-unauthenticated graphviz git libpq-dev gawk build-essential libreadline6-dev \
zlib1g-dev libssl-dev libyaml-dev autoconf libgdbm-dev libncurses5-dev automake libtool \
bison pkg-config libffi-dev mariadb-server libmariadb-client-lgpl-dev git make gcc zlib1g-dev \
libssl-dev libreadline6-dev libxml2-dev libsqlite3-dev nginx openssl libreadline6 \
libreadline6-dev curl git-core zlib1g libyaml-dev libsqlite3-dev sqlite3 libxml2-dev \
libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool pkg-config \
libffi-dev libv8-dev  imagemagick libmagickwand-dev fail2ban ruby-mysql screen \
mariadb-client letsencrypt<commit_msg>unattended upgrades ref #79<commit_after>#!/bin/bash
# Installs coyote on 16.04 ubuntu given a root login
# usage:
# wget -qO- https://raw.githubusercontent.com/coyote/coyote/bin/install.sh | bash`

# aptitude
apt update -y
apt-get upgrade -y
# NOTE grub conflict on linode so keep current grub conf
apt install software-properties-common -y
add-apt-repository 'deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main'
export DEBIAN_FRONTEND=noninteractive
apt-get install -q -y --allow-unauthenticated graphviz git libpq-dev gawk build-essential libreadline6-dev \
zlib1g-dev libssl-dev libyaml-dev autoconf libgdbm-dev libncurses5-dev automake libtool \
bison pkg-config libffi-dev mariadb-server libmariadb-client-lgpl-dev git make gcc zlib1g-dev \
libssl-dev libreadline6-dev libxml2-dev libsqlite3-dev nginx openssl libreadline6 \
libreadline6-dev curl git-core zlib1g libyaml-dev libsqlite3-dev sqlite3 libxml2-dev \
libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool pkg-config \
libffi-dev libv8-dev  imagemagick libmagickwand-dev fail2ban ruby-mysql screen \
mariadb-client letsencrypt unattended-upgrades

echo -e "APT::Periodic::Update-Package-Lists \"1\";\nAPT::Periodic::Unattended-Upgrade \"1\";\n" > /etc/apt/apt.conf.d/20auto-upgrades
/etc/init.d/unattended-upgrades restart

{'fraction_non_alphanumeric': 0.09644039735099338, 'fraction_numerical': 0.022350993377483443, 'mean_word_length': 4.660421545667448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5580675', 'n_tokens_mistral': 939, 'n_tokens_neox': 881, 'n_words': 214}