Ben Chuanlong Du's Blog

And let it direct your passion with reason.

List Running Jupyter Notebook Servers

You can list running Jupyter Notebook servers using the following command.

jupyter notebook list

It works well most of the time. However, if the servers are launched using the root account (e.g., in a Docker container), you might encounter issues. In this case, a better alternative is to list …

Selectively Disable Vimperator on Webpages

You can press shift + esc to disable Vimperator on pages and insert to enable it again. This is not good solution as often times you wan to disable Vimperator on a few pages but still have it enabled on other pages. You can achieve this by configurating the ~/.vimperatorrc file …

Using Bash in Docker

If the docker container was started using /bin/bash (you can check using docker ps) command you can access it using attach.

docker attach container_name_or_id

If the docker container was started but not with /bin/bash, you have to create a bash instance inside the container using exec.

docker exec …

Start RStudio Server After Upgrading

It is quite often that the RStudio server cannot be start after upgrading. This is due to running R session in the background. A simple solution is to just restart the host machine. However, it is very risky to start servers (especially remote shared ones). An alternative way is to …

Cygwin Portable

** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **

Cygwin Portable

  1. The portable versions has some problems

    • Vim, edit mode, backspace doesn't work sometimes (identation related)
  2. Cygwin portable scroll doesn't work after Vim is opened and then closed. but if …

Scientific References

  1. JabRef is an open-source cross-plotform software for managing scientific references. Mendeley is a good cost-free cross-platform software for managing scientific references. It introduces the concept of social research.

  2. If you use bibtex in your LaTeX code, you have to compile your code using pdflatex/latex, bibtex, pdflatex/latex and pdflatex …