text
stringlengths 0
834k
|
|---|
REM if defined _OLD_VIRTUAL_PATH (
|
if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1
|
set ""PATH=%_OLD_VIRTUAL_PATH%""
|
:ENDIFVPATH1
|
REM ) else (
|
if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
|
set ""_OLD_VIRTUAL_PATH=%PATH%""
|
:ENDIFVPATH2
|
set ""PATH=%VIRTUAL_ENV%\Scripts;%PATH%""
|
",23.9166666667,64,0.7386759582
|
29,d003aac286ba90e4b798467df00befed54eb6726,154,cmd,Batchfile,Mine.cmd,reddevil7nine/Win10-Initial-Setup-Script,cf862f567beb32d84d1adc098afa49a4a893584a,['MIT'],,,,Mine.cmd,reddevil7nine/Win10-Initial-Setup-Script,cf862f567beb32d84d1adc098afa49a4a893584a,['MIT'],,,,Mine.cmd,reddevil7nine/Win10-Initial-Setup-Script,cf862f567beb32d84d1adc098afa49a4a893584a,['MIT'],,,,"@powershell.exe -NoProfile -ExecutionPolicy Bypass -File ""%~dp0Win10.ps1"" -include ""%~dp0Win10.psm1"" -include ""%~dp0Win10-Mine.psm1"" -preset ""Mine.preset""",154.0,154,0.7532467532
|
30,d003ac22b57b002d2724adc32b7ff33637d03fc3,92,bat,Batchfile,co.elastic/elasticsearch/1.7.1/files/start-elasticsearch.bat,weberChristian/seu-as-code.packages,378f4d67dd115893655e83efdb74ce1d9928b366,['Apache-2.0'],8.0,2015-07-30T12:32:09.000Z,2017-09-02T09:46:57.000Z,co.elastic/elasticsearch/1.7.1/files/start-elasticsearch.bat,weberChristian/seu-as-code.packages,378f4d67dd115893655e83efdb74ce1d9928b366,['Apache-2.0'],59.0,2015-07-30T12:41:54.000Z,2020-10-16T07:28:29.000Z,co.elastic/elasticsearch/1.7.1/files/start-elasticsearch.bat,weberChristian/seu-as-code.packages,378f4d67dd115893655e83efdb74ce1d9928b366,['Apache-2.0'],36.0,2015-07-30T12:59:49.000Z,2020-09-14T11:39:03.000Z,"@echo off
|
call ./set-env.cmd
|
start %SOFTWARE_DIR%\elasticsearch-1.7.1\bin\elasticsearch.bat",23.0,62,0.7826086957
|
31,d003b3f153871a39d0bc5c9be9a504d1b741ae09,130,cmd,Batchfile,Set-Wallpaper/Set-Wallpaper-Test-Streatch.cmd,mnymic/PowerShell,ed4c51018100a5b64d994e25f6470d19ad87fe03,['MIT'],,,,Set-Wallpaper/Set-Wallpaper-Test-Streatch.cmd,mnymic/PowerShell,ed4c51018100a5b64d994e25f6470d19ad87fe03,['MIT'],,,,Set-Wallpaper/Set-Wallpaper-Test-Streatch.cmd,mnymic/PowerShell,ed4c51018100a5b64d994e25f6470d19ad87fe03,['MIT'],,,,"powershell -ExecutionPolicy RemoteSigned -Command %~dp0Set-Wallpaper.ps1 %~dp0PowerShell-Wallpaper.png -Location Streatch
|
pause",43.3333333333,122,0.8307692308
|
32,d003dab1ba27e13a7989b2c68b54f46c40229fec,76274,cmd,Batchfile,solr/bin/solr.cmd,tizianodeg/lucene-solr,8c7b709c08662d396bd12b1e352db99bb489a7da,['Apache-2.0'],1.0,2020-12-19T23:01:35.000Z,2020-12-19T23:01:35.000Z,solr/bin/solr.cmd,tizianodeg/lucene-solr,8c7b709c08662d396bd12b1e352db99bb489a7da,['Apache-2.0'],2.0,2020-12-19T22:06:27.000Z,2020-12-19T22:11:29.000Z,solr/bin/solr.cmd,tizianodeg/lucene-solr,8c7b709c08662d396bd12b1e352db99bb489a7da,['Apache-2.0'],,,,"@REM
|
@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 ""License""); you may not use this file except in compliance with
|
@REM the License. You may obtain a copy of the License at
|
@REM
|
@REM http://www.apache.org/licenses/LICENSE-2.0
|
@REM
|
@REM Unless required by applicable law or agreed to in writing, software
|
@REM distributed under the License is distributed on an ""AS IS"" BASIS,
|
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
@REM See the License for the specific language governing permissions and
|
@REM limitations under the License.
|
@echo off
|
@REM Make sure to keep line endings as CRLF for .cmd files
|
IF ""%OS%""==""Windows_NT"" setlocal enabledelayedexpansion enableextensions
|
set ""PASS_TO_RUN_EXAMPLE=""
|
REM Determine top-level Solr directory
|
set SDIR=%~dp0
|
IF ""%SDIR:~-1%""==""\"" set SDIR=%SDIR:~0,-1%
|
set SOLR_TIP=%SDIR%\..
|
pushd %SOLR_TIP%
|
set SOLR_TIP=%CD%
|
popd
|
REM Used to report errors before exiting the script
|
set SCRIPT_ERROR=
|
set NO_USER_PROMPT=0
|
REM Allow user to import vars from an include file
|
REM vars set in the include file can be overridden with
|
REM command line args
|
IF ""%SOLR_INCLUDE%""=="""" set ""SOLR_INCLUDE=%SOLR_TIP%\bin\solr.in.cmd""
|
IF EXIST ""%SOLR_INCLUDE%"" CALL ""%SOLR_INCLUDE%""
|
set ""DEFAULT_SERVER_DIR=%SOLR_TIP%\server""
|
REM Verify Java is available
|
IF DEFINED SOLR_JAVA_HOME set ""JAVA_HOME=%SOLR_JAVA_HOME%""
|
REM Try to detect JAVA_HOME from the registry
|
IF NOT DEFINED JAVA_HOME (
|
FOR /F ""skip=2 tokens=2*"" %%A IN ('REG QUERY ""HKLM\Software\JavaSoft\Java Runtime Environment"" /v CurrentVersion') DO set CurVer=%%B
|
FOR /F ""skip=2 tokens=2*"" %%A IN ('REG QUERY ""HKLM\Software\JavaSoft\Java Runtime Environment\!CurVer!"" /v JavaHome') DO (
|
set ""JAVA_HOME=%%B""
|
)
|
)
|
IF NOT DEFINED JAVA_HOME goto need_java_home
|
set JAVA_HOME=%JAVA_HOME:""=%
|
IF %JAVA_HOME:~-1%==\ SET JAVA_HOME=%JAVA_HOME:~0,-1%
|
IF NOT EXIST ""%JAVA_HOME%\bin\java.exe"" (
|
set ""SCRIPT_ERROR=java.exe not found in %JAVA_HOME%\bin. Please set JAVA_HOME to a valid JRE / JDK directory.""
|
goto err
|
)
|
set ""JAVA=%JAVA_HOME%\bin\java""
|
CALL :resolve_java_info
|
IF !JAVA_MAJOR_VERSION! LSS 8 (
|
set ""SCRIPT_ERROR=Java 1.8 or later is required to run Solr. Current Java version is: !JAVA_VERSION_INFO! (detected major: !JAVA_MAJOR_VERSION!)""
|
goto err
|
)
|
REM Select HTTP OR HTTPS related configurations
|
set SOLR_URL_SCHEME=http
|
set ""SOLR_JETTY_CONFIG=--module=http""
|
set ""SOLR_SSL_OPTS= ""
|
IF DEFINED SOLR_HADOOP_CREDENTIAL_PROVIDER_PATH (
|
set ""SOLR_SSL_OPTS=!SOLR_SSL_OPTS! -Dhadoop.security.credential.provider.path=%SOLR_HADOOP_CREDENTIAL_PROVIDER_PATH%""
|
)
|
IF NOT DEFINED SOLR_SSL_ENABLED (
|
IF DEFINED SOLR_SSL_KEY_STORE (
|
set ""SOLR_SSL_ENABLED=true""
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.