Image to Text
About It might sound kind of impossible, which probably is, at least for now to access the backend of MODDLE, however, nothing really stops us to use the current technologies that we own, which is being improved day-by-day and apply it on the frontend to abuse the MOODLE’s blocked copy the question option.
Let me get it straight, in order to get whatever you want to copy, either you have to have an access to the website’s codes (inspect elements is an option), or you have to use another logic and algorithm to copy the what you want to copy.
Generating Directory/Path Tree
In one of my previous stories, I have shared a simple Python script, which used to list all the used libraries in the .py extended, in other words, Python files, and returned the result in a requirements.txt file.
This time, even though the general principle is the same, whole project is going to be a little bit harder compared to the Python, the first reason being that we are already working Java, not Python, but the most important part is that we are going to use the recursive functions.
Requirements Generator
Whoever is into Python already knows that for the projects, which are usually shared by the public, on GitHub for instance, mostly include some general files, such as setup.py, Procfile, and of which being is the actual requirements.txt file, and this article will be about. The title already says it all, a default requirements file for everybody, so with one click everybody can get the libraries, which were used in the projects of the others to be easily downloaded and installed with some commands through the terminal as following, for example: