<commit_before>##Command and Conquer
- [Presentation slides](https://jonoliver.github.io/command-and-conquer/)
- [Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
- [My dotfiles](https://github.com/jonoliver/dotfiles)

####Commands and Functions
```bash
# file manipulation

# create file
touch file_name

# remove file
rm file_name

# move file (or directory)
mv old_dir/file new_dir/file

# rename file (or directory)
mv old_file_name new_file_name


# directory manipulation

# create directory
mkdir dir_name

# remove (empty) directory
rmdir dir_name

# remove (non-empty) directory
# be careful with this one!!!
rm -rf dir_name

# creating an alias
alias pro='cd ~/Documents/projects'

# searching aliases
alias | grep "search term"

# searching history
history | grep "search term"


# fun with functions!

# make a directory and cd into it (works recursively)
mkcd() { mkdir -p "$@" && cd "$_"; }

# same as above, but also intialize git repo
new(){ mkcd $@ && git init }


# tmux

# create new tmux session
tmux new

# create new tmux session (with name)
tmux new -s "session_name"

# list tmux sessions
tmux ls

# attach to tmux session
tmux attach -t "session_name"

```


####Resources
- https://dotfiles.github.io/
- http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/
- http://iterm2colorschemes.com/
- [Tmux cheat sheet](https://gist.github.com/MohamedAlaa/2961058)
- [Tmuxinator](https://github.com/tmuxinator/tmuxinator)
- https://pragprog.com/book/bhtmux/tmux
- http://pivotallabs.com/how-we-use-tmux-for-remote-pair-programming/
- http://www.pairprogramwith.me/

####Terminal emulators for Windows:
- [PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/)
- [Git for Windows](https://msysgit.github.io/)
- [Cygwin](https://www.cygwin.com/)
- [CMDer](https://bliker.github.io/cmder/)
<commit_msg>Rearrange links<commit_after>##Command and Conquer
- [Presentation slides](https://jonoliver.github.io/command-and-conquer/)
- [Oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
- [My dotfiles](https://github.com/jonoliver/dotfiles)

####Commands and Functions
```bash
# file manipulation

# create file
touch file_name

# remove file
rm file_name

# move file (or directory)
mv old_dir/file new_dir/file

# rename file (or directory)
mv old_file_name new_file_name


# directory manipulation

# create directory
mkdir dir_name

# remove (empty) directory
rmdir dir_name

# remove (non-empty) directory
# be careful with this one!!!
rm -rf dir_name

# creating an alias
alias pro='cd ~/Documents/projects'

# searching aliases
alias | grep "search term"

# searching history
history | grep "search term"


# fun with functions!

# make a directory and cd into it (works recursively)
mkcd() { mkdir -p "$@" && cd "$_"; }

# same as above, but also intialize git repo
new(){ mkcd $@ && git init }


# tmux

# create new tmux session
tmux new

# create new tmux session (with name)
tmux new -s "session_name"

# list tmux sessions
tmux ls

# attach to tmux session
tmux attach -t "session_name"

```


####Resources
- https://dotfiles.github.io/
- http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/
- [Tmux cheat sheet](https://gist.github.com/MohamedAlaa/2961058)
- [Tmuxinator](https://github.com/tmuxinator/tmuxinator)
- https://pragprog.com/book/bhtmux/tmux
- http://pivotallabs.com/how-we-use-tmux-for-remote-pair-programming/
- http://www.pairprogramwith.me/
- http://iterm2colorschemes.com/

####Terminal emulators for Windows:
- [PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/)
- [Git for Windows](https://msysgit.github.io/)
- [Cygwin](https://www.cygwin.com/)
- [CMDer](https://bliker.github.io/cmder/)

{'fraction_non_alphanumeric': 0.1493820526598603, 'fraction_numerical': 0.004298764105319721, 'mean_word_length': 4.199720670391062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 6, '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': '3154602', 'n_tokens_mistral': 1378, 'n_tokens_neox': 1311, 'n_words': 311}