Remove the Commits Locally If you only want to remove the last commit, If you want to remove more than one, for example, 2 commits, […]
A Severe Memory Leak in App ShadowsocksX-NG-R
Github repository releases: https://github.com/leadscloud/ShadowsocksX-NG-R/releases. The issue, hundreds of threads called nettop is created and take a lot of memory after about only half an hour. […]
How to Setup Venv on Zsh in macOS
For example, if I want to create a Virtual Environment called opencv.
Compile 5.4.2 Linux Kernel with a new Syscall for Ubuntu 18.04 in VMWare
In this example I will use Ubuntu 18.04 LTS(AMD64) Desktop with Linux 5.0.0 Kernel and the 5.4.2 Kenel source file as an example to build […]
Classification Algorithms in Machine Learning
Decision Trees Naive Bayes Linear Discriminant Analysis k-Nearest Neighbors Logistic Regression Neural Networks Supoort Vector Machines(SVM) K-Nearest Neighbors Multi-class classifier: A classifier that can predict […]
Compile a Linux Kernel Module
Makefile If you have a file, say, traverse.o, then your Makefile should be like the following What $(shell uname -r) basically does is that it […]
Intro to ML & Regression – IBM at Coursera
These are the notes I took when learning Week 1 & 2 of the course Machine Learning with Python at Coursera.
Debug C++ Programs with GDB – Single-Threaded & Multi-Threaded
There is also an example program on my GitHub, the text version of the tutorial is also available at: https://github.com/Bill0412/solve-traffic-deadlock References
WSS(Secure Websockt) – Fix NET::ERR_CERT_REVOKED using certbot
This is because you do not have a proper certificate as in the case of HTTPS. To quickly solve it you can use the certbot. […]
ssl.SSLError: [SSL] PEM lib (_ssl.c:3824) – Python Websockets SSL Error Solution
The Error Python Secure Web Socket Source Code That’s where the localhost.pem required. Solution I changed the way that I generate the localhost.pem file Original […]