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
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| SetTitleMatchMode, RegEx | |
| #IfWinActive ^PO3.* | |
| toggle := true | |
| ^!LButton:: | |
| if(toggle) { |
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
| # Installs needed: | |
| # Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force | |
| # Install-Module -AllowClobber Get-ChildItemColor | |
| Import-Module posh-git | |
| function Test-Administrator { | |
| $user = [Security.Principal.WindowsIdentity]::GetCurrent(); | |
| (New-Object Security.Principal.WindowsPrincipal $user).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
| } |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command] | |
| @="\"C:\\tools\\cmdermini\\Cmder.exe\" /SINGLE /START \"%V\" /TASK \"Git bash\"" | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\git_gui] | |
| "Extended"="" | |
| [HKEY_CLASSES_ROOT\Directory\shell\git_shell\command] | |
| @="\"C:\\tools\\cmdermini\\Cmder.exe\" /SINGLE /START \"%1\" /TASK \"Git bash\"" |
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
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| ; Mediakeys | |
| ^#Left::Send {Media_Prev}; ; Ctrl+Win+Left -> Previous song | |
| ^#Down::Send {Media_Play_Pause} ; Ctrl+Win+Down -> Play / Pause | |
| ^#Right::Send {Media_Next} ; Ctrl+Win+Right -> Next song | |
| ^#Up::Send {Media_Stop} ; Ctrl+Win+Up -> Stop |
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
| @ECHO OFF | |
| SETLOCAL | |
| :start | |
| cls | |
| set VBOX_HOME=C:\PROGRA~1\Oracle\VirtualBox | |
| %VBOX_HOME%\VBoxManage.exe showvminfo %VM_NAME% > \Temp\vboxfullstatus.txt |
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
| @ECHO OFF | |
| SETLOCAL ENABLEDELAYEDEXPANSION | |
| set VBOX_HOME=C:\PROGRA~1\Oracle\VirtualBox | |
| set _VM=%VM_NAME% | |
| %VBOX_HOME%\VBoxManage.exe controlvm %_VM% acpipowerbutton | |
| set _wait=VM stopping, please wait |
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
| @ECHO OFF | |
| SETLOCAL | |
| set VBOX_HOME=C:\PROGRA~1\Oracle\VirtualBox | |
| %VBOX_HOME%\VBoxManage.exe startvm %VM_NAME% --type headless |