Skip to content

Commit

Permalink
More scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ber committed Sep 1, 2022
1 parent 31b7fef commit 35d1c34
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions 02_hello_world/01_docker_pull
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker pull alexberkovich/alpine-python39
1 change: 1 addition & 0 deletions 02_hello_world/02_docker_run
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker run -it alexberkovich/alpine-python39 bash
Empty file added 02_hello_world/03_nano_hello
Empty file.
1 change: 1 addition & 0 deletions 02_hello_world/04_hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello, World!")
1 change: 1 addition & 0 deletions 02_hello_world/05_python_hell.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python hello.py
1 change: 1 addition & 0 deletions 02_hello_world/06_python.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python
1 change: 1 addition & 0 deletions 02_hello_world/07_print_hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello, world!")
1 change: 1 addition & 0 deletions 02_hello_world/08_hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello, world!
1 change: 1 addition & 0 deletions 02_hello_world/09_1_plus_1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1+1
1 change: 1 addition & 0 deletions 02_hello_world/10_two
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
1 change: 1 addition & 0 deletions 02_hello_world/11_quite
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quite()
6 changes: 6 additions & 0 deletions 02_hello_world/12_jupiter_notebook
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
docker run -itp 8888:8888 alexberkovich/alpine-python39 /bin/bash -c "\
conda install jupyter -y --quiet && \
mkdir -p /opt/notebooks && \
jupyter notebook \
--notebook-dir=/opt/notebooks --ip='*' --port=8888 \
--no-browser --allow-root"
1 change: 1 addition & 0 deletions 02_hello_world/13_git1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdir -p /opt/project
1 change: 1 addition & 0 deletions 02_hello_world/14_git2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
curl -L https://github.com/alex-ber/IntroCS/archive/refs/tags/1.0.0.tar.gz -o /tmp/1.0.0.tar.gz
1 change: 1 addition & 0 deletions 02_hello_world/15_git3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tar -zxvf /tmp/1.0.0.tar.gz -C /opt/project
1 change: 1 addition & 0 deletions 02_hello_world/16_git3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rm /tmp/1.0.0.tar.gz
1 change: 1 addition & 0 deletions 02_hello_world/17_git4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd /opt/project/IntroCS-1.0.0

0 comments on commit 35d1c34

Please sign in to comment.