UTM install windows without network
having network issue when install windows11 on UTM. (MAC M1 arm64) press Fn + Shift + F10 when starting will have a terminal window, type:
use brew to install OpenCV (support JAVA) for OSX
Current is 2022. The brew tool and pip tool could support OpenCV-4.6 very well. Use brew tool: 1, install java if needed If have error message ‘No Java Runtime present,requesting to install’, we need to complete the environment path. Use ‘temurin’ to casting from the env-path. 2, install ant before install the OpenCV library 3, …
Read more “use brew to install OpenCV (support JAVA) for OSX”
VScode Error:Could not find path to the mlint executable in the configuration file
1, make sure you have a Matlab runtime or SDK installed. 2, goto VScode File -> Preferences -> Settings -> Application -> Edit in settings.json 3, add a line into the json file. “matlab.mlintpath” : “C:\\Program Files\\MATLAB\\R2016b\\bin\\win64\\mlint.exe”,
remove all packges from pip, working with virtualenv
use command below if you want to clean the pip installed packages. install ‘virtualenv’ from python pip tool. ref: https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ create a new virtual environment folder. virtualenv [–version] [–with-traceback] [-v | -q] [–read-only-app-data] [–app-data APP_DATA] [–reset-app-data] [–upgrade-embed-wheels] [–discovery {builtin}] [-p py] [–try-first-with py_exe]
use python3.10 with certbot and nginx
Here is some scripts for certbot on with python3.10 on nginx. Target system is Ubuntu18.04. We assume nginx and apt tool have been installed in the system already. Use apt tool to get python3 if do not have python3 in system. May have to fix some link issue by using ‘ln’ command. Current latest python …
Protected: some bat files
There is no excerpt because this is a protected post.