first commit

This commit is contained in:
Tyleo Dv. Delaware 2024-02-18 22:26:49 +01:00
commit ea618c4818
11 changed files with 374 additions and 0 deletions

4
Batch Executable file
View file

@ -0,0 +1,4 @@
--------------------------------------------------- To Learn\tyleo-Resultats-Nom du quizz.txt
Score : 0 To Learn\tyleo-Resultats-Nom du quizz.txt
Niveau : Le Testeur - Niveau 0 To Learn\tyleo-Resultats-Nom du quizz.txt
--------------------------------------------------- To Learn\tyleo-Resultats-Nom du quizz.txt

141
Batch To Learn/BaseScript.bat Executable file
View file

@ -0,0 +1,141 @@
@ECHO OFF
:head
mode con:cols=58 lines=25
title Bienvenue - STL
echo ---------
echo ------------------------
echo --------------------------------
echo --------------------------------------
echo -------------------------------------------
echo ------------------ ------------------
echo ---------------- ----------------
echo -------------- ---------------------- --------------
echo ------------- ---------------------- -------------
echo ------------- ---------------------- ------------
echo ------------ -------- ------------
echo ------------ -------- ------------
echo ------------- -------- ------------
echo ------------- -------- ------------
echo ------------- -------- -------------
echo -------------- -------- --------------
echo ---------------- -------- ----------------
echo ----------------------------------------------
echo ------------------------------------------
echo --------------------------------------
echo --------------------------------
echo ------------------------
echo ----------------------------------------------------------
echo Script To Learn - By Tyleo Dev @ 2023
timeout /NOBREAK 3 >nul
goto start
:start
mode con:cols=55 lines=8
title STL - Menu Principal
echo Bienvenue dans un des scripts de learning de Tyleo Dev.
echo -------------------------------------------------------
echo 1. Start Now
echo 2. Read the Licence
echo 3. Exit and give up
echo -------------------------------------------------------
set CHK=1
set /p CHK="Votre choix [1/2/3][default:1] : "
if "%CHK%"=="1" (
goto init
) else (
rem
)
if "%CHK%"=="2" (
goto licence
) else (
rem
)
if "%CHK%"=="3" (
exit
) else (
rem
)
goto init
:init
chcp 65001
chcp 1252
set SCORE=0
set TITLE=Nom du quizz
set SPP=-------------------------------------------------------------------------------
title %TITLE%
goto entry
:entry
setlocal ENABLEDELAYEDEXPANSION
mode con:cols=80 lines=20
echo SCORE : !SCORE!
echo !SPP!
set /p QST1="???"
if "%QST1%"=="ss" (
echo Bonne reponse ! +3 points.
set /A SCORE=!SCORE!+3
timeout /NOBREAK 2 >nul
title %TITLE% - Score : !SCORE!
) else (
echo Mauvaise Reponse...
echo Explication :
)
echo !SPP!
echo Appuyez sur une touche pour continuer.
pause >nul
cls
goto scoring-calculation
:scoring-calculation
: SCORING LEVEL
: 20+
set LVL1=Le Débutant - Niveau 1
set LVL1_required=20
: 50+
set LVL2=Le Passionné - Niveau 2
set LVL2_required=50
: 75+
set LVL3=Le Professionnel - Niveau 3
set LVL3_required=75
: 100+
set LVL4=Le Perfectionniste - Niveau 4
set LVL4_required=100
: -19
set LEVEL=Le Testeur - Niveau 0
if "!SCORE!" GEQ "!LVL1_required!" set LEVEL=!LVL1!
if "!SCORE!" GEQ "!LVL2_required!" set LEVEL=!LVL2!
if "!SCORE!" GEQ "!LVL3_required!" set LEVEL=!LVL3!
if "!SCORE!" GEQ "!LVL4_required!" set LEVEL=!LVL4!
goto end
: ZONE DE FIN
:end
title Fin du quizz !! - Scoring et Niveau
mode con:cols=51 lines=8
echo FIN DU QUIZZ - RESULTATS
echo ---------------------------------------------------
echo Score : !SCORE!
echo Niveau : !LEVEL!
echo ---------------------------------------------------
goto export
:export
echo Auteur : %USERNAME% sur %USERDOMAIN%
echo Quizz : !TITLE! > %USERNAME%-Resultats-%TITLE%.txt
echo Score : !SCORE! >> %USERNAME%-Resultats-%TITLE%.txt
echo Niveau : !LEVEL! >> %USERNAME%-Resultats-%TITLE%.txt
pause >nul
exit

141
Batch To Learn/PS-ScriptBase.bat Executable file
View file

@ -0,0 +1,141 @@
@ECHO OFF
:head
mode con:cols=58 lines=25
title Bienvenue - STL
echo ---------
echo ------------------------
echo --------------------------------
echo --------------------------------------
echo -------------------------------------------
echo ------------------ ------------------
echo ---------------- ----------------
echo -------------- ---------------------- --------------
echo ------------- ---------------------- -------------
echo ------------- ---------------------- ------------
echo ------------ -------- ------------
echo ------------ -------- ------------
echo ------------- -------- ------------
echo ------------- -------- ------------
echo ------------- -------- -------------
echo -------------- -------- --------------
echo ---------------- -------- ----------------
echo ----------------------------------------------
echo ------------------------------------------
echo --------------------------------------
echo --------------------------------
echo ------------------------
echo ----------------------------------------------------------
echo Script To Learn - By Tyleo Dev @ 2023
timeout /NOBREAK 3 >nul
goto start
:start
mode con:cols=55 lines=8
title STL - Menu Principal
echo Bienvenue dans un des scripts de learning de Tyleo Dev.
echo -------------------------------------------------------
echo 1. Start Now
echo 2. Read the Licence
echo 3. Exit and give up
echo -------------------------------------------------------
set CHK=1
set /p CHK="Votre choix [1/2/3][default:1] : "
if "%CHK%"=="1" (
goto init
) else (
rem
)
if "%CHK%"=="2" (
goto licence
) else (
rem
)
if "%CHK%"=="3" (
exit
) else (
rem
)
goto init
:init
chcp 65001
chcp 1252
set SCORE=0
set TITLE=Base-de-Scripting-Powershell
set SPP=-------------------------------------------------------------------------------
title %TITLE%
goto entry
:entry
setlocal ENABLEDELAYEDEXPANSION
mode con:cols=80 lines=20
echo SCORE : !SCORE!
echo !SPP!
set /p QST1="Dans une condition PowerShell comme d'autre langages, on commence par __ ?"
if "%QST1%"=="if" (
echo Bonne reponse ! +3 points.
set /A SCORE=!SCORE!+3
timeout /NOBREAK 2 >nul
title %TITLE% - Score : !SCORE!
) else (
echo Mauvaise Reponse...
echo Explication : On commence toujours par 'if' qui veux dire 'si' début de condition.
)
echo !SPP!
echo Appuyez sur une touche pour continuer.
pause >nul
cls
goto scoring-calculation
:scoring-calculation
: SCORING LEVEL
: 20+
set LVL1=Le Débutant - Niveau 1
set LVL1_required=20
: 50+
set LVL2=Le Passionné - Niveau 2
set LVL2_required=50
: 75+
set LVL3=Le Professionnel - Niveau 3
set LVL3_required=75
: 100+
set LVL4=Le Perfectionniste - Niveau 4
set LVL4_required=100
: -19
set LEVEL=Le Testeur - Niveau 0
if /I "!SCORE!" GEQ "!LVL1_required!" set LEVEL=!LVL1!
if /I "!SCORE!" GEQ "!LVL2_required!" set LEVEL=!LVL2!
if /I "!SCORE!" GEQ "!LVL3_required!" set LEVEL=!LVL3!
if /I "!SCORE!" GEQ "!LVL4_required!" set LEVEL=!LVL4!
goto end
: ZONE DE FIN
:end
title Fin du quizz !! - Scoring et Niveau
mode con:cols=51 lines=8
echo FIN DU QUIZZ - RESULTATS
echo ---------------------------------------------------
echo Score : !SCORE!
echo Niveau : !LEVEL!
echo ---------------------------------------------------
goto export
:export
echo Auteur : %USERNAME% sur %USERDOMAIN%
echo Quizz : !TITLE! > %USERNAME%-Resultats-%TITLE%.txt
echo Score : !SCORE! >> %USERNAME%-Resultats-%TITLE%.txt
echo Niveau : !LEVEL! >> %USERNAME%-Resultats-%TITLE%.txt
pause >nul
exit

View file

@ -0,0 +1,29 @@
:head
mode con:cols=58 lines=25
title Bienvenue - STL
echo ---------
echo ------------------------
echo --------------------------------
echo --------------------------------------
echo -------------------------------------------
echo ------------------ ------------------
echo ---------------- ----------------
echo -------------- ---------------------- --------------
echo ------------- ---------------------- -------------
echo ------------- ---------------------- ------------
echo ------------ -------- ------------
echo ------------ -------- ------------
echo ------------- -------- ------------
echo ------------- -------- ------------
echo ------------- -------- -------------
echo -------------- -------- --------------
echo ---------------- -------- ----------------
echo ----------------------------------------------
echo ------------------------------------------
echo --------------------------------------
echo --------------------------------
echo ------------------------
echo ----------------------------------------------------------
echo Script To Learn - By Tyleo Dev @ 2023
timeout /NOBREAK 3 >nul
goto init

View file

@ -0,0 +1,20 @@
:licence
title DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - STL by Tyleo
mode con:cols=67 lines=16
echo DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
echo Version 2, December 2004
echo:
echo Copyright ^(C^) 2004 Sam Hocevar ^<sam@hocevar.net^>
echo:
echo Everyone is permitted to copy and distribute verbatim or modified
echo copies of this license document, and changing it is allowed as long
echo as the name is changed.
echo:
echo DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
echo TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
echo:
echo 0. You just DO WHAT THE FUCK YOU WANT TO.
echo -------------------------------------------------------------------
echo Appuyez sur une touche pour effectuer le DAB.. euh non, continuer
pause >nul
goto init

View file

@ -0,0 +1,26 @@
:start
title STL - Menu Principal
echo Bienvenue dans un des scripts de learning de Tyleo Dev.
echo -------------------------------------------------------
echo 1. Start Now
echo 2. Read the Licence
echo 3. Exit and give up
echo -------------------------------------------------------
set CHK=1
set /p CHK="Votre choix [1/2/3][default:1] : "
if "%CHK%"=="1" (
goto init
) else (
rem
)
if "%CHK%"=="2" (
goto licence
) else (
rem
)
if "%CHK%"=="3" (
exit
) else (
rem
)
goto init

2
Batch To Learn/debug.log Executable file
View file

@ -0,0 +1,2 @@
[0323/234701.100:ERROR:registration_protocol_win.cc(107)] CreateFile: Le fichier spécifié est introuvable. (0x2)
[0323/234721.999:ERROR:registration_protocol_win.cc(107)] CreateFile: Le fichier spécifié est introuvable. (0x2)

View file

@ -0,0 +1,3 @@
Quizz : Base de scripting Powershell de scripting Powershell.txt
Score : 3 de scripting Powershell.txt
Niveau : Le Perfectionniste - Niveau 4 de scripting Powershell.txt

View file

@ -0,0 +1,3 @@
Quizz : Base-de-Scripting-Powershell
Score : 3
Niveau : Le Perfectionniste - Niveau 4

View file

@ -0,0 +1,4 @@
--------------------------------------------------- du quizz.txt
Score : 0 du quizz.txt
Niveau : Le Testeur - Niveau 0 du quizz.txt
--------------------------------------------------- du quizz.txt

1
MicroITToolbox/MITT.bat Executable file
View file

@ -0,0 +1 @@
@ECHO OFF