Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Block JavaScript in Browsers Using NoScript

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

To enable NoScript synchronization via Firefox Sync go to about:config (type this in URL bar) and change noscript.sync.enabled to true.

Useful Plugins for Eclipse

Terminal Plug-in

"Terminal Plug-in" is a fully-working command-line terminal for Eclipse.

EasyShell

"EasyShell" allows to open a shell window or file manager from the popup menu in the navigation tree or editor view.

Vrapper

Vrapper provides Vim-like scheme for Eclispe. You can edit code similar as what you do in …

Install Docker

Install Docker on Debian Series of Linux Distributions

You can install Docker on Debian series of Linux distributions (Debian, Ubuntu, Linux Mint, etc.) using the following commands.

sudo apt-get update
sudo apt-get install docker.io

Configure your docker following instructions in the section Configure Docker .

Install the Latest Version of …

Transfer Files over Network in Linux

Comparison of Network Drives (Remote File System)

  1. NFS is very fast but not secure and it is for Unix/Linux only. It is a good choice for local network sharing.

  2. Samba is fast, secure and cross-platform. it is good for general purpose sharing and popular in companies.

  3. SSHFS is slow …

Concurrency and Parallel Computing in Python

The GIL is controversial because it prevents multithreaded CPython programs from taking full advantage of multiprocessor systems in certain situations. Note that potentially blocking or long-running operations, such as I/O, image processing, and NumPy number crunching, happen outside the GIL. Therefore it is only in multithreaded programs that spend …