Code
When the monitor of your macOS alway frozen
Reset SMC or PRAM/NVRAM could helps.
In my data point, the second solution works for my MacBook Pro (15-inch, 2018).
Code
`type` could be the nightmare of bash completion on macOS
Every time I start a new session in my macOS, it will take a lot of time to initialize the session. After some survey, the key problem is the bash_completion
.
Code
VIM: No protocol specified
After installed vim-gnome, every time I execute "sudo vim", it will print one line
$ sudo vim # doing something, and quit it No protocol specified
Code
Install CUDA 9.2 on Ubuntu 18
CUDA is a parallel computing platform and application programming interface (API) model created by Nvidia. I am supposed to install this package in my system.
Code
Guake hangs when exit on Ubuntu 18
Guake is a dropdown terminal made for the GNOME desktop environment. Guake's style of window is based on an FPS game, and one of its goals is to be easy to reach. Recently, my new Ubuntu 18.04 LTS is meeting a bug. When I was trying to exit a shell, the Guake would hang over there, which makes this application even unable to use.
Code
Chinese Pinyin Support on Ubuntu 18
For the purpose of adding ibus-pinyin in ubuntu, we are required to make a few modification to the system.
Code
Hou, a simple toolkit for Node.js
For the purpose of providing a web service to a Node.js project to users, we may require a small middleware to start an HTTP service to handle the HTTP requests.
Code
Increase the maximum upload file size for WordPress
The default file upload size is 2M.
If we are supposed to increase the size, a few update would be required.
Code
SVMlight format
SVMlight is an implementation of Support Vector Machines (SVMs) in C. The author Thorsten Joachims designed a special input format to represent training/test data. It is also widely used by a lot of other programs.
Here is a brief introduction of the input format.
Code
SSH port forwarding
SSH port forwarding is a mechanism in SSH for tunneling application ports from the client machine to the server machine, or vice versa.
Suppose we wish to visit a port in remote but behind the firewall, we can use SSH port forwarding to bind that port into local.