text
stringlengths
0
834k
IF ""%_cmd%""==""sender"" SET _cmd=slb-git-sender
IF ""%_cmd%""==""stater"" SET _cmd=slb-git-stater
IF ""%_cmd%""==""ctners"" SET _cmd=slb-win-ctners
IF ""%_cmd%""==""hyperv"" SET _cmd=slb-win-hyperv
IF ""%_cmd%""==""ichoco"" SET _cmd=slb-win-ichoco
IF ""%_cmd%""==""igpedt"" SET _cmd=slb-win-igpedt
IF ""%_cmd%""==""slperm"" SET _cmd=slb-win-slperm
IF ""%_cmd%""==""svcmgr"" SET _cmd=slb-win-svcmgr
IF ""%_cmd%""==""w10pro"" SET _cmd=slb-win-w10pro
IF ""%_cmd%""==""pthpty"" SET _cmd=slb-pthpty
IF ""%_cmd%""==""pthrem"" SET _cmd=slb-pthrem
IF ""%_cmd%""==""pthsch"" SET _cmd=slb-pthsch
IF ""%_cmd%""==""strlen"" SET _cmd=slb-strlen
IF ""%_cmd%""==""symlnk"" SET _cmd=slb-symlnk
:: default help
CALL slb-helper ""%~f0"" ""%_cmd%"" & IF DEFINED -help GOTO :eof
:: if passing /?,--help,-v ou--version as first argument,
:: use double quotes to bypass CALL help and invoke the script
SETLOCAL EnableDelayedExpansion
SET _arg=%2
IF ""!_arg!""==""/?"" CALL %_cmd% ""/?"" & GOTO :eof
IF ""!_arg!""==""--help"" CALL %_cmd% ""/?"" & GOTO :eof
IF ""!_arg!""==""-v"" CALL %_cmd% ""-v"" & GOTO :eof
IF ""!_arg!""==""--version"" CALL %_cmd% ""-v"" & GOTO :eof
SETLOCAL DisableDelayedExpansion
:: parse tail arguments and call script
SET _tail=%*
IF NOT ""%~1""=="""" CALL SET _tail=%%_tail:*%~1=%%
IF NOT ""%_cmd%""=="""" CALL %_cmd%%_tail%
ENDLOCAL & GOTO :eof
::......................................................................................................................
:::HELP:::
::
:: ScriptLib command invoker
::
:: slb [command] [-v] [/?]
::
:: (Git)
:: chkred Check git redirection warning
:: config Create git configurations
:: getter Clone projects and modules
:: lister List projects and modules
:: puller Pull projects and modules
:: scfdng Scaffold projects and modules
:: sender Save projects and modules
:: stater Check for status changes
:: updter Update projects and modules
::
:: (Windows)
:: ctners Container services installer
:: hyperv Hyper-V services installer
:: w10pro Windows 10 Pro registry key
:: ichoco Chocolatey package manager installer
:: igpedt Group policy editor installer
:: slperm Add Symlink permissions to Local Security Policy
:: svcmgr Communicates with Service Control Manager interacting with services
::
:: (System)
:: pthpty Pretty print windows environment variables (USER or SYSTEM)
:: pthrem Remove the entry from PATH that ends with input string
:: pthsch Search everything in PATH for the first occurance of a file
:: strlen Get the length of a String
:: symlnk Create NTFS (Windows) links that is usable by Windows and Cygwin
:: -v Shows the batch version
:: /? Help",39.0102040816,121,0.5668323306
303,d02d31ea97d27bfe7c5eb21ac724dd1f02a2b7ec,74,bat,Batchfile,protoc-gen-lua/plugin/protoc-gen-lua.bat,boostmerlin/toluaFrame,398f1cce5e635bd15a66673987e7af5cd057203e,['MIT'],1.0,2019-08-08T10:11:59.000Z,2019-08-08T10:11:59.000Z,protoc-gen-lua/plugin/protoc-gen-lua.bat,boostmerlin/toluaFrame,398f1cce5e635bd15a66673987e7af5cd057203e,['MIT'],,,,protoc-gen-lua/plugin/protoc-gen-lua.bat,boostmerlin/toluaFrame,398f1cce5e635bd15a66673987e7af5cd057203e,['MIT'],,,,@python E:\workspace\unity\toluaFrame\protoc-gen-lua\plugin\protoc-gen-lua,74.0,74,0.8243243243
304,d02d39990ba9a7e5ffcf3e5de3ba9877cbc16de0,293,bat,Batchfile,demos/xbox/DEMO1/demo1.bat,gbmaster/nasmx,299fac2950cb10df2afef149da6e075b3ff3cdde,['BSD-2-Clause'],18.0,2015-06-22T07:26:13.000Z,2021-09-09T19:47:44.000Z,demos/xbox/DEMO1/demo1.bat,gbmaster/nasmx,299fac2950cb10df2afef149da6e075b3ff3cdde,['BSD-2-Clause'],,,,demos/xbox/DEMO1/demo1.bat,gbmaster/nasmx,299fac2950cb10df2afef149da6e075b3ff3cdde,['BSD-2-Clause'],5.0,2015-09-22T14:47:09.000Z,2021-11-08T18:53:11.000Z,"@echo off
set file=""DEMO1""
if exist %file%.xbe del %file%.xbe
if not exist %file%.asm goto errasm
..\..\..\bin\nasm -f bin %file%.asm -o %file%.xbe
if errorlevel 1 goto errasm
dir /b /a-d
goto TheEnd
:errasm
echo _
echo Assembly Error
goto TheEnd
:TheEnd
echo _
pause
",13.9523809524,50,0.6450511945
305,d02d4e4490cd9560c8bcf2b2f777addeb1fa2318,183,bat,Batchfile,tests/test-recipes/metadata/numpy_build_run/run_test.bat,bjlittle/conda-build,ebc56f48196774301863fecbe98a32a7ded6eb7e,['BSD-3-Clause'],,,,tests/test-recipes/metadata/numpy_build_run/run_test.bat,bjlittle/conda-build,ebc56f48196774301863fecbe98a32a7ded6eb7e,['BSD-3-Clause'],,,,tests/test-recipes/metadata/numpy_build_run/run_test.bat,bjlittle/conda-build,ebc56f48196774301863fecbe98a32a7ded6eb7e,['BSD-3-Clause'],,,,"@echo on
conda list -p ""%PREFIX%"" --canonical
if errorlevel 1 exit 1
conda list -p ""%PREFIX%"" --canonical | grep ""conda-build-test-numpy-build-run-1\.0-py.._0""
if errorlevel 1 exit 1
",30.5,90,0.7049180328
306,d02d8d7a905abdf29e09e4dd43cbd6284164a5c3,1776,cmd,Batchfile,basic_EPICS_Device_Support/iocBoot/iocprng-prng/st.cmd,jeonghanlee/epics-training,4b120b554079c9d59b9f28cd48f776e5678fd073,['MIT'],,,,basic_EPICS_Device_Support/iocBoot/iocprng-prng/st.cmd,jeonghanlee/epics-training,4b120b554079c9d59b9f28cd48f776e5678fd073,['MIT'],,,,basic_EPICS_Device_Support/iocBoot/iocprng-prng/st.cmd,jeonghanlee/epics-training,4b120b554079c9d59b9f28cd48f776e5678fd073,['MIT'],,,,"#!../../bin/linux-x86_64/prng
#-