doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
57e13b47-bc93-41a0-8d11-e6bcd8a37abd | {
"language": "Batchfile"
} | ```batchfile
mkdir "Equipment/Simple Frontend/Settings"
create DOUBLE "Equipment/Simple Frontend/Settings/mean"
set "Equipment/Simple Frontend/Settings/mean" 0.0
create DOUBLE "Equipment/Simple Frontend/Settings/sigma"
set "Equipment/Simple Frontend/Settings/sigma" 1.0```
Use min/max instead of mean/sigma. | ```batchfile
mkdir "Equipment/Simple Frontend/Settings"
create DOUBLE "Equipment/Simple Frontend/Settings/min"
set "Equipment/Simple Frontend/Settings/min" 0.0
create DOUBLE "Equipment/Simple Frontend/Settings/max"
set "Equipment/Simple Frontend/Settings/max" 1.0``` |
20760828-628a-4f0e-b53e-8427e9636b14 | {
"language": "Batchfile"
} | ```batchfile
@echo on
@SET /A exitcode=0
@SET /A TESTFAILURE_ERROR=1
@SET /A PUSHARTIFACT_ERROR=2
@SET /A READREPORT_ERROR=4
nunit3-console.exe Tests\CSF.Screenplay.WebApis.Tests\bin\Debug\CSF.Screenplay.WebApis.Tests.dll
@IF %ERRORLEVEL% NEQ 0 SET /A exitcode^|=%TESTFAILURE_ERROR%
appveyor PushArtifact SpecFlow.re... | ```batchfile
@echo on
@SET /A exitcode=0
@SET /A TESTFAILURE_ERROR=1
@SET /A PUSHARTIFACT_ERROR=2
@SET /A READREPORT_ERROR=4
nunit3-console.exe Tests\CSF.Screenplay.WebApis.Tests\bin\Debug\CSF.Screenplay.WebApis.Tests.dll
@IF %ERRORLEVEL% NEQ 0 SET /A exitcode^|=%TESTFAILURE_ERROR%
appveyor PushArtifact SpecFlow.re... |
9a85a51e-05a5-4022-aee9-385c5947169b | {
"language": "Batchfile"
} | ```batchfile
PATH=C:\python26;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
del /s w9xpopen.exe
copy ..\README.txt .
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
```
Add Program Fil... | ```batchfile
PATH=C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
del /s w9xpopen.exe
copy ..\README.txt .
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
``... |
fefd1e66-fb68-44d9-8d2d-f9f5898c9aa7 | {
"language": "Batchfile"
} | ```batchfile
@echo off
REM First build up the command line to pass on in %s%
set s=
:begin
if "%1" == "" goto done
set s=%s% "%1"
shift
goto begin
:done
REM Now figure out what to do
if not "%VS71COMNTOOLS%" == "" call "%VS71COMNTOOLS%vsvars32.bat" > nul
cl %s%
```
Update the batch file to work with certain quoti... | ```batchfile
@echo off
REM First build up the command line to pass on in %s%
set s=
:begin
if '%1' == '' goto done
set s=%s% %1
shift
goto begin
:done
REM Now figure out what to do
if not "%VS71COMNTOOLS%" == "" call "%VS71COMNTOOLS%vsvars32.bat" > nul
cl %s%
``` |
9d9163cd-b079-4b74-ab34-06db113e08e4 | {
"language": "Batchfile"
} | ```batchfile
```
Add batch script for normal windows startup | ```batchfile
::Windows Normal Gateway Startup Script
@echo off
echo "Installing Dependencies"
call bundle install
echo "Starting Delayed Job"
call "cmd /c start /min bundle exec ruby script/delayed_job run"
echo "Starting Normal Gateway"
bundle exec rails server -p 3001
``` |
7dc4639c-276c-47ab-82a1-ca2e963e35b2 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
REM Copyright (c) Microsoft. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
if "%~3"=="" goto help
if NOT "%~4"=="" goto help
goto Run
:Help
echo syntax: ValidateDesignerFile.cmd ^<path_to_designer_file^> ^<pa... | ```batchfile
@echo off
setlocal
REM Copyright (c) Microsoft. All rights reserved.
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
if "%~3"=="" goto help
if NOT "%~4"=="" goto help
goto Run
:Help
echo syntax: ValidateDesignerFile.cmd ^<path_to_designer_file^> ^<pa... |
67e0c237-9f6d-4a67-ab47-816c7390dd7b | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
CD winrun4j
COPY WinRun4J64.exe DNGearSim.exe
RCEDIT64.exe /N DNGearSim.exe DNGearSim.ini
RCEDIT64.exe /S DNGearSim.exe splash.bmp
RCEDIT64.exe /I DNGearSim.exe icon.ico
COPY "DNGearSim.exe" "../../runtime/DNGearSim.exe"
CD ../..
CD Bootstrap/target
COPY "bootstrap.jar" "../../runtime/bootstrap... | ```batchfile
@ECHO OFF
CD winrun4j
COPY WinRun4J64.exe DNGearSim.exe
RCEDIT64.exe /N DNGearSim.exe DNGearSim.ini
RCEDIT64.exe /S DNGearSim.exe splash.bmp
RCEDIT64.exe /I DNGearSim.exe icon.ico
COPY "DNGearSim.exe" "../../runtime/DNGearSim.exe"
CD ../..
CD Bootstrap/target
COPY "bootstrap.jar" "../../runtime/bootstrap... |
384fa59a-3d82-4739-9181-0eec72e61a90 | {
"language": "Batchfile"
} | ```batchfile
schtasks /CREATE /TN "cloudbaseinit-installer" /SC ONCE /SD 01/01/2020 /ST 00:00:00 /RL HIGHEST /RU CiAdmin /RP Passw0rd /TR "powershell C:\\installcbinit.ps1 -serviceType %1 -installer %2" /F
schtasks /RUN /TN "cloudbaseinit-installer"
timeout /t 5
:loop
for /f "tokens=2 delims=: " %%f in ('sch... | ```batchfile
schtasks /CREATE /TN "cloudbaseinit-installer" /SC ONCE /SD 01/01/2020 /ST 00:00:00 /RL HIGHEST /RU CiAdmin /RP Passw0rd /TR "powershell C:\\installcbinit.ps1 -serviceType %1 -installer %2" /F
schtasks /RUN /TN "cloudbaseinit-installer"
timeout /t 5
:loop
for /f "tokens=2 delims=: " %%f in ('sch... |
e33253ca-4f08-42bd-b0a1-ab159c706975 | {
"language": "Batchfile"
} | ```batchfile
echo on
set PATH=C:\Windows\system32;C:\Windows;%PYTHON3_PATH%;%PYTHON3_PATH%\Scripts;%CMAKE_PATH%;
if not "%VCVARSALL_DIR%" == "" CALL "%VCVARSALL_DIR%\vcvarsall.bat" amd64
if not "%MINGW_PATH%" == "" SET PATH=%PATH%%MINGW_PATH%;
setx PATH "%PATH%"
mkdir C:\Fruit\build-%CONFIGURATION%
cd C:\Fruit\bu... | ```batchfile
echo on
set PATH=C:\Windows\system32;C:\Windows;%PYTHON3_PATH%;%PYTHON3_PATH%\Scripts;%CMAKE_PATH%;
if not "%VCVARSALL_DIR%" == "" CALL "%VCVARSALL_DIR%\vcvarsall.bat" amd64
if not "%MINGW_PATH%" == "" SET PATH=%PATH%%MINGW_PATH%;
setx PATH "%PATH%"
mkdir C:\Fruit\build-%CONFIGURATION%
cd C:\Fruit\bu... |
c567a744-0e15-45ca-8d8e-79e1b03a2d77 | {
"language": "Batchfile"
} | ```batchfile
@echo off
set REPO_URL=https://raw.githubusercontent.com/PixxxeL/regular-gulpfile/master/
echo ===========================================================================
echo 1. Create bower.json, package.json
echo 2. Download gulpfile.js and skeleton
echo 3. Make directories
echo.
pause &... | ```batchfile
@echo off
set REPO_URL=https://raw.githubusercontent.com/PixxxeL/regular-gulpfile/master/
echo ===========================================================================
echo 1. Create bower.json, package.json
echo 2. Download gulpfile.js and skeleton
echo 3. Make directories
echo.
pause &... |
c988cfcb-2234-475b-aa16-3b6fb7bfe4d2 | {
"language": "Batchfile"
} | ```batchfile
@echo off
echo Generating C-style Win32 APIs and tests
call dart %~dp0win32\win32api.dart
call dart %~dp0win32\generate_ffi_jsonproto.dart
call dart %~dp0metadata\win32.dart %~dp0..\lib\src\generated
call dart %~dp0win32\generate_tests.dart
echo.
echo Generating COM classes from Windows metadata
call d... | ```batchfile
@echo off
echo Generating C-style Win32 APIs and tests
call dart %~dp0win32\win32api.dart
call dart %~dp0win32\generate_ffi_jsonproto.dart
call dart %~dp0metadata\win32.dart %~dp0..\lib\src\generated
call dart %~dp0win32\generate_tests.dart
echo.
echo Generating COM classes from Windows metadata
call d... |
6eb4d292-1be6-4817-865b-411a0e169769 | {
"language": "Batchfile"
} | ```batchfile
@echo off
rem Generate the header file from the Store info about in which git branch,
rem what SHA1 and at what date/time we executed make.
for /f "delims=" %%a in ('powershell.exe -command "& {Get-Content .\etc\gitinfo.txt | select -First 1}"') do set GIT_BRANCH=%%a
for /f "delims=" %%a in ('powershell.... | ```batchfile
@echo off
rem Generate the header file from the Store info about in which git branch,
rem what SHA1 and at what date/time we executed make.
for /f "delims=" %%a in ('powershell.exe -command "& {Get-Content .\etc\gitinfo.txt | select -First 1}"') do set GIT_BRANCH=%%a
for /f "delims=" %%a in ('powershell.... |
4070f301-a882-4756-9483-5395c1aa4bfe | {
"language": "Batchfile"
} | ```batchfile
### application.bat - 201x - votre nom ###
echo "Build : 10:00"
echo "version 1"```
Add file header with right data | ```batchfile
### application.bat - 2015 - Thibault ROGER ###
echo "Build : 10:00"
echo "version 1"``` |
735cbcbb-9701-46f3-b2c0-9099a55e54fa | {
"language": "Batchfile"
} | ```batchfile
@echo off
for /D %%i in (bundles/*) do (
if exist "%cd%\bundles\%%i\package.json" (
cd "%cd%\bundles\%%i"
echo Updating %%i
call npm install >nul 2>&1
)
)
```
Fix windows bundle install staying in bundle dir after install | ```batchfile
@echo off
for /D %%i in (bundles/*) do (
if exist "%cd%\bundles\%%i\package.json" (
pushd "%cd%\bundles\%%i"
echo Updating %%i
call npm install >nul 2>&1
popd
)
)
``` |
ada80faa-6466-4ddf-8564-c95ba009bca1 | {
"language": "Batchfile"
} | ```batchfile
```
Add script to enable consent in MS Edge as non admin | ```batchfile
@PowerShell.exe -ExecutionPolicy RemoteSigned -Command "Invoke-Expression -Command ((Get-Content -Path '%~f0' | Select-Object -Skip 2) -join [environment]::NewLine)"
@exit /b %Errorlevel%
#Install scoop
set-executionpolicy unrestricted -s cu -f
iex (new-object net.webclient).downloadstring('https://get.sco... |
88050f7a-5a77-4e7e-98c0-a9ccc659670d | {
"language": "Batchfile"
} | ```batchfile
scons withMSVC=1 custom=custom-msvc.py useJack=0 buildRelease=1 buildCsoundVST=1 buildvst4cs=1 buildInterfaces=1 buildCsoundAC=1 buildJavaWrapper=1 useOSC=1 buildPythonOpcodes=1 buildLoris=0 buildStkOpcodes=1 buildWinsound=1 noFLTKThreads=0 noDebug=1 buildPDClass=1 buildVirtual=1 buildCsound5GUI=1 buildTcl... | ```batchfile
scons withMSVC=1 custom=custom-msvc.py useJack=0 buildRelease=1 buildCsoundVST=1 buildvst4cs=1 buildInterfaces=1 buildCsoundAC=1 buildJavaWrapper=1 useOSC=0 buildPythonOpcodes=1 buildLoris=0 buildStkOpcodes=1 buildWinsound=1 noFLTKThreads=0 noDebug=1 buildPDClass=0 buildVirtual=1 buildCsound5GUI=1 buildTcl... |
a9369eee-ea4c-41b0-9ec9-568c68cd22b0 | {
"language": "Batchfile"
} | ```batchfile
```
Add Python install batch file. | ```batchfile
@echo off
set PYTHON_VERSION=2.7.6
set PYTHON_MSI=python-%PYTHON_VERSION%.msi
set PYTHON_EXE=c:\\Python2.7\\python.exe
set PYTHON_PATH="C:\Python27;c:\Python27\Scripts"
echo,
echo ------------------------------------------------------------------
echo Download Python
echo ----------------------... |
1fe03c48-d618-425e-b3db-5541faef34b2 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
SET /p APPLICATION_VERSION=Tabster Version:
SET BUILD_DIRECTORY=%CD%
SET ZIP_ARCHIVE="%BUILD_DIRECTORY%\Tabster %APPLICATION_VERSION%.zip"
pushd..
SET SOLUTION_DIRECTORY=%CD%
SET VS_BUILD_DIRECTORY=%SOLUTION_DIRECTORY%\Tabster\bin\Portable\
::build
ECHO.
ECHO Building Solu... | ```batchfile
@ECHO OFF
SET /p APPLICATION_VERSION=Tabster Version:
SET BUILD_DIRECTORY=%CD%
SET ZIP_ARCHIVE="%BUILD_DIRECTORY%\Tabster %APPLICATION_VERSION%.zip"
IF EXIST %ZIP_ARCHIVE% del /F %ZIP_ARCHIVE%
pushd..
SET SOLUTION_DIRECTORY=%CD%
SET VS_BUILD_DIRECTORY=%SOLUTION_DIRECTORY%\Tabster\bin\... |
3a098ea9-7082-48b0-b216-4aebb57e876e | {
"language": "Batchfile"
} | ```batchfile
@echo off
:: hook `nodist use <version>`
if "%1"=="use" (
%0 + %2
if ERRORLEVEL 0 (
:: get path to version and add it to PATH
FOR /F "tokens=1 delims=" %%A in ('"%0" path %2') do @set Path=%%A;%Path%
)
goto end
)
:: hook `nodist update`
if "%1"=="update" (
pushd .
cd /D "%~dp0\.."
n... | ```batchfile
@echo off
:: hook `nodist use <version>`
if "%1"=="use" (
%0 + %2
if ERRORLEVEL 0 (
:: get path to version and add it to PATH
FOR /F "tokens=1 delims=" %%A in ('"%0" path %2') do @set "Path=%%A;%Path%"
)
goto end
)
:: hook `nodist update`
if "%1"=="update" (
pushd .
cd /D "%~dp0\.."
... |
e7fde9a1-cc24-47fd-bc15-93bd444d6871 | {
"language": "Batchfile"
} | ```batchfile
@echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul$G$G$*
doskey pwd=echo %CD%
rem Easier navigation
doskey cd=cd /D $*
doske... | ```batchfile
@echo off
chcp 65001>nul
prompt [%USERNAME%@%COMPUTERNAME% $p]$_$$$s
rem Fake a UNIX environment
doskey clear=cls
doskey ls=dir /d $*
doskey cp=copy $*
doskey mv=move $*
doskey rm=del $*
doskey cat=type $*
doskey touch=type nul$G$G$*
doskey pwd=echo %CD%
rem Easier navigation
doskey cd=cd /D $*
doske... |
748e45eb-4a7d-4bbf-af6e-5f58e40c28b4 | {
"language": "Batchfile"
} | ```batchfile
SET "memParams=-Xms2g -Xmx4g"
rem SET "debugParams=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080"
SET debugParams=
java -jar %memParams% %debugParams% target\RF2toRF1Converter.jar -u D:\ -v G:\incoming\SnomedCT_RF2Release_INT_20160131.zip
```
Increase memory for PC startup file | ```batchfile
SET "memParams=-Xms4g -Xmx8g"
rem SET "debugParams=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080"
SET debugParams=
java -jar %memParams% %debugParams% target\RF2toRF1Converter.jar -u D:\ -v G:\incoming\SnomedCT_RF2Release_INT_20160131.zip
``` |
f7ae4fb2-4e0a-4b64-9dd4-9ad9c88fc724 | {
"language": "Batchfile"
} | ```batchfile
@echo off
goto :main
======================================================================
Performs a clean build and create NuGet packages for this solution
Note that this also modifies the following files, replacing
placeholder version numbers with actual version numbers:
src\common\GlobalAssemblyI... | ```batchfile
@echo off
goto :main
======================================================================
Performs a clean build and create NuGet packages for this solution
Note that this also modifies the following files, replacing
placeholder version numbers with actual version numbers:
src\common\GlobalAssemblyI... |
1f97d6e9-cc6f-4f05-8cb0-090af313ad29 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
SET SUFFIX=%1
IF '%SUFFIX%' == '' GOTO NOSUFFIX
for /f %%a in ('dir %~dp0..\src\project.json /b /s ^| find /v "Consumers"') do dotnet pack %%a --no-build -c Release -o "%~dp0..\nugets" --version-suffix %SUFFIX%
GOTO END
:NOSUFFIX
ECHO Please provide verison suffix.
ECHO.For example:
ECHO.createN... | ```batchfile
@ECHO OFF
SET SUFFIX=%1
IF '%SUFFIX%' == '' GOTO NOSUFFIX
for /f %%a in ('dir %~dp0..\src\project.json /b /s ^| find /v "Consumers"') do dotnet pack %%a --no-build -c Release -o "%~dp0..\nugets" --version-suffix %SUFFIX%
GOTO END
:NOSUFFIX
for /f %%a in ('dir %~dp0..\src\project.json /b /s ^| find /v "Con... |
de9fb11c-7261-4296-a1d3-a7e528e76bac | {
"language": "Batchfile"
} | ```batchfile
### application.bat - 2015 - gandubert ###
version = "1.2"
build_hour = "11H00"
echo "Build ${build_hour}"
echo "version ${version}"```
Update header for new member | ```batchfile
### application.bat - 2015 - gandubert MAIGNAN ###
version = "1.2"
build_hour = "11H00"
echo "Build ${build_hour}"
echo "version ${version}"``` |
7acb429e-06d7-4c67-9e19-fd3339527cc8 | {
"language": "Batchfile"
} | ```batchfile
if not exist C:\dev\swig goto noswig
set PATH=C:\dev\swig;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC;%PATH%
@echo off
rem NOTE: If building under MobaSSH, the C:\Windows\System32\bsh\temp path is an issue
rem You'll see something like this after the swig step:
rem c1xx : fatal error C1083: C... | ```batchfile
if not exist C:\dev\swig goto noswig
echo on
set PATH=C:\dev\swig;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC;%PATH%
rem NOTE: git version tag broken on conda-build-1.18.2 (revert to 1.18.1 or use
rem the version after when it's released)
@echo off
rem NOTE: If building under MobaSSH, t... |
4e71ecf3-b581-4805-882f-48d883f39258 | {
"language": "Batchfile"
} | ```batchfile
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem (the "Lice... | ```batchfile
@echo off
rem Licensed to the Apache Software Foundation (ASF) under one or more
rem contributor license agreements. See the NOTICE file distributed with
rem this work for additional information regarding copyright ownership.
rem The ASF licenses this file to You under the Apache License, Version 2.0
rem ... |
1174444a-f1d8-422b-8adb-63b3cfbeb8f9 | {
"language": "Batchfile"
} | ```batchfile
@rem Run CMake, pointing to sibling directories containing dependencies.
@rem Note that zmq and cppzmq are relative to the source dir, while
@rem protobuf is relative to the build dir. Not sure why.
@set build_type=Release
@if not "%1"=="" set build_type=%1
@echo Configuring for build type %build_ty... | ```batchfile
@rem Run CMake, pointing to sibling directories containing dependencies.
@rem Note that zmq and cppzmq are relative to the source dir, while
@rem protobuf is relative to the build dir. Not sure why.
@set build_type=Release
@if not "%1"=="" set build_type=%1
@set build_bitness=32
@if not "%2"=="... |
02ebae5a-27fd-4666-a7d5-1684a49b9c54 | {
"language": "Batchfile"
} | ```batchfile
REM other targets are:
REM 'build'
REM 'test'
REM 'test-integration'
tools\nant\bin\nant.exe -f:Common.Logging.build build```
Revert "setting ci build script to only compile as CI box will scan and run tests independently" | ```batchfile
REM other targets are:
REM 'build'
REM 'test'
REM 'test-integration'
tools\nant\bin\nant.exe -f:Common.Logging.build test-integration``` |
17a589ef-2f01-41a9-b898-fe9329a5cfc9 | {
"language": "Batchfile"
} | ```batchfile
```
Add batch script used for creating binary egg packages for Python. | ```batchfile
:: batch script to build a binary egg package for the currently active Python
cd ..
del /q /s build-formast\
mkdir build-formast
cd build-formast
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DBUILD_JAVA=OFF ..\formast
nmake
cpack -G ZIP
cd swig\python\package
python setup.py bdist_egg
``` |
82ee8324-895d-47b1-ad59-ebf9843d44ce | {
"language": "Batchfile"
} | ```batchfile
```
Add a debug, highly crude script to start a Mesa3D Meson build | ```batchfile
@set mesa=C:\Software\Development\projects\mesa
@SET PATH=C:\Software\Development\Git\cmd\;%mesa%\Python\;%mesa%\Py3\;%mesa%\Py3\Scripts\;%mesa%\flexbison\;%mesa%\ninja\;%mesa%\pkgconfig\;%PATH%
@call "%ProgramFiles% (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
@cd %me... |
637c55af-e3e6-4d15-9144-7234377dfc2c | {
"language": "Batchfile"
} | ```batchfile
```
Add Windows build script to root folder | ```batchfile
@for /F "delims=" %%a in ('findstr /rc:"^ version" build.gradle') do @set versionline=%%a
@echo Closing all java and javaw processes with window title format: HubTurbo V%versionline:~15,5%*.
@taskkill /fi "Windowtitle eq HubTurbo V%versionline:~15,5%*" /im "javaw.exe"
@taskkill /fi "Windowtitle eq HubTu... |
d6666932-1dbd-4089-993b-7497e5ca3751 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
:args
IF NOT "%1"=="" (
call :%1
SHIFT
GOTO args
)
GOTO :EOF
:releases
call :pre_build
call :build
grunt
:pre_build
mkdir build
:build
cp -R src/* build
call :build_server
call :build_viewer
cd build
npm install
cd ..
:build_server
npm install GochoMugo/docvy-server#develop
mv node_... | ```batchfile
REM This batch script is an effort at porting the Unix Makefile for
REM Windows. Therefore, it may not be updated as frequent as the Unix
REM Makefile. (Please consider helping us keeping it up to date)
@ECHO OFF
:args
IF NOT "%1"=="" (
call :%1
SHIFT
GOTO args
)
GOTO :EOF
:releases
call :pre_buil... |
e9d9cc96-e5bd-4390-bb3b-b32918225c78 | {
"language": "Batchfile"
} | ```batchfile
@echo off
set PYTHONPATH=%CD%
C:\Python27\python.exe feed_archive\feed_archive.py %*
```
Replace absolute path of python | ```batchfile
@echo off
set PYTHONPATH=%CD%
python feed_archive\feed_archive.py %*
``` |
860573a1-52b1-40b4-a1d7-5c9707736700 | {
"language": "Batchfile"
} | ```batchfile
@PATH=%PATH%;%XIA2_ROOT%\binaries\win32
@PATH=%PATH%;%XIA2_ROOT%\Applications
```
Put win32 binaries at front of path, to pick up scala &c. | ```batchfile
@PATH=%XIA2_ROOT%\binaries\win32;%PATH%
@PATH=%PATH%;%XIA2_ROOT%\Applications
``` |
777d57da-4ba9-4eff-a4c2-3047b2581196 | {
"language": "Batchfile"
} | ```batchfile
SET "JAVA_HOME=C:\opt\jdk1.8.0_161"
cd git-repo
./mvnw clean install -X```
Fix location of java home for windows build | ```batchfile
SET "JAVA_HOME=C:\opt\jdk-8"
cd git-repo
./mvnw clean install -X``` |
8706bd3a-ac7d-47eb-88b3-bcb06cd62377 | {
"language": "Batchfile"
} | ```batchfile
```
Add script to enable ps remoting | ```batchfile
rem This needs to be run as an administrator!
winrm quickconfig -q
winrm set winrm/config/winrs @{MaxMemoryPerShellMB="512"}
winrm set winrm/config @{MaxTimeoutms="1800000"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/service/auth @{Basic="true"}
sc config WinRM start=... |
3691f2d9-b690-4a65-9621-c3897f087b0f | {
"language": "Batchfile"
} | ```batchfile
rem from https://docs.asp.net/en/latest/getting-started/installing-on-windows.html#install-asp-net-5-from-the-command-line
rem install .NET version manager (DNVM)
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.gith... | ```batchfile
rem from https://docs.asp.net/en/latest/getting-started/installing-on-windows.html#install-asp-net-5-from-the-command-line
rem install .NET version manager (DNVM)
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.gith... |
9dcf2731-3809-4d07-a5df-9ae98d192804 | {
"language": "Batchfile"
} | ```batchfile
:: Sets up the environment for use with MSVS tools and CMake.
@echo off
setlocal
:: cmd for loops are really hard, so I hardcoded the list of MSVS paths.
set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
if exist %vcvars% goto found_vcvars
set vcvars="%PROGRAMFILES%\Micro... | ```batchfile
:: Sets up the environment for use with MSVS tools and CMake.
@echo off
setlocal
:: cmd for loops are really hard, so I hardcoded the list of MSVS paths.
set vcvars="%PROGRAMFILES%\Microsoft Visual Studio 11.0\VC\bin\vcvars32.bat"
if exist %vcvars% goto found_vcvars
set vcvars="%PROGRAMFILES%\Micro... |
077350cf-b32a-4daa-992e-775bbc866adb | {
"language": "Batchfile"
} | ```batchfile
:: Add a new Ruby version to rbenv
@ setlocal EnableDelayedExpansion
@ call "%~dp0common_vars.cmd"
@reg add "HKCR\.rb" /ve /t REG_SZ /d "RubyFile" /f > NUL
@reg add "HKCR\RubyFile" /ve /t REG_SZ /d "Ruby File" /f > NUL
@reg add "HKCR\RubyFile\DefaultIcon" /ve /t REG_SZ /d "%RBENV_ROOT%\resources\r... | ```batchfile
:: Add a new Ruby version to rbenv
@ setlocal EnableDelayedExpansion
@ call "%~dp0common_vars.cmd"
@reg add "HKCR\.rb" /ve /t REG_SZ /d "RubyFile" /f > NUL
@reg add "HKCR\RubyFile" /ve /t REG_SZ /d "Ruby File" /f > NUL
@reg add "HKCR\RubyFile\DefaultIcon" /ve /t REG_SZ /d "%RBENV_ROOT%\resources\r... |
a4247199-2852-409c-a908-e16fc78541af | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal EnableDelayedExpansion
echo Test discovery started...
dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt
echo Testing (Google Test)...
set failures=0
FOR /F %%i IN (__tmp_gtest.txt) DO (
echo %%i
%%i --gtest_output="xml:%%i.xml"
powershell C:\projects\spect... | ```batchfile
@echo off
setlocal EnableDelayedExpansion
echo Test discovery started...
dir C:\projects\spectre\*Tests.exe /b /s | findstr /v obj > __tmp_gtest.txt
echo Testing (Google Test)...
set failures=0
FOR /F %%i IN (__tmp_gtest.txt) DO (
echo %%i
%%i --gtest_output="xml:%%i.xml"
IF %ERRORLEVEL% NEQ 0 (
se... |
d58e4f7b-9e45-4ac5-a4e3-22891475de5a | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
set COLLECTOR_PROCESS_TITLE=Skywalking-Collector
set COLLECTOR_HOME=%~dp0%..
set COLLECTOR_OPTS="-Xms256M -Xmx512M -Dcollector.logDir=%COLLECTOR_HOME%\logs"
set CLASSPATH=%COLLECTOR_HOME%\config;.;
set CLASSPATH=%COLLECTOR_HOME%\libs\*;%CLASSPATH%
if defined JAVA_HOME (
set _EXECJAVA... | ```batchfile
@echo off
setlocal
set COLLECTOR_PROCESS_TITLE=Skywalking-Collector
set COLLECTOR_HOME=%~dp0%..
set COLLECTOR_OPTS="-Xms256M -Xmx512M -Dcollector.logDir=%COLLECTOR_HOME%\logs"
set CLASSPATH=%COLLECTOR_HOME%\config;.;
set CLASSPATH=%COLLECTOR_HOME%\libs\*;%CLASSPATH%
if defined JAVA_HOME (
set _EXECJAVA... |
a50e1d35-b3e0-4f48-99da-322ddb1202a9 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`.
setlocal
set PATH=%PATH%;tools\NuGet
nuget install IntelliFactory.Build -nocache -pre -ExcludeVersion -o tools\packages
nuget install FSharp.Compiler.Tools -nocache -version 4.0.1.21 -excludeVersion -... | ```batchfile
@ECHO OFF
REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`.
setlocal
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\4.0\Framework\v4.0
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft... |
69b77622-a221-46fa-a907-5a0ca9bb64a0 | {
"language": "Batchfile"
} | ```batchfile
mkdir bin
ilasm /dll src\PtrUtils.il /out:bin\System.Slice.netmodule
csc /t:library /debug /unsafe /o+ /addmodule:bin\System.Slice.netmodule /out:bin\System.Slice.dll src\*.cs
csc /unsafe /r:bin\System.Slice.dll /out:bin\System.Slice.Test.exe tests\*.cs```
Build tests w/ debugging symbols | ```batchfile
mkdir bin
ilasm /dll src\PtrUtils.il /out:bin\System.Slice.netmodule
csc /t:library /debug /unsafe /o+ /addmodule:bin\System.Slice.netmodule /out:bin\System.Slice.dll src\*.cs
csc /debug /unsafe /r:bin\System.Slice.dll /out:bin\System.Slice.Test.exe tests\*.cs
``` |
569ea645-d668-44e7-b7a9-2a1e6aa098ff | {
"language": "Batchfile"
} | ```batchfile
PATH=C:\python26;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
del /s w9xpopen.exe
copy ..\README.txt .
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
```
Add Program Fil... | ```batchfile
PATH=C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
del /q /s dist\*.*
python setup.py py2exe
cd dist
7z d library.zip jinja2\* dns\* 'graphy\*
del /s w9xpopen.exe
copy ..\README.txt .
7z a namebench_for_Windows.zip -r *
namebench -x -O 8.8.8.8 -t5 -o test.html
start test.html
cd ..
``... |
16512d23-0559-473c-a32e-909ed8fb2882 | {
"language": "Batchfile"
} | ```batchfile
cd %~dp0java_executor
del /s /q objs
rmdir objs
md objs
cd src
javac -d ..\objs ca\dmoj\java\*.java
cd ..\objs
del ..\..\executors\java_executor.jar
jar cmf ..\src\META-INF\MANIFEST.MF ..\..\executors\java_executor.jar ca\dmoj\java\*.class
```
Build for 1.7 even with 1.8 javac | ```batchfile
cd %~dp0java_executor
del /s /q objs
rmdir objs
md objs
cd src
javac -source 1.7 -target 1.7 -d ..\objs ca\dmoj\java\*.java
cd ..\objs
del ..\..\executors\java_executor.jar
jar cmf ..\src\META-INF\MANIFEST.MF ..\..\executors\java_executor.jar ca\dmoj\java\*.class
``` |
b0988935-69c1-4783-9ec5-4c55fb7e9c4f | {
"language": "Batchfile"
} | ```batchfile
```
Add a batch file to support windows until panda gets its own automatic .bat facility generation at installation time | ```batchfile
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl6 "%~dp0\%0" %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto... |
ec82930d-2cdd-4860-8c0a-2086c3f27955 | {
"language": "Batchfile"
} | ```batchfile
```
Create a script to allow building 32-bit and 64-bit Windows. | ```batchfile
echo off
REM
REM This batch file builds both 32-bit and 64-bit versions of the loader.
REM It is assumed that the developer has run the update_external_sources.bat
REM file prior to running this.
REM
REM Determine the appropriate CMake strings for the current version of Visual Studio
echo Determining VS v... |
101d504d-7aad-4b09-8160-462cfbf2da9b | {
"language": "Batchfile"
} | ```batchfile
@echo off
set DIST_DIR=dist
set CERTIFICATE_PATH="%USERPROFILE%\certificates\nuxeo.com.pfx"
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /f %CERTIFICATE_PATH% /d %MSI_PROGRAM_NAME% /t %TIMESTAMP_URL%
set VERIFY_CMD=s... | ```batchfile
@echo off
set DIST_DIR=dist
set CERTIFICATE_PATH="%USERPROFILE%\certificates\nuxeo.com.pfx"
set PFX_PASSWORD=""
set MSI_PROGRAM_NAME="Nuxeo Drive"
set TIMESTAMP_URL=http://timestamp.verisign.com/scripts/timstamp.dll
set SIGN_CMD=signtool sign /v /f %CERTIFICATE_PATH% /p %PFX_PASSWORD% /d %MSI_PROGRAM_NAM... |
182f53f2-a6b5-4d96-ad8a-8fbf42129ca9 | {
"language": "Batchfile"
} | ```batchfile
robocopy C:\Users\user\Documents F:\Backup\Documents /MIR /DCOPY:T /xj /np /tee /log:backup_log.txt
robocopy C:\Users\user\Pictures F:\Backup\Pictures /MIR /DCOPY:T /xj /np /tee /log+:backup_log.txt
robocopy C:\Users\user\Music F:\Backup\Music /MIR /DCOPY:T /xj /np /tee /log+:backup_log.txt
roboc... | ```batchfile
robocopy "C:\Users\user\Documents" "F:\Backup\Documents" /MIR /DCOPY:T /xj /np /tee /log:backup_log.txt
robocopy "C:\Users\user\Pictures" "F:\Backup\Pictures" /MIR /DCOPY:T /xj /np /tee /log+:backup_log.txt
robocopy "C:\Users\user\Music" "F:\Backup\Music" /MIR /DCOPY:T /xj /np /tee /log+:backup_l... |
385c6323-bcc7-48ea-9918-9a29e161ce3f | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
title Build slave
if not exist %~dp0..\..\depot_tools\. (
echo You must put a copy of depot_tools in %~dp0..\depot_tools
goto :EOF
)
set PATH=%~dp0..\..\depot_tools;%PATH%
cd /d %~dp0
:: Running it once will make sure svn and python were downloaded.
call gclient.bat > nul
... | ```batchfile
@echo off
setlocal
title Build slave
if not exist %~dp0..\..\depot_tools\. (
echo You must put a copy of depot_tools in %~dp0..\depot_tools
goto :EOF
)
set PATH=%~dp0..\..\depot_tools;%PATH%
cd /d %~dp0
:: Running it once will make sure svn and python were downloaded.
call gclient.bat > nul
... |
87ae7dc6-8f8d-456d-bf23-cecdbdc7cfc0 | {
"language": "Batchfile"
} | ```batchfile
```
Move post building command from make file to bat file. Until build system support post build, these command will be for Duet platform's post building commands. | ```batchfile
#
# Currently, Build system does not provide post build mechanism for module
# and platform building, so just use a bat file to do post build commands.
# Originally, following post building command is for EfiLoader module.
#
set BUILD_DIR=%WORKSPACE%\Build\DuetPkg\DEBUG_MYTOOLS
set BASETOOLS_DIR=%... |
dd998f0f-bbe1-4a65-82aa-b36a94fc5ffb | {
"language": "Batchfile"
} | ```batchfile
"C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^
--js=misc.js ^
--js=siggy.js ^
--js=siggy.helpers.js ^
--js=siggy.static.js ^
--js=siggy.intel.dscan.js ^
--js=siggy.intel.poses.js ^
--js=siggy.charactersettings.js ^
--js=siggy.notifications.js ^
--js=siggy.timer.js ^
--... | ```batchfile
java.exe -jar compiler.jar ^
--js=misc.js ^
--js=siggy.js ^
--js=siggy.helpers.js ^
--js=siggy.static.js ^
--js=siggy.intel.dscan.js ^
--js=siggy.intel.poses.js ^
--js=siggy.charactersettings.js ^
--js=siggy.notifications.js ^
--js=siggy.timer.js ^
--js=siggy.sigtable.js ^
--js=siggy.globalnotes... |
e9d519cb-40fa-4cdc-aff2-b2f999669e80 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM compile the code into the bin folder
javac javac -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java
REM run the program, feed commands from input.txt file and redirect the output to the actual.txt
java -classpath ..\bin seedu.addressbook.Main < input.txt > actual.txt
REM ... | ```batchfile
@ECHO OFF
REM create bin directory if it doesn't exist
if not exist ..\bin mkdir ..\bin
REM delete output from previous run
del actual.txt
REM compile the code into the bin folder
javac javac -cp ..\src -Xlint:none -d ..\bin ..\src\seedu\addressbook\Main.java
REM run the program, feed commands from i... |
802045f0-c46d-4674-be0e-89687fc9ba0f | {
"language": "Batchfile"
} | ```batchfile
setlocal
cd %~dp0
set path=%path;%C:\Users\marco\OneDrive\Documents\PROJECTS\ThirdParties\vtk_installRelease\bin
"C:\Users\marco\OneDrive\Documents\PROJECTS\polytriagnulation\out\Unittests\Release\unittests.exe"
```
Test run via bat file. | ```batchfile
setlocal
cd %~dp0
set path=%path;%C:\Users\marco\OneDrive\Documents\PROJECTS\ThirdParties\vtk_installRelease\bin
call "C:\Users\marco\OneDrive\Documents\PROJECTS\polytriagnulation\out\Unittests\Release\unittests.exe"
pause``` |
7b5cfb11-cd47-4064-ada1-824aaab12b6c | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal enabledelayedexpansion
pushd %1
set attempts=5
set counter=0
:retry
set /a counter+=1
echo Attempt %counter% out of %attempts%
cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/f1f26085d54438c5a3eb951baba56fc0db8f90eb
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... | ```batchfile
@echo off
setlocal enabledelayedexpansion
pushd %1
set attempts=5
set counter=0
:retry
set /a counter+=1
echo Attempt %counter% out of %attempts%
cmd /c npm install https://github.com/projectkudu/KuduScript/tarball/93edfcb6e9c75d395e805825f5051e707bd50bb8
IF %ERRORLEVEL% NEQ 0 goto error
goto end
:e... |
7f66dcc5-1130-488e-ba88-f4542c044b8b | {
"language": "Batchfile"
} | ```batchfile
choco install docfx -y
choco update docfx -y
docfx docfx\docfx.json
del docs /s /q
REM the CNAME file is generated in the doc folder when added through the github
REM settings page. Apparently github uses this file to determine the custom
REM domain. The line above deletes the whole docs folder so we ne... | ```batchfile
choco install docfx -y
choco upgrade docfx -y
docfx docfx\docfx.json
del docs /s /q
REM the CNAME file is generated in the doc folder when added through the github
REM settings page. Apparently github uses this file to determine the custom
REM domain. The line above deletes the whole docs folder so we n... |
0fdbe251-33bb-4d85-bcfb-f327460b55b5 | {
"language": "Batchfile"
} | ```batchfile
```
Add batch to compile release binary. | ```batchfile
@echo off
rem > Build-Release [cfg file]
rem Note: compiling twice the same sources gives different binaries.
rem clean output directory
del ..\dcu\*.dcu
if '%1' NEQ '' goto use_cfg_argument
:use_default_cfg
dcc32 Drago
goto return
:use_cfg_argument
set cfg=%1
copy Drago.cfg Drago.cfg.bak > nul
copy ... |
521888b6-b30b-449d-8b70-f450a0639678 | {
"language": "Batchfile"
} | ```batchfile
```
Add gradle wrapper for Windows | ```batchfile
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%... |
e95af1ce-c8b6-41d5-bf91-a526e5e3dabe | {
"language": "Batchfile"
} | ```batchfile
@echo off
echo Press any key to publish
pause
".nuget\NuGet.exe" push Rssdp.2.0.0.1.nupkg
pause```
Update publish bat for new release. | ```batchfile
@echo off
echo Press any key to publish
pause
".nuget\NuGet.exe" push Rssdp.2.0.0.2.nupkg
pause``` |
49c9702e-fe50-4b13-ab0e-5c6ec08613b4 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
SET BASEDIR=%~dp0..
SET USERINI=%BASEDIR%\user.ini
FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do (
set CF_USER=%%a
set CF_PASS=%%b
)
SET MAVEN_HOME=C:\opt\apache\apache-maven-3.5.3
ECHO [behave.userdata] > %USERINI%
ECHO cf_apiurl = api.run.pcfbeta.io >> %USERINI%
... | ```batchfile
@ECHO OFF
SET BASEDIR=%~dp0..
SET USERINI=%BASEDIR%\user.ini
FOR /F "tokens=1,2 delims=:" %%a in ("%STEELTOE_PCF_CREDENTIALS%") do (
set CF_USER=%%a
set CF_PASS=%%b
)
SET PYTHON_HOME=C:\Python36
SET MAVEN_HOME=C:\opt\apache\apache-maven-3.3.9
ECHO [behave.userdata] > %USERINI%
ECHO cf_apiurl = api... |
a43ec3d5-bcf3-44ac-9b43-2bd31ca012d2 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal enableextensions
set base=%~dp0
for %%i in (node.bat node.exe) do if not "%%~$PATH:i"=="" set node=%%~$PATH:i
if "%node%"=="" echo error: node.js is not on the system path && exit /b 1
"%node%" "%base%bolt.js" %*
```
Convert windows batch script to use windows line endings. | ```batchfile
@echo off
setlocal enableextensions
set base=%~dp0
for %%i in (node.bat node.exe) do if not "%%~$PATH:i"=="" set node=%%~$PATH:i
if "%node%"=="" echo error: node.js is not on the system path && exit /b 1
"%node%" "%base%bolt.js" %*
``` |
1ba64ce4-600b-4a98-bd66-936760b58bb2 | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd %cd%
%~d0
cd %~dp0
echo Temporarily changing directory to %~dp0
if exist %USERPROFILE%\_vimrc goto GVIMRC
echo Installing _vimrc
echo set rtp+=%CD%\vim> %USERPROFILE%\_vimrc
echo source %CD%\vim\vimrc >> %USERPROFILE%\_vimrc
:GVIMRC
echo Installing _gvimrc
if exist %USERPROFI... | ```batchfile
@echo off
pushd %cd%
%~d0
cd %~dp0
echo Temporarily changing directory to %~dp0
if exist %USERPROFILE%\_vimrc goto GVIMRC
echo Installing _vimrc
echo set rtp+=%CD%\vim> %USERPROFILE%\_vimrc
echo source %CD%\vim\vimrc >> %USERPROFILE%\_vimrc
:GVIMRC
if exist %USERPROFILE%\_gvimrc goto END
ech... |
db152941-50d2-4d8b-8c03-a6b6823e3c84 | {
"language": "Batchfile"
} | ```batchfile
call :test 4.7.2
call :test 6.9.4
call :test 7.4.0
goto :eof
:test
setlocal
docker run node:%1 node --version
docker run node:%1-nano node --version
```
Test npm version, just rebuild with 693 | ```batchfile
call :test 4.7.2
call :test 6.9.4
call :test 7.4.0
goto :eof
:test
setlocal
docker run node:%1 node --version
docker run node:%1 npm --version
docker run node:%1-nano node --version
docker run node:%1-nano npm --version
``` |
8750168b-58cd-46b4-bffd-95c29468d576 | {
"language": "Batchfile"
} | ```batchfile
@echo off
if not defined HOME (
echo ϐ HOME `Ă܂
echo ϐ HOME _vimrc zu邽߂̃fBNgpXݒ肵Ă
exit /b
)
set MY_DIR=%~dp0
@echo on
echo source %MY_DIR%vimrc >> %HOME%\_vimrc
echo source %MY_DIR%gvimrc >> %HOME%\_gvimrc
```
Make temp directory in HOME | ```batchfile
@echo off
if not defined HOME (
echo ϐ HOME `Ă܂
echo ϐ HOME _vimrc zu邽߂̃fBNgpXݒ肵Ă
exit /b
)
set MY_DIR=%~dp0
@echo on
echo source %MY_DIR%vimrc >> %HOME%\_vimrc
echo source %MY_DIR%gvimrc >> %HOME%\_gvimrc
mkdir %HOME%\temp\vim_backup
``` |
f3e05d33-eef6-4d89-aca7-3faf9148d3c2 | {
"language": "Batchfile"
} | ```batchfile
"C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" -jar compiler.jar ^
--js=misc.js ^
--js=siggy.js ^
--js=siggy.helpers.js ^
--js=siggy.static.js ^
--js=siggy.intel.dscan.js ^
--js=siggy.intel.poses.js ^
--js=siggy.charactersettings.js ^
--js=siggy.notifications.js ^
--js=siggy.timer.js ^
--... | ```batchfile
java.exe -jar compiler.jar ^
--js=misc.js ^
--js=siggy.js ^
--js=siggy.helpers.js ^
--js=siggy.static.js ^
--js=siggy.intel.dscan.js ^
--js=siggy.intel.poses.js ^
--js=siggy.charactersettings.js ^
--js=siggy.notifications.js ^
--js=siggy.timer.js ^
--js=siggy.sigtable.js ^
--js=siggy.globalnotes... |
37ed568b-d07f-4f32-9e82-03fea6c2cd54 | {
"language": "Batchfile"
} | ```batchfile
@rem Makes a build directory of the Tundra, so that you can run the NSIS install script
@echo off
cd ..\..\..\..
rmdir build /S /Q
md build
copy README.md build
copy LICENSE build\LICENSE.txt
copy WhatsNew.txt build
copy tools\Windows\Installer\VS2008\vcredist_x86.exe build\vcredist.exe
copy tools\Windows\... | ```batchfile
@rem Makes a build directory of the Tundra, so that you can run the NSIS install script
@echo off
cd ..\..\..\..
rmdir build /S /Q
md build
copy README.md build
copy LICENSE build\LICENSE.txt
copy WhatsNew.txt build
copy tools\Windows\Installer\VS2008\vcredist_x64.exe build\vcredist.exe
copy tools\Windows\... |
0f87ba0b-ca48-4fe8-806d-b0ac1ab2f9c1 | {
"language": "Batchfile"
} | ```batchfile
@echo off
IF NOT EXIST %APPDATA%\npm\tsc.cmd (
ECHO You must have the TypeScript compiler installed. If npm is installed, run
ECHO npm install -g typescript
GOTO end
)
IF EXIST "%ProgramFiles(x86)%\Microsoft SDKs\TypeScript\1.4\tsc.exe" (
CALL "%ProgramFiles(x86)%\Microsoft SDKs\TypeScript\1.4\tsc.exe... | ```batchfile
@echo off
IF EXIST "%ProgramFiles(x86)%\Microsoft SDKs\TypeScript\1.4\tsc.exe" (
CALL "%ProgramFiles(x86)%\Microsoft SDKs\TypeScript\1.4\tsc.exe" -m amd --outDir out\scripts\PublicEvents scripts\PublicEvents\PublicEventsSource.ts
) ELSE (
IF EXIST "%APPDATA%\npm\tsc.cmd" (
CALL %APPDATA%\npm\tsc -m am... |
6ce9b201-9f67-48f9-9f52-160bf0a6a052 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
pushd "%~dp0"
call :main %*
popd
goto :EOF
:main
set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
if not exist "%MSBUILDEXE%" (
echo The .NET Framework 4.0 does not appear to be installed on this
echo machine, which is required to build the ... | ```batchfile
@echo off
setlocal
pushd "%~dp0"
call :main %*
popd
goto :EOF
:main
set MSBUILDEXE=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
if not exist "%MSBUILDEXE%" (
echo The .NET Framework 4.0 does not appear to be installed on this
echo machine, which is required to build the ... |
e970a911-a992-4fd8-8f5f-79ff83221abc | {
"language": "Batchfile"
} | ```batchfile
@echo off
SET EXPECT_OUTPUT=
FOR %%a IN (%*) DO (
IF /I "%%a"=="-h" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="--help" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="-v" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="--version" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="-f" SET EXPECT_OUTPUT... | ```batchfile
@echo off
SET EXPECT_OUTPUT=
FOR %%a IN (%*) DO (
IF /I "%%a"=="-f" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="--foreground" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="-h" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="--help" SET EXPECT_OUTPUT=YES
IF /I "%%a"=="-t" SET EXPECT_OUTPUT... |
ab0709ad-6797-4a8d-ac71-9a4a852ae602 | {
"language": "Batchfile"
} | ```batchfile
```
Add Java line count script for windows | ```batchfile
@echo off
:CountLines
setlocal
cd ..
set /a totalNumLines = 0
for /r %1 %%F in (*.java *.html *.hpp *.cs *.c) do (
echo "%%F"
for /f %%N in ('find /v /c "" ^<"%%F"') do set /a totalNumLines+=%%N
)
echo Total LOC (Java) = %totalNumLines%
timeout 15 > NUL
``` |
717e45da-4634-4c7d-bf41-b601cf030a94 | {
"language": "Batchfile"
} | ```batchfile
@echo off
call ..\..\SetNugetApiKey.bat
del *.nupkg
nuget pack RocketLeagueReplayParser.csproj -Build -Prop Configuration=Release
nuget setApiKey %NUGET_API_KEY%
nuget push *.nupkg
pause```
Update nuget publish script for updated nuget.exe path | ```batchfile
@echo off
call ..\..\SetNugetApiKey.bat
del *.nupkg
..\..\nuget pack RocketLeagueReplayParser.csproj -Build -Prop Configuration=Release
..\..\nuget setApiKey %NUGET_API_KEY%
..\..\nuget push *.nupkg
pause``` |
8050d1fc-bb40-4924-84b5-1eebb9bb8335 | {
"language": "Batchfile"
} | ```batchfile
ghci.exe -isrc -i. src\Main.hs -fno-warn-overlapping-patterns -w -fwarn-unused-binds -fwarn-unused-imports -package haskell-src-exts-1.3.0
```
Remove the restriction to haskell-src-exts-1.3.0 in the .bat file | ```batchfile
ghci.exe -isrc -i. src\Main.hs -fno-warn-overlapping-patterns -w -fwarn-unused-binds -fwarn-unused-imports
``` |
a003cec9-9a78-4a62-9ab2-1c05117f3bd9 | {
"language": "Batchfile"
} | ```batchfile
@echo off
setlocal
set mypath=%~dp0
set PYTHONPATH=pkgs
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
set common="%COMMONPROGRAMFILES%"
) else (
set common="%COMMONPROGRAMFILES(x86)%"
)
REM Start the DbServer in background but within the same context
start "OpenQuake DB server" /B %common%\Pyt... | ```batchfile
@echo off
setlocal
set mypath=%~dp0
set PYTHONPATH=pkgs
if "%PROCESSOR_ARCHITECTURE%"=="x86" (
set common="%COMMONPROGRAMFILES%"
) else (
set common="%COMMONPROGRAMFILES(x86)%"
)
REM Start the DbServer in background but within the same context
start "OpenQuake DB server" /B %common%\Pyt... |
9fafa096-40f0-47d4-9ac4-f182723084f9 | {
"language": "Batchfile"
} | ```batchfile
mkdir tmp-build
if errorlevel 1 exit 1
cd tmp-build
if errorlevel 1 exit 1
cmake ../pythonfmu/pythonfmu-export -DPython3_EXECUTABLE:FILEPATH="%PYTHON%" -DCMAKE_BUILD_TYPE=Release
if errorlevel 1 exit 1
cmake --build . --config Release
if errorlevel 1 exit 1
cd ..
if errorlevel 1 exit 1
%PYTHON% -m pip ins... | ```batchfile
mkdir tmp-build
if errorlevel 1 exit 1
cd tmp-build
if errorlevel 1 exit 1
cmake ../pythonfmu/pythonfmu-export -G "Ninja" -DPython3_EXECUTABLE:FILEPATH="%PYTHON%" -DCMAKE_BUILD_TYPE=Release
if errorlevel 1 exit 1
cmake --build . --config Release
if errorlevel 1 exit 1
cd ..
if errorlevel 1 exit 1
%PYTHON%... |
91ee52b4-a62e-4fa8-8898-aa54fcb591bf | {
"language": "Batchfile"
} | ```batchfile
:: Build tcplotter command-line utilities using cmake
:: Change working directory to archive directory
cd "%PKG_NAME%"
:: Create build directory
cd "src"
mkdir build
if errorlevel 1 exit 1
cd build
if errorlevel 1 exit 1
:: Build with cmake
cmake -G "Visual Studio 15 2017" -A x64 ..
if errorlevel 1 exit... | ```batchfile
:: Build tcplotter command-line utilities using cmake
:: Change working directory to archive directory
cd "%PKG_NAME%"
:: Create build directory
cd "src"
mkdir build
if errorlevel 1 exit 1
cd build
if errorlevel 1 exit 1
:: Build with cmake
cmake -G "Visual Studio 16 2019" -A x64 ..
if errorlevel 1 exit... |
87163f1f-c692-4449-80cb-b6ef7d71d1d8 | {
"language": "Batchfile"
} | ```batchfile
@echo off
set lighttpd_dir=%~dp0..\third_party\lighttpd\win
REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be
REM killed by taskkill.
REM Since xcopy is stupid, tell it that lighttpd_server.exe is a file and not
REM a directory using the echo hack.
echo f | xcopy /D %li... | ```batchfile
@echo off
set lighttpd_dir=%~dp0..\third_party\lighttpd\win
REM copy lighttpd.exe to lighttpd_server.exe, because we don't want it to be
REM killed by taskkill.
REM Since xcopy is stupid, tell it that lighttpd_server.exe is a file and not
REM a directory using the echo hack.
echo f | xcopy /D /Y ... |
25a9ef10-a6af-4279-9182-e6fd4eeb962e | {
"language": "Batchfile"
} | ```batchfile
@setlocal
@cd SLOTaxService
@msbuild /t:build /p:Configuration=Release /nologo /v:m
@if %errorlevel% neq 0 exit /b %errorlevel%
@cd ..
@cd SLOTaxGuiTest
@msbuild /t:build /p:Configuration=Release /nologo /v:m
@if %errorlevel% neq 0 exit /b %errorlevel%
@cd ..
```
Build .Net 4.0 and .Net 4.5 projects | ```batchfile
@setlocal
@cd SLOTaxGuiTest40
@msbuild /t:build /p:Configuration=Release /nologo /v:m
@if %errorlevel% neq 0 exit /b %errorlevel%
@cd ..
@cd SLOTaxGuiTest
@msbuild /t:build /p:Configuration=Release /nologo /v:m
@if %errorlevel% neq 0 exit /b %errorlevel%
@cd ..
@rd FinalOutput /s /q
@md FinalOutput
@cd ... |
dfc595e3-f3f5-42bf-8338-de48ecb10ce8 | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`.
setlocal
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.0\Framework\v4.0
set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs... | ```batchfile
@ECHO OFF
REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`.
setlocal
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0
set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.0\Framework\v4.0
set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs... |
767d7584-37de-4b4a-aa66-76cce6dab66d | {
"language": "Batchfile"
} | ```batchfile
```
Use GDAL to convert ESRI ASCII Grid files in RD to WGS84. Requires a working GDAL installation, e..g. you can use the one that is installed with QGIS, or install it yourself. | ```batchfile
rem First, convert the input data to vrt, reprojecting from RD to wgs84, and replacing the nodata value at the same time.
rem As gdalwarp does not support AAIGrid as output, we first convert it to VRT, and use gdal_translate to translate it to an ESRI ASCII GRID file.
for %%f in (*.asc) do (
echo Process... |
31c39815-ee98-48bd-99fc-eeb8f8d8691f | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM
REM Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
REM
PATH %PATH%;%DXSDK_DIR%\Utilities\bin\x86
fxc /E standardvs /T vs_2_0 /Fh standardvs.h Blit.vs
fxc /... | ```batchfile
@ECHO OFF
REM
REM Copyright (c) 2012 The ANGLE Project Authors. All rights reserved.
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.
REM
PATH %PATH%;%DXSDK_DIR%\Utilities\bin\x86
fxc /E standardvs /T vs_2_0 /Fh standardvs.h Blit.vs
fxc /E flipyvs ... |
fed31836-c079-4019-8d69-b9142082a5ed | {
"language": "Batchfile"
} | ```batchfile
REM This Windows batch script logs into Perforce and updates a file named `last_updated` in the depot with the current date and timestamp.
REM This can be set up to be executed upon startup/login to avoid expiration of access permissions upon a lack of recent Perforce updates.
SET P4PORT=
SET P4CLIENT=
SE... | ```batchfile
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS
REM This Windows batch script logs into Perforce and updates a file named `last_updated` in the depot with the current date and timestamp.
REM This can be set up to be executed upon startup/login to avoid expiration of access permissions upon a lack of recent Perforce u... |
a47c4235-32ce-4919-964d-d1f207e7b337 | {
"language": "Batchfile"
} | ```batchfile
@@setlocal
@@set POWERSHELL_BAT_ARGS=%*
@@if defined POWERSHELL_BAT_ARGS set POWERSHELL_BAT_ARGS=%POWERSHELL_BAT_ARGS:"=\"%
@@powershell.exe -Command Invoke-Expression $('$args=@(^&{$args} %POWERSHELL_BAT_ARGS%);'+[String]::Join([char]10, $((Get-Content '%~f0') -notmatch '^^@@'))) & goto :EOF
if ($args.Le... | ```batchfile
@@setlocal
@@set POWERSHELL_BAT_ARGS=%*
@@if defined POWERSHELL_BAT_ARGS set POWERSHELL_BAT_ARGS=%POWERSHELL_BAT_ARGS:"=\"%
@@powershell.exe -Command Invoke-Expression $('$args=@(^&{$args} %POWERSHELL_BAT_ARGS%);'+[String]::Join([char]10, $((Get-Content '%~f0') -notmatch '^^@@'))) & goto :EOF
if ($args.Le... |
214b2eab-3f98-4af7-aecd-852ccf651809 | {
"language": "Batchfile"
} | ```batchfile
mkdir tmp-build
if errorlevel 1 exit 1
cd tmp-build
if errorlevel 1 exit 1
cmake ..\pythonfmu\pythonfmu-export --debug-output -DPython3_EXECUTABLE:FILEPATH="%PYTHON%" -DCMAKE_BUILD_TYPE=Release
more .\CMakeFiles\CMakeOutput.log
if errorlevel 1 exit 1
cmake --build . --config Release --verbose
if errorlevel... | ```batchfile
mkdir tmp-build
if errorlevel 1 exit 1
cd tmp-build
if errorlevel 1 exit 1
cmake --debug-output -G "Ninja" ^
-DPython3_EXECUTABLE:FILEPATH="%PYTHON%" ^
-DCMAKE_BUILD_TYPE=Release ^
..\pythonfmu\pythonfmu-export
more .\CMakeFiles\CMakeOutput.log
if errorlevel 1 exit 1
REM cmake --build... |
ff4763e8-d79a-45de-ae0a-969cb63a7add | {
"language": "Batchfile"
} | ```batchfile
```
Add android sdk upload script. | ```batchfile
echo 'y' | "%ANDROID_HOME%/tools/android.bat" update sdk --no-ui --all --filter android-10,android-23,platform-tools,tools,build-tools-23.0.3
``` |
c601b9d9-5b28-4821-9088-087b2287eb9d | {
"language": "Batchfile"
} | ```batchfile
java -jar Collate-TUI.jar collate from src/main to collated/main include java, fxml, css
java -jar Collate-TUI.jar collate from src/test to collated/test include java
java -jar Collate-TUI.jar collate from unused to collated/unused include java, fxml, css```
Add newline to end of file | ```batchfile
java -jar Collate-TUI.jar collate from src/main to collated/main include java, fxml, css
java -jar Collate-TUI.jar collate from src/test to collated/test include java
java -jar Collate-TUI.jar collate from unused to collated/unused include java, fxml, css
``` |
92bc07c2-451c-4436-9ed0-3ba690355673 | {
"language": "Batchfile"
} | ```batchfile
@echo off
@rem Run from the root of master to deploy the currently built contents
@rem of the out\ directory to PPE or PROD. PPE or PROD must be the
@rem first parameter.
setlocal
set _env=%~1
if "%_env%"=="PPE" goto :StartDeployment
if "%_env%"=="PROD" goto :StartDeployment
echo ERROR: You must specify a... | ```batchfile
@echo off
@rem Run from the root of master to deploy the currently built contents
@rem of the out\ directory to PPE or PROD. PPE or PROD must be the
@rem first parameter.
setlocal
set _env=%~1
if "%_env%"=="PPE" goto :StartDeployment
if "%_env%"=="PROD" goto :StartDeployment
echo ERROR: You must specify a... |
316f9c2e-bd34-45be-afc2-06ee9499afcb | {
"language": "Batchfile"
} | ```batchfile
```
Add batch file to build optimized version on win32 | ```batchfile
cargo build
mkdir opt
rustc -O --out-dir opt -L target\deps src\rboy.rs
rustc -O --out-dir opt -L target\deps -L opt src\bin\rboy.rs
``` |
af0617c7-2980-48d3-b58d-3faa6ed57dc7 | {
"language": "Batchfile"
} | ```batchfile
nuget pack Weingartner.Json.Migration.Fody.nuspec -OutputDirectory C:\Users\egger\Workspace\NuGet -Version 0.0.1-alpha ```
Use relative path for local nuspec build script | ```batchfile
nuget pack Weingartner.Json.Migration.Fody.nuspec -OutputDirectory ..\..\NuGet -Version 0.0.1-alpha``` |
5fb4c69b-24e2-4237-b658-102ed3dfbb01 | {
"language": "Batchfile"
} | ```batchfile
SET GOPATH=%CD%\gopath
SET GATSPATH=%GOPATH%\src\github.com\cloudfoundry\cli-acceptance-tests
SET PATH=C:\Go\bin;%PATH%
SET PATH=C:\Program Files\Git\cmd\;%PATH%
SET PATH=%GOPATH%\bin;%PATH%
SET PATH=C:\Program Files\7-Zip;%PATH%
SET PATH=C:\Program Files\cURL\bin;%PATH%
SET PATH=%CD%;%PATH%
SET /p DOMAI... | ```batchfile
SET GOPATH=%CD%\gopath
SET GATSPATH=%GOPATH%\src\github.com\cloudfoundry\cli-acceptance-tests
SET PATH=C:\Go\bin;%PATH%
SET PATH=C:\Program Files\Git\cmd\;%PATH%
SET PATH=%GOPATH%\bin;%PATH%
SET PATH=C:\Program Files\GnuWin32\bin;%PATH%
SET PATH=C:\Program Files\cURL\bin;%PATH%
SET PATH=%CD%;%PATH%
SET /... |
85ab0a82-92cf-4ad1-81fa-947ceb0b4c09 | {
"language": "Batchfile"
} | ```batchfile
@echo off
pushd %1
if exist %1\node_modules\azure-cli\bin\azure (
call npm update azure-cli
) else (
call npm install azure-cli
)
if exist %1\node_modules\kudusync\bin\kudusync (
call npm update kudusync
) else (
call npm install kudusync
)
popd
```
Fix npm install intermittent failures. | ```batchfile
@echo off
pushd %1
if exist %1\node_modules\azure-cli\bin\azure (
cmd /c npm update azure-cli
) else (
cmd /c npm install azure-cli
)
IF %ERRORLEVEL% NEQ 0 goto error
if exist %1\node_modules\kudusync\bin\kudusync (
cmd /c npm update kudusync
) else (
cmd /c npm install kudusync
)
popd
``` |
a323bba8-db9e-45a0-8cb5-89d931c5c030 | {
"language": "Batchfile"
} | ```batchfile
set projectPath=%~dp0
if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1%
set releasePath=%projectPath%\.release
mkdir "%releasePath%"
for /f "tokens=*" %%a in ('type version.txt') do set version=%%a
del "%releasePath%\shareical_%version%.zip"
"build_tools\7za.exe" a -tzip -r "%releasePath%\shar... | ```batchfile
set projectPath=%~dp0
if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1%
set releasePath=%projectPath%\.release
mkdir "%releasePath%"
for /f "tokens=*" %%a in ('type version.txt') do set version=%%a
del "%releasePath%\shareical_%version%.zip"
"build_tools\7za.exe" a -tzip -r "%releasePath%\shar... |
d6f59998-567e-46d8-a229-479c6f14a6c1 | {
"language": "Batchfile"
} | ```batchfile
call "c:\Program Files (x86)\nodejs\nodevars.bat"
call npm.cmd install grunt-contrib-compress
call npm.cmd install grunt-contrib-clean
call npm.cmd install -g grunt-cli
call grunt.cmd
```
Fix build by installing grunt | ```batchfile
call "c:\Program Files (x86)\nodejs\nodevars.bat"
call npm.cmd install grunt
call npm.cmd install grunt-contrib-compress
call npm.cmd install grunt-contrib-clean
call npm.cmd install -g grunt-cli
call grunt.cmd
``` |
b97ad665-c483-4e67-903e-0f82c4794335 | {
"language": "Batchfile"
} | ```batchfile
set CATALINA_HOME=C:\Java\apache-tomcat-7.0.47
set BREEZEJS_TEST=C:\git\Breeze\breeze.js\test\
```
Set environment variables to Jay's values | ```batchfile
set CATALINA_HOME=C:\Java\apache-tomcat-7.0.59-windows-x64\apache-tomcat-7.0.59
set BREEZEJS_TEST=C:\GitHub\breeze.js\test\
``` |
e3809e74-58ce-486f-b8b8-56ab06482133 | {
"language": "Batchfile"
} | ```batchfile
cd ..
del/q scintilla.zip
zip scintilla.zip scintilla\*.* scintilla\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res -x *.exp
cd scintilla
```
Store OS X files in zips. | ```batchfile
cd ..
del/q scintilla.zip
zip scintilla.zip scintilla\*.* scintilla\*\*.* scintilla\*\*\*.* scintilla\*\*\*\*.* scintilla\*\*\*\*\*.* -x *.o -x *.obj -x *.dll -x *.lib -x *.res -x *.exp
cd scintilla
``` |
5b47032f-a29b-4a7e-8997-c288e6751eed | {
"language": "Batchfile"
} | ```batchfile
```
Add buildtest batch file for Windows | ```batchfile
@echo off
setlocal ENABLEEXTENSIONS
set PATH=C:\MinGW\bin;%PATH%
set TEST_PY=26,30,31
set TEST_MPI=deinompi,mpich2_win,msmpi
set TEST_CC=msvc,mingw32
for %%A in (%TEST_PY%) do (
for %%B in (%TEST_MPI%) do (
for %%C in (%TEST_CC%) do (
echo --------------------------------------------------... |
a92c5701-d497-45a7-b3ec-6e00dece381d | {
"language": "Batchfile"
} | ```batchfile
@echo off
if not exist Build\mare\mare.exe call Ext\mare\compile.bat --buildDir=Build/mare --outputDir=Build/mare --sourceDir=Ext/mare/src
if not "%1"=="" (Build\mare\mare.exe %*) else Build\mare\mare.exe --vcxproj=2013
```
Move mare build directory to Build/Debug | ```batchfile
@echo off
if not exist Build\mare\mare.exe call Ext\mare\compile.bat --buildDir=Build/Debug/mare --outputDir=Build/Debug/mare --sourceDir=Ext/mare/src
if not "%1"=="" (Build\Debug\mare\mare.exe %*) else Build\Debug\mare\mare.exe --vcxproj=2013
``` |
497a630b-1c5a-4f23-b576-8604633be2db | {
"language": "Batchfile"
} | ```batchfile
@ECHO OFF
REM
REM This script generates headers for use with Visual C++ only
REM
REM Usage:
REM .\autogen.bat
REM nmake -f makefile.vc
REM
REM NOTE: DO NOT include this script in GEOS sources distribution
REM
set GEOS_HEADERS=include\geos
COPY %GEOS_HEADERS%\version.h.vc %GEOS_HEADERS%\versi... | ```batchfile
@ECHO OFF
REM
REM This script generates headers for use with Visual C++ only
REM
REM Usage:
REM .\autogen.bat
REM nmake -f makefile.vc
REM
REM NOTE: DO NOT include this script in GEOS sources distribution
REM
set GEOS_HEADERS=include\geos
COPY %GEOS_HEADERS%\version.h.vc %GEOS_HEADERS%\versi... |
211bbc21-c5a7-433c-8d85-080cbe24c563 | {
"language": "Batchfile"
} | ```batchfile
```
Add a CI build script | ```batchfile
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
msbuild /v:m /m BuildAndTest.proj /p:CIBuild=true
REM Kill any instances of VBCSCompiler.exe to release locked files;
REM otherwise future CI runs may fail while trying to delete those files.
taskkill /F /IM vbcscompiler.exe``... |
d98e87c5-9a30-4d47-8734-6e9bb1c0f336 | {
"language": "Batchfile"
} | ```batchfile
REM see README.txt
REM SET UP ENVIRONMENT VARIABLES
set KDBCODE=%cd%\code
set KDBCONFIG=%cd%\config
set KDBLOG=%cd%\logs
set KDBHTML=%cd%\html
set KDBLIB=%cd%\lib
set KDBBASEPORT=6000
set PATH=%PATH%;%KDBLIB%\w32
REM to kill it, run this:
start "kill" q torq.q -load code/processes/kill.q -proctype kill... | ```batchfile
REM see README.txt
REM SET UP ENVIRONMENT VARIABLES
set TORQHOME=%cd%
set KDBCODE=%TORQHOME%\code
set KDBCONFIG=%TORQHOME%\config
set KDBLOG=%TORQHOME%\logs
set KDBHTML=%TORQHOME%\html
set KDBLIB=%TORQHOME%\lib
set KDBBASEPORT=6000
set KDBHDB=%TORQHOME%/hdb/database
REM App specific configuration directo... |
da43d3f3-3650-48b2-a431-9d4b9a7f188d | {
"language": "Batchfile"
} | ```batchfile
nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory tools
nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
nuget install coveralls.net -Version 0.412.0 -OutputDirectory tools
.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:.\tools\NUnit.ConsoleRunner.3.6.1\tools... | ```batchfile
nuget install NUnit.ConsoleRunner -Version 3.6.1 -OutputDirectory tools
nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
nuget install coveralls.net -Version 0.412.0 -OutputDirectory tools
.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:.\tools\NUnit.ConsoleRunner.3.6.1\tools... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.