Last active
July 11, 2018 19:22
-
-
Save charlesreid1/9bfa50978f719b95e5868b600bfe8435 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 sudo apt-get install -y python | |
2 python --version | |
3 sudo apt-get remove python | |
4 sudo apt-get install python3 | |
5 sudo apt-get install -y python3 | |
6 apt-get autoremove | |
7 sudo apt-get autoremove | |
8 clear | |
9 whcih python | |
10 which python | |
11 python --version | |
12 sudo apt-get install python3 | |
13 python3 | |
14 sudo apt-get install python3 | |
15 sudo apt-get install python | |
16 cd /tmp | |
17 echo '<h2>hello world</h2>' > index.html | |
18 python3 http.server 80 | |
19 python3 -m http.server 80 | |
20 sudo su | |
21 cd | |
22 clear | |
23 cls | |
24 ls | |
25 vim flaskapp.py | |
26 [email protected]('/api/add_message/<uuid>', methods=['GET', 'POST']) | |
27 sudo apt-get install vim | |
28 vim app.py | |
29 curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
30 sudo apt-get install git | |
31 curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
32 export PATH="/home/ubuntu/.pyenv/bin:$PATH" | |
33 eval "$(pyenv init -)" | |
34 eval "$(pyenv virtualenv-init -)" | |
35 CONDA="miniconda3-4.3.30" | |
36 pyenv install $CONDA | |
37 pyenv global $CONDA | |
38 sudo apt-get install bunzip | |
39 sudo apt-get install bzip | |
40 sudo apt-get install bzip2 | |
41 pyenv install $CONDA | |
42 eval "$(pyenv init -)" | |
43 echo 'eval "$(pyenv init -)"' >> ~/.bash_profile | |
44 history | |
45 clear | |
46 cls | |
47 clear | |
48 which pyenv | |
49 echo $PATh | |
50 echo $PATH | |
51 pyenv install $CONDA | |
52 echo 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile | |
53 vim ~/.bash_profile | |
54 vim ~/.bash_profile | |
55 which pyenv | |
56 source ~/.bash_profile | |
57 source .bash_profile | |
58 which pyenv | |
59 curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash | |
60 ls .py | |
61 ls | |
62 ls -la | |
63 ls -la .pyenv/ | |
64 echo 'export PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile | |
65 source ~/.bash_profile | |
66 which pyenv | |
67 ls .pyenv/bin/ | |
68 ls .pyenv/bin/pyenv | |
69 vim .bash_profile | |
70 vim .bash_profile | |
71 source .bash_profie | |
72 source .bash_profle | |
73 source .bash_profile | |
74 which pyenv | |
75 which python | |
76 CONDA="miniconda3-4.3.30" | |
77 pyenv install $CONDA; pyenv global $CONDA | |
78 vim .bash | |
79 vim ~/.bash_profile | |
80 which pyenv | |
81 which python | |
82 history | |
83 history &> file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment