Recently, I’m working on a project in which I use Grails to implement RESTful API back-end with the “rest-api” profile. It’s simple and works well, until the frond-end developer asks me to intergrate the front-end implementation(React with “javscript/css/font/image”) files into the back-end Grails project.
Pyenv migration
When installing a new Python version with pyenv, you may need to migrate all the installed packages from a previous Python version to the new one. For an example, I had Python 3.5.2 and installed a lot of packages with pip. After I install Python 3.6.0, I want to make the new Python have all the packages under the Python 3.5.2 version.
ReText
ReText is a simple but powerful editor for Markdown and reStructuredText markup languages written in Python.
Remove unused kernels in Ubuntu 16.04
After the Kernel is updated, the old unused kernels in Ubuntu are not removed by default. To clean them, you can do the following actions.
NVM: Node Version Manager
Grails for REST API
In the recent several days I was working on a Grails web application which provides a REST API implementation.
Using vi as a hex editor
Python generator
From here.
Gradle Wrapper
From here.
Change Ubuntu 16.04 default Chinese font
Ubuntu Xenial(16.04) uses the “Noto Sans CJK“ font for CJK language including Chinese by default. However, this font is ugly for Chinese characters. To change it, do the following steps(from here and here):
Added on 2017-10-23: This issue also exists on Ubuntu 17.10 and the fix here works as well.
Added on 2018-05-16: This issue also exists on Ubuntu 18.04 and the fix here works as well.