Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Move CLASS-Examples to ~ to remove from content folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Middelkoop authored and Timothy Middelkoop committed Nov 10, 2021
1 parent ae3e303 commit 9073f0d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 22 deletions.
1 change: 0 additions & 1 deletion content/GCP/.gitignore

This file was deleted.

24 changes: 10 additions & 14 deletions content/GCP/06_running_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"Need to get 0 B/5633 kB of archives.\n",
"After this operation, 36.2 MB of additional disk space will be used.\n",
"Selecting previously unselected package git.\n",
"(Reading database ... 55447 files and directories currently installed.)\n",
"(Reading database ... 56121 files and directories currently installed.)\n",
"Preparing to unpack .../git_1%3a2.20.1-2+deb10u3_amd64.deb ...\n",
"Unpacking git (1:2.20.1-2+deb10u3) ...\n",
"Setting up git (1:2.20.1-2+deb10u3) ...\n"
Expand Down Expand Up @@ -123,6 +123,7 @@
}
],
"source": [
"cd ~\n",
"git clone https://github.internet2.edu/CLASS/CLASS-Examples.git"
]
},
Expand All @@ -147,12 +148,12 @@
"output_type": "stream",
"text": [
"total 24\n",
"-rw-r--r-- 1 learner learner 841 Nov 10 18:06 ReadMe.md\n",
"-rw-r--r-- 1 learner learner 72 Nov 10 18:06 clean.sh\n",
"-rw-r--r-- 1 learner learner 256 Nov 10 18:06 download.sh\n",
"-rw-r--r-- 1 learner learner 314 Nov 10 18:06 get-index.sh\n",
"-rw-r--r-- 1 learner learner 110 Nov 10 18:06 search.json\n",
"-rw-r--r-- 1 learner learner 1447 Nov 10 18:06 search.py\n"
"-rw-r--r-- 1 learner learner 841 Nov 10 20:50 ReadMe.md\n",
"-rw-r--r-- 1 learner learner 72 Nov 10 20:50 clean.sh\n",
"-rw-r--r-- 1 learner learner 256 Nov 10 20:50 download.sh\n",
"-rw-r--r-- 1 learner learner 314 Nov 10 20:50 get-index.sh\n",
"-rw-r--r-- 1 learner learner 110 Nov 10 20:50 search.json\n",
"-rw-r--r-- 1 learner learner 1447 Nov 10 20:50 search.py\n"
]
}
],
Expand Down Expand Up @@ -236,12 +237,7 @@
"output_type": "stream",
"text": [
"Copying gs://gcp-public-data-landsat/index.csv.gz...\n",
"==> NOTE: You are downloading one or more large file(s), which would \n",
"run significantly faster if you enabled sliced object downloads. This\n",
"feature is enabled by default but requires that compiled crcmod be\n",
"installed (see \"gsutil help crcmod\").\n",
"\n",
"\\ [1 files][757.2 MiB/757.2 MiB] \n",
"/ [1 files][757.2 MiB/757.2 MiB] 59.4 MiB/s \n",
"Operation completed over 1 objects/757.2 MiB. \n"
]
}
Expand Down Expand Up @@ -271,7 +267,7 @@
"output_type": "stream",
"text": [
"total 2.6G\n",
"-rw-r--r-- 1 learner learner 2.6G Nov 10 18:06 index.csv\n"
"-rw-r--r-- 1 learner learner 2.6G Nov 10 20:50 index.csv\n"
]
}
],
Expand Down
7 changes: 0 additions & 7 deletions content/GCP/scripts/clean.sh

This file was deleted.

9 changes: 9 additions & 0 deletions scripts/gcp-clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

## Clean VM in prep for (re)running VM work

echo "=== gcp-clean-vm.sh"

## Cleanup for 06_running_analysis
sudo apt remove --yes git
rm -rf ~/CLASS-Examples
10 changes: 10 additions & 0 deletions scripts/gcp-vm-clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

## Clean VM in prep for (re)running VM work

echo "=== gcp-clean-vm.sh"

## Cleanup for 06_running_analysis
sudo apt remove git
rm -rf ~/CLASS-Examples

0 comments on commit 9073f0d

Please sign in to comment.