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
@echo off | |
echo Checking for administrative permissions | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
echo Deleting from autoruns | |
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v GlobalProtect /f /reg:64 | |
echo Stopping service | |
sc stop PanGPS |
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
@echo off | |
echo Checking for administrative permissions | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
echo Adding to autoruns | |
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v GlobalProtect /t REG_EXPAND_SZ /d "%%ProgramFiles%%\Palo Alto Networks\GlobalProtect\PanGPA.exe" /f /reg:64 | |
echo Setting service to automatic start | |
sc config PanGPS start= auto |
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
select | |
replace(AgLibraryRootFolder.absolutePath || AgLibraryFolder.pathFromRoot || AgLibraryFile.idx_filename, '/', '\') as filename, | |
AgInternedIptcCreator.value as creator | |
from AgHarvestedIptcMetadata | |
left join AgInternedIptcCreator on AgHarvestedIptcMetadata.creatorRef=AgInternedIptcCreator.id_local | |
left join Adobe_images on AgHarvestedIptcMetadata.image=Adobe_images.id_local | |
left join AgLibraryFile on Adobe_images.rootFile=AgLibraryFile.id_local | |
left join AgLibraryFolder on AgLibraryFile.folder=AgLibraryFolder.id_local |
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
@echo off | |
setlocal | |
if "%~1" equ "NonCancelable" goto NonCancelable | |
start "" /B cmd /C "%~F0" NonCancelable | |
exit | |
:NonCancelable | |
rem DO STUFF HERE |
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
@echo off | |
if "%~1"=="-FIXED_CTRL_C" ( | |
shift | |
) else ( | |
call <nul %0 -FIXED_CTRL_C %* | |
goto :EOF | |
) | |
rem DO STUFF HERE |
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
wget http://post.denso-communications.jp/dn/navicon_start.php --method=POST --body-data="lat=35.872722875676274&lng=139.73869658316153" -O - -q | grep -Po '(?<=id="mapcode">)([^<]*)' |