Look inside the Gist to find the install script!
I made this script 2 years ago, so I guess the version of Kali Linux back then was the 2021.4 version.
Take the package installation with a grain of salt and adapt it to your needs.
Cheers!
REM ADAPT TO YOUR LIKING | |
REM Change Drive if needed | |
F: | |
REM Change to parent folder of the one to be synced | |
cd "F:\Documents\" | |
REM Have installed WSL in order to launch bash | |
bash -c "rsync -avzh -P --stats MyFolder/ 'user@192.168.1.20:/mnt/hdd/MyFolder'" | |
REM If another port is used | |
bash -c "rsync -avzh -P --stats --ignore-errors -e 'ssh -p 2222' MyFolder/ 'user@192.168.1.20:/mnt/hdd/MyFolder'" |
from profiler import profile_functions | |
def romanToIntPablo2022(s: str) -> int: | |
roman = {"I": 1, "V": 5, "X": 10, "L": 50, "C": 100, "D": 500, "M": 1000} | |
roman_sum = 0 | |
for index, letter in enumerate(s): | |
try: | |
if roman[letter] < roman[s[index + 1]]: | |
roman_sum -= roman[letter] |
# NodeJS Preparation | |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - | |
# Install runtime dependencies | |
RUN apt-get update && \ | |
apt-get install -y nodejs npm && \ | |
rm -rf /var/lib/apt/lists/* | |
# Install packages | |
RUN npm install @stoplight/spectral-cli @stoplight/spectral-core |
The questions and answers are taken from the The Scrum Master website.