# You can scp just this file to the destination host,
# and then run it.
-# sudo apt-get install zsh
-# TODO: CURL me...
-
## Setup Git and Vim
if [ ! -d ~/dotfiles ]; then
sudo apt-get install git install vim
--- /dev/null
+# Reminder to future self:
+# Step 0: git clone https://github.com/edthedev/dotfiles
+# Step 1: Run this bootstrap script.
+
+echo "Git, vi are already installed."
+
+mkdir -p ~/.installed
+
+## Setup Git and Vim
+if [ ! -d ~/dotfiles ]; then
+ sudo apt-get install git vim-nox
+ cd ~; git clone git@github.com:edthedev/dotfiles.git
+fi
+
+# sudo apt-get install vim-nox
+
+if [ ! -f ~/.vimrc ]; then
+ git config --global user.email "edward@delaporte.us"
+ git config --global user.name "Edward Delaporte"
+ git config --global core.editor /usr/bin/vim
+ ln -s ~/dotfiles/vimrc ~/.vimrc
+fi
+
+if [ ! -f ~/.installed/i3 ]; then
+ sudo apt-get install i3
+ touch ~/.installed/i3
+fi
+
+## Setup PowerShell
+if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then
+ sudo apt-get install powershell
+ chsh --shell /usr/bin/pwsh
+ mkdir -p ~/.config/powershell/
+ ln -s ~/dotfiles/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1
+fi
+
+## Create SSH Keys
+if [ ! -f ~/.ssh/id_rsa ]; then
+ ssh-keygen
+fi
+
+## Setup Remote Access
+# if [ ! -f ~/id_rsa.pub ]; then
+# cp ~/dotfiles/id_rsa.pub ~/id_rsa.pub
+# chmod go+r ~/id_rsa.pub
+# fi
+
+## Setup Screen
+if [ ! -f ~/.screenrc ]; then
+ sudo apt-get install screen
+ ln -s ~/dotfiles/screenrc ~/.screenrc
+fi
+
+## Setup Vundle for Vim
+if [ ! -d ~/.vim/bundle ]; then
+ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
+ vim +BundleInstall +qall
+fi
+
+if [ ! -d ~/.installed/code ]; then
+ # sudo apt install snapd
+ # sudo snap install --classic code
+ wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add -
+ curl -L https://raw.githubusercontent.com/headmelted/codebuilds/master/docs/installers/apt.sh | sudo bash
+ touch ~/.installed/code
+fi
+
+echo "https://github.com/settings/keys"
+echo "vim .git/config -- add: url = git@github.com:edthedev/dotfiles.git"
+cat ~/.ssh/id_rsa.pub
+
+ls -al ~/.installed
--- /dev/null
+docker up ansible/ansible
\ No newline at end of file
--- /dev/null
+\r
+## TODO: Would be clever to make this a DSC module: https://docs.microsoft.com/en-us/powershell/scripting/dsc/quickstarts/website-quickstart?view=powershell-7\r
+Write-Host "Adding ability to switch Joystick"\r
+# https://github.com/meleu/RetroPie-joystick-selection\r
+Write-Host "Enable SSH first via Raspi-Config"\r
+ssh pi@retropi -C 'wget -O- "https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh" | sudo bash'\r
+Write-Host "Now launch the script via RetroPi Setup - Configuration Tools - Joystick selection"
\ No newline at end of file
--- /dev/null
+mkdir -p ~/.installed
+
+if [ ! -f ~/.installed/gimp ]; then
+ sudo apt-get install gimp
+ touch ~/.installed/gimp
+fi
+
+ls -al ~/.installeear
--- /dev/null
+{
+ "folders": [
+ {
+ "path": "."
+ },
+ {
+ "path": ".."
+ }
+ ],
+ "settings": {
+ "workbench.colorCustomizations": {
+ "activityBar.activeBackground": "#65c89b",
+ "activityBar.activeBorder": "#945bc4",
+ "activityBar.background": "#65c89b",
+ "activityBar.foreground": "#15202b",
+ "activityBar.inactiveForeground": "#15202b99",
+ "activityBarBadge.background": "#945bc4",
+ "activityBarBadge.foreground": "#e7e7e7",
+ "statusBar.background": "#42b883",
+ "statusBar.border": "#42b883",
+ "statusBar.foreground": "#15202b",
+ "statusBarItem.hoverBackground": "#359268",
+ "titleBar.activeBackground": "#42b883",
+ "titleBar.activeForeground": "#15202b",
+ "titleBar.border": "#42b883",
+ "titleBar.inactiveBackground": "#42b88399",
+ "titleBar.inactiveForeground": "#15202b99"
+ },
+ "peacock.color": "#42b883"
+ }
+}
\ No newline at end of file