How-to articles, tricks, and solutions about PATH
Change composer global path (Windows)
To change the global path for Composer on Windows, you will need to update the system environment variables.
Eclipse - no Java (JRE) / (JDK) ... no virtual machine
If you see an error message in Eclipse saying "no Java (JRE) / (JDK) ... no virtual machine", it means that Eclipse is unable to find a valid Java installation on your system.
How can I find where Python is installed on Windows?
To find where Python is installed on Windows, you can follow these steps:
How can I safely create a nested directory?
To safely create a nested directory in python, you can use the os module and the makedirs function.
How do I get the filename without the extension from a path in Python?
To get the filename without the extension from a file path in Python, you can use the os.path.splitext() function.
How to get an absolute file path in Python
You can use the os.path.abspath() function to get the absolute file path of a file in Python.
How to Get the Absolute Path to the Initially Run Script in PHP
In this short snippet, you will find a reasonable and accurate solution to a common PHP: how to get the absolute path to the initially run script.
How to get the path of a running JAR file?
To get the path of a running JAR file, you can use the java.lang.Class class's getProtectionDomain method and then the getCodeSource method.
How to use glob() to find files recursively?
You can use the glob.glob() function from the glob module to search for files recursively.