<commit_before>Kali

# Download VM
https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/
Kali Linux VMware 64-Bit

# Verify hash
sha256sum kali-linux-2020.4-vmware-amd64.7z
------------------------------------------------------------------------------------------------------------------------------------------------------

# Change default password
Login with kali:kali
passwd
kali
Enter new password 2x.

# Change root password
sudo -i
kali
passwd
Enter new root password 2x.
reboot
------------------------------------------------------------------------------------------------------------------------------------------------------

# Clean up root folder

Login as root.
rm -rf Documents/ Downloads/ Music/ Pictures/ Public/ Templates/ Videos/
------------------------------------------------------------------------------------------------------------------------------------------------------

# Disable screen lock

Top right battery icon > Power manager settings
Display > Display power management: change all to 60 minutes
Security > Lock screen when system is going to sleep: uncheck
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Desktop

Right click on the Desktop > Desktop Settings
Icons > Default Icons: uncheck Home and Trash
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Mousepad

Terminal > mousepad
Edit > Preferences
View
     Show line numbers
     Highlight current line
     Wrap long lines
     Font: 11
Editor
     Tab width: 5
     Tab mode: Insert Spaces
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Terminal

File > Preferences
Appearance
     Font: 11
     Application transparency: 0%
Behavior
     Unlimited history
Shortcuts
     Split Terminal Horizontally: Ctrl+H
     Split Terminal Vertically: Ctrl+V
OK
------------------------------------------------------------------------------------------------------------------------------------------------------

# Patch OS

apt update ; apt -y upgrade ; apt -y dist-upgrade ; apt -y autoremove ; apt -y autoclean ; updatedb
reboot
------------------------------------------------------------------------------------------------------------------------------------------------------

# Install Discover scripts and additional tools

git clone git://github.com/leebaird/discover.git /opt/discover/
cat /opt/discover/notes/zshrc >> .zshrc
source .zshrc
./update.sh
------------------------------------------------------------------------------------------------------------------------------------------------------

# Fix GitHub

git config --global user.name "your name"
git config --global user.email "your email"
git config --global pull.rebase false
------------------------------------------------------------------------------------------------------------------------------------------------------

# Set a static IP address

vi /etc/network/interfaces                 Add the following 4 lines
auto eth0<commit_msg>Fixded update.<commit_after>Kali

# Download VM
https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/
Kali Linux VMware 64-Bit

# Verify hash
sha256sum kali-linux-2020.4-vmware-amd64.7z
------------------------------------------------------------------------------------------------------------------------------------------------------

# Change default password
Login with kali:kali
passwd
kali
Enter new password 2x.

# Change root password
sudo -i
kali
passwd
Enter new root password 2x.
reboot
------------------------------------------------------------------------------------------------------------------------------------------------------

# Clean up root folder

Login as root.
rm -rf Documents/ Downloads/ Music/ Pictures/ Public/ Templates/ Videos/
------------------------------------------------------------------------------------------------------------------------------------------------------

# Disable screen lock

Top right battery icon > Power manager settings
Display > Display power management: change all to 60 minutes
Security > Lock screen when system is going to sleep: uncheck
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Desktop

Right click on the Desktop > Desktop Settings
Icons > Default Icons: uncheck Home and Trash
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Mousepad

Terminal > mousepad
Edit > Preferences
View
     Show line numbers
     Highlight current line
     Wrap long lines
     Font: 11
Editor
     Tab width: 5
     Tab mode: Insert Spaces
Close
------------------------------------------------------------------------------------------------------------------------------------------------------

# Terminal

File > Preferences
Appearance
     Font: 11
     Application transparency: 0%
Behavior
     Unlimited history
Shortcuts
     Split Terminal Horizontally: Ctrl+H
     Split Terminal Vertically: Ctrl+V
OK
------------------------------------------------------------------------------------------------------------------------------------------------------

# Patch OS

apt update ; apt -y upgrade ; apt -y dist-upgrade ; apt -y autoremove ; apt -y autoclean ; updatedb
reboot
------------------------------------------------------------------------------------------------------------------------------------------------------

# Install Discover scripts and additional tools

git clone git://github.com/leebaird/discover.git /opt/discover/
cat /opt/discover/notes/zshrc >> .zshrc
source .zshrc
update
------------------------------------------------------------------------------------------------------------------------------------------------------

# Fix GitHub

git config --global user.name "<NAME>"
git config --global user.email "your email"
git config --global pull.rebase false
------------------------------------------------------------------------------------------------------------------------------------------------------

# Set a static IP address

vi /etc/network/interfaces                 Add the following 4 lines
auto eth0
{'fraction_non_alphanumeric': 0.4948737566947207, 'fraction_numerical': 0.0076511094108645756, 'mean_word_length': 0.7123395336651821, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 24, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '862856', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1090, 'n_words': 427}