View codespace-history.sh
codespace ➜ ~/workspace/codespace-devops (main) $ history | |
1 2020-12-02 15:05:07 touch Makefile | |
2 2020-12-02 15:06:05 touch requirements.txt | |
3 2020-12-02 15:06:12 touch hello.py | |
4 2020-12-02 15:07:02 git add * | |
5 2020-12-02 15:07:12 git commit -m "adding basic structure" | |
6 2020-12-02 15:08:57 git add requirements.txt | |
7 2020-12-02 15:09:08 git commit -m "adding requirements.txt" | |
8 2020-12-02 15:11:12 python3 | |
9 2020-12-02 15:11:41 virtualenv ~/.codespace |
View hadoop.txt
Linux813 | |
MacOS852 | |
OSX799 | |
iOS794 |
View hello.py
def hello(): | |
return x+y |
View chatmessage.py
def hello(): | |
return "hi" |
View hello.py
def add(x,y): | |
return x+y | |
total = add(2,2) | |
print(total) | |
#var= |
View hello.py
def hello(): | |
print("Hey") |
View .bashrc
#I am very lazy and I always want Python to work | |
echo "I am going to source a python virtual environment" | |
which python | |
python --version | |
source ~/.googlecloudshell/bin/activate | |
echo "I just sourced a python virtual environment" | |
which python | |
python --version |
View hello.py
def hello(): | |
return "hi" |
View hello2.py
def hello(): | |
return "hello there" |
View hello.py
def hello(): | |
return "hi" |
NewerOlder