Ben Chuanlong Du's Blog

And let it direct your passion with reason.

Install Newer Version of SQLite3 on Debian Jessie

  1. Open /etc/apt/sources.list and add the following line to the end.

    deb http://www.backports.org/debian jessie-backports main contrib non-free
    

    or

    deb http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
    deb-src http://ftp.us.debian.org/debian/ jessie-backports main contrib non-free
    
  2. Make sure the GPG …

Mount NTFS Drive Manually on Mac

  1. First use diskutil list to list all avaiable disks and identifiy the external hard drive to mount. For example, running diskutil list on my Mac gives me the following output and /dev/disk2s1 is the partition (NTFS) to mount.

    $ diskutil list
    /dev/disk0 (internal):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme …

Make Windows Restart Regularly

My Windows PC in my office slows down signficantly after running for several days. I have cleaned up the startup applications to the most I can. The only way I can think of is to automatically restart the computer early morning every few days. The article [Windows10] How to set …

Install Python Packages Behind Firewall

It is recommended that you use pip to install Python packages.

  1. If you don't already know the proxy in use (in your company), read the post Find out Proxy in Use to figure it out.

  2. Set proxy environment variables.

    set http_proxy=http://user:password@proxy_ip:port
    set https_proxy=https://user …

Synchronization and Backup Solutions

Tips and Traps

  1. Almost all sychronization tools have problems with symbolic links. Most of them just ignore symbolic links. This makes sense as following symbolic links can causes serious disk problems. If not followed then symbolic links are likely broken on other device. The simple suggestion is do not place …