Skip to content

FlipperPA/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home

An example of my home directory. To init in a non-empty home directory:

WSL Windows 11 Ubuntu

Turn the Windows Subsystem for Linux on in the Control Panel -> Programs -> Programs & Features -> Turn Windows Features On or Off. These commands will install the VM (which defaults to C:), then move to an alternate drive:

wsl --install
wsl --update
wsl --install -d Ubuntu
wsl -t Ubuntu
wsl --export Ubuntu "D:\wsl-export-ubuntu.tar"
wsl --unregister Ubuntu
mkdir d:\wsl
wsl --import Ubuntu "D:\wsl\ubuntu" "D:\wsl-export-ubuntu.tar"
del D:\wsl-export-ubuntu.tar

Next, create a config file with notepad \\wsl.localhost\Ubuntu-22.04\etc\wsl.conf, and add a default user:

[user]
default=tallen

Then once you're booted up:

cd ~
git init
git remote add origin https://github.com/FlipperPA/home.git
git fetch
git checkout -t origin/main
mkdir -p projects
mkdir -p .ssh
touch .ssh/authorized_keys
cp skel/bashrc-wsl-ubuntu .bashrc
sudo -s source skel/install-wsl-ubuntu.sh
curl -sS https://raw.githubusercontent.com/FlipperPA/pyromania/main/install.sh | sh
source .bashrc
cd ~/projects && pyro pypi && pip install -U pip-tools twine setuptools-scm pypi-alias && deactivate && cd ~

Installing Newer Versions of Python on Ubuntu 16 or 18

# Update apt and install SPC
sudo apt update
sudo apt install software-properties-common

# Add the respository for newer Python
sudo add-apt-repository ppa:deadsnakes/ppa

# Update again, and install Python 3.8
sudo apt update
sudo apt install python3.8 python3.8-dev python3.8-venv python3.8-distutils

MacOS

cd ~
git init
git remote add origin https://github.com/FlipperPA/home.git
git fetch
git checkout -t origin/main
cp skel/bashrc-mac .bashrc
curl -sS https://raw.githubusercontent.com/FlipperPA/pyromania/main/install.sh | sh
source .bashrc
printf "\nsource ~/.bashrc\n" >> .bash_profile
. skel/install-mac.sh
cd ~/projects && pyro pypi && pip install -U pip-tools twine setuptools-scm pypi-alias && deactivate && cd ~

Generic Linux Server

cd ~
git init
git remote add origin https://github.com/FlipperPA/home.git
git fetch
git checkout -t origin/main
cp skel/bashrc-linux .bashrc
curl -sS https://raw.githubusercontent.com/FlipperPA/pyromania/main/install.sh | sh
source .bashrc
cd ~/projects && pyro pypi && pip install -U pip-tools twine setuptools-scm pypi-alias && deactivate && cd ~

About

An example of my home directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published