<commit_before># Ubuntu Configuration Automation

This repository contains scripts to automate the setup of Ubuntu 18.04 according
to my specific preferences. I used to use Fedora (because dnf is way better than
apt) but moved to Ubuntu because of better third party desktop app support.

## How to use these scripts

These are opinionated scripts that setup machines the way I like them. So I'm
assuming you use the exact same Ubuntu version that I expect you to!

### Server Setup

I'm assuming you're on a random cloud provider (or a virtual machine) running
**Ubuntu Server 18.04 LTS**.

First, create a non-root user if you are currently root and give this user
administrative privileges. DigitalOcean for example by default makes you login
as root.

```bash
adduser lord
```

Accept all options and set a really strong password for this user. Then do

```bash
usermod -aG sudo lord
su lord
```

You're now operating as the **lord** user!

```bash
mkdir -p $HOME/ext/workspace
cd $HOME/ext/workspace
git clone https://github.com/wingedrhino/DistroSetup
cd DistroSetup/setup-helpers/Ubuntu
sudo ./server.sh
./as-user.sh
```

Now login as root.

```bash
./as-root.sh
chsh -s /usr/bin/zsh
```

You're now done!
`

### Workstation Setup

I'm assuming you're on a laptop and you installed **Ubuntu Studio 18.04 LTS**. I
also assume you have `sudo` privileges because this is the primary user.

```bash
mkdir -p $HOME/ext/workspace
cd $HOME/ext/workspace
apt install git -y
git clone https://github.com/wingedrhino/DistroSetup
cd DistroSetup/setup-helpers/Ubuntu
sudo ./server.sh
sudo ./workstation.sh
./as-user.sh
./as-user-workstation.sh
sudo su root
```

The last step makes you login as root. Now do:

```bash
./as-root.sh
chsh -s /usr/bin/zsh
exit
```
<commit_msg>Removed stray tick mark from a document<commit_after># Ubuntu Configuration Automation

This repository contains scripts to automate the setup of Ubuntu 18.04 according
to my specific preferences. I used to use Fedora (because dnf is way better than
apt) but moved to Ubuntu because of better third party desktop app support.

## How to use these scripts

These are opinionated scripts that setup machines the way I like them. So I'm
assuming you use the exact same Ubuntu version that I expect you to!

### Server Setup

I'm assuming you're on a random cloud provider (or a virtual machine) running
**Ubuntu Server 18.04 LTS**.

First, create a non-root user if you are currently root and give this user
administrative privileges. DigitalOcean for example by default makes you login
as root.

```bash
adduser lord
```

Accept all options and set a really strong password for this user. Then do

```bash
usermod -aG sudo lord
su lord
```

You're now operating as the **lord** user!

```bash
mkdir -p $HOME/ext/workspace
cd $HOME/ext/workspace
git clone https://github.com/wingedrhino/DistroSetup
cd DistroSetup/setup-helpers/Ubuntu
sudo ./server.sh
./as-user.sh
```

Now login as root.

```bash
./as-root.sh
chsh -s /usr/bin/zsh
```

You're now done!

### Workstation Setup

I'm assuming you're on a laptop and you installed **Ubuntu Studio 18.04 LTS**. I
also assume you have `sudo` privileges because this is the primary user.

```bash
mkdir -p $HOME/ext/workspace
cd $HOME/ext/workspace
apt install git -y
git clone https://github.com/wingedrhino/DistroSetup
cd DistroSetup/setup-helpers/Ubuntu
sudo ./server.sh
sudo ./workstation.sh
./as-user.sh
./as-user-workstation.sh
sudo su root
```

The last step makes you login as root. Now do:

```bash
./as-root.sh
chsh -s /usr/bin/zsh
exit
```

{'fraction_non_alphanumeric': 0.09297752808988764, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 3.9596100278551534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '946667', 'n_tokens_mistral': 1199, 'n_tokens_neox': 1063, 'n_words': 498}