Ben Chuanlong Du's Blog

It is never too late to learn.

Snappy Apps

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

Available commands for snap:

abort Abort a pending change ack Adds an assertion to the system alias Enables the given aliases aliases Lists aliases in the system buy Buys a snap …

Tips on VPN

** Things on this page arefragmentary and immature notes/thoughts of the author. It is not meant to readersbut rather for convenient reference of the author and future improvement. **

  1. You might have difficulties to visit some web pages when you are using VPN. This is probably because the location set by …

Tips on MySQL

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

sudo service mysql restart
mysqladmin -u root -p variables | grep port

mysqladmin --help list the locations of my.cnf.

mysqladmin --help

Python Packages

  1. peewee

  2. PyMySQL

  3. MySQLdb

References

Rising of the Julia Programming Language

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

Array with Customized Index

https://docs.julialang.org/en/latest/devdocs/offset-arrays/

https://medium.com/analytics-vidhya/0-based-indexing-a-julia-how-to-43578c780c37

https://www.reddit.com/r/Julia/comments/7btmwr/zero_based_indexing_examples/

References

Tips on VNC

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

  1. it seems that VNC is very unsecure, the password can be at most 8 characters. My Ubuntu has been hacked into by vnc multiple times. Fortunately, I'm using Linux system. Avoid …

Tips on LaTeX

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

  1. exceltex ... input from excel ...

  2. keep each line short, being a part of sentence, this makes it easier to modify LaTeX code

  3. bibtex: never skip city for book type!!!

  4. bibtex: use volume …