Download 005-electronics-engineer/workspace/t1/croc/scripts/start_linux.sh from Continual-Learning-Exam/CLE-Lite-Workspaces: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/datasets/Continual-Learning-Exam/CLE-Lite-Workspaces/resolve/main/005-electronics-engineer/workspace/t1/croc/scripts/start_linux.sh
- Command line
-
hf download hf://datasets/Continual-Learning-Exam/CLE-Lite-Workspaces/005-electronics-engineer/workspace/t1/croc/scripts/start_linux.sh
-
curl -L -o start_linux.sh https://huggingface.co/datasets/Continual-Learning-Exam/CLE-Lite-Workspaces/resolve/main/005-electronics-engineer/workspace/t1/croc/scripts/start_linux.sh
638 Bytes
| # Copyright (c) 2024 ETH Zurich and University of Bologna. | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| # Authors: | |
| # - Philippe Sauter <phsauter@iis.ee.ethz.ch> | |
| RUNDIR=${XDG_RUNTIME_DIR:-/tmp/runtime-$(id -u)} | |
| mkdir -p "$RUNDIR" | |
| env UID=$(id -u) GID=$(id -g) docker compose pull pulp-docker | |
| env UID=$(id -u) GID=$(id -g) docker compose run --rm \ | |
| -e PS1="\[\033[01;32m\]osic:\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\] $" \ | |
| -e DISPLAY=$DISPLAY \ | |
| -e XDG_RUNTIME_DIR=$RUNDIR \ | |
| -v "$RUNDIR:$RUNDIR" \ | |
| -v /tmp/.X11-unix:/tmp/.X11-unix \ | |
| pulp-docker | |