Last active
June 18, 2019 16:00
-
-
Save jerguslejko/4d87093fd4f06de834bc29d34891a1d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g base-index 1 | |
| set-window-option -g mode-keys vi | |
| bind r new-session \;\ | |
| run-shell "tmux list-sessions | grep -v attached | awk -F: '{print $1}' | xargs -n 1 tmux kill-session -t" \;\ | |
| run-shell 'USER=root make kill-qemu > /dev/null || true' \;\ | |
| run-shell 'USER=root make kill-gdb > /dev/null || true' \;\ | |
| run-shell 'USER=root make kill-console > /dev/null || true' \;\ | |
| if-shell 'tmux select-window -t gdb' 'kill-window -t gdb' '' \;\ | |
| if-shell 'tmux select-window -t qemu' 'kill-window -t qemu' '' \;\ | |
| if-shell 'tmux select-window -t console' 'kill-window -t console' '' \;\ | |
| new-window -n gdb "make launch-gdb" \;\ | |
| new-window -n qemu "make launch-qemu" \;\ | |
| new-window -n console "sleep 5 && make launch-console" \;\ | |
| select-window -t 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:latest | |
| ENV LINARO_RELEASE_URL https://releases.linaro.org/components/toolchain/binaries/5.1-2015.08/arm-eabi/gcc-linaro-5.1-2015.08-x86_64_arm-eabi.tar.xz | |
| RUN apt-get update \ | |
| && apt-get install -y make wget tmux xz-utils libpython2.7 qemu-system-arm telnet psmisc netcat \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN wget -q -O /tmp/linaro.tar.xz ${LINARO_RELEASE_URL} \ | |
| && tar xf /tmp/linaro.tar.xz -C /usr/local |
Author
If you are using windows:
docker run -it --rm -w /app -v %cd%:/app -v /Users/jergus/Code/concurent-computing/.tmux.conf:/root/.tmux.conf concurrent tmux
Author
but you're now using windows @DavidManda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alias