Skip to content

Commit

Permalink
tweaked animation, added more env vars for check50/submit50
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Jul 5, 2024
1 parent a03d893 commit d2f16ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion opt/cs50/bin/rstudio
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function spin() {
while [ -d /proc/$pid ]; do
for i in $(seq 0 3); do
printf "\rHit CTRL-C to stop the server [%c] " "${spinner:$i:1}"
sleep 0.5
sleep 0.1
done
done
printf "\n"
Expand Down Expand Up @@ -50,6 +50,9 @@ docker pull "$IMAGE"
# https://rocker-project.org/images/versioned/rstudio.html#environment-variables
docker create \
--env DISABLE_AUTH=true \
--env CODESPACES=true \
--env CS50_GH_USER="$CS50_GH_USER" \
--env CS50_TOKEN="$CS50_TOKEN" \
--name "$NAME" \
--publish 8787:8787 \
--rm \
Expand Down

0 comments on commit d2f16ac

Please sign in to comment.