- using information from this stackoverflow question
- for a sample bash script see bottom
sudo mkdir /path/to/bare/repo.git
@COPY "%~dp0Taskfile.template.bat" "Taskfile.bat" | |
@ECHO Taskfile initialized. | |
@ECHO Usage: Taskfile.bat ^<task^> ^<args^> |
@REM Taskfile.bat | |
@REM Syntax: Taskfile.bat <task> <params> | |
@ECHO OFF | |
REM ======================================================= | |
REM USER SETTINGS | |
REM ======================================================= | |
REM Standard task to run if none specified by cli param | |
SET taskDefault=default |
:task-get-wget: Download wget.exe | |
SET WGET_URL=https://eternallybored.org/misc/wget/current/wget.exe | |
ECHO. | |
ECHO Save the file "wget.exe" to a ENVIRONMENT path ... | |
ECHO. | |
@PAUSE | |
explorer.exe "%WGET_URL%" | |
GOTO :EOF |
:task-edit: Open Taskfile with your favourite editor | |
ECHO Edit Taskfile ... | |
SET NPP_EXE="C:\_digi\_apps\Notepad++\notepad++.exe" | |
SET USER_SCRIPT_LINENR=28 | |
start "" "%NPP_EXE%" -multiInst -noPlugin -n%USER_SCRIPT_LINENR% -nosession -notabbar %scriptName% | |
GOTO :EOF |
:task-install | |
copy ".\bin\*.*" "%USERPROFILE%\bin" | |
GOTO :EOF |
sudo mkdir /path/to/bare/repo.git
I hereby claim:
To claim this, I am signing this object:
@echo off | |
echo start ... | |
set APP_PATH=apps\CustomHotkey | |
set APP_EXE=CustomHotkeys.exe | |
cd "%~d0\%APP_PATH%" | |
start "starting ..." "%~d0\%APP_PATH%\%APP_EXE%" | |
exit |
/*md | |
- File: .ahk_class; Type: Autohotkey script | |
- AHK Version: 1.6.0 | |
- Author: Florian Schmid | |
- Copyright: florian SCHMID, [email protected] | |
- Notes: | |
*/ | |
MYVERSION=1.8.0 |
;------------------------------ | |
; #DIRECTIVES | |
;------------------------------ | |
#SingleInstance ON | |
#Persistent | |
;------------------------------ | |
; GLOBAL CONSTS | |
;------------------------------ | |
MYTITLE := "coder hotkeys" |