This file contains 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
openWT(asAdmin:=false) { | |
; If Terminal is Already Open | |
if WinExist("ahk_exe WindowsTerminal.exe") { | |
WinActivate | |
Return | |
} | |
; If File Explorer is Active (Source: https://www.winhelponline.com/blog/open-command-prompt-current-folder-keyboard-shortcut) | |
if WinActive("ahk_class CabinetWClass") || WinActive("ahk_class ExploreWClass") { | |
WinHWND := WinActive() |
This file contains 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
ARG BASE_IMAGE="ubuntu" | |
ARG TAG="22.04" | |
FROM ${BASE_IMAGE}:${TAG} | |
WORKDIR /ardupilot | |
ARG DEBIAN_FRONTEND=noninteractive | |
ARG USER_NAME=ardupilot | |
ARG USER_UID=1000 | |
ARG USER_GID=1000 | |
RUN groupadd ${USER_NAME} --gid ${USER_GID}\ |