Ben Chuanlong Du's Blog

It is never too late to learn.

Hands on SQLite3

Tips and Traps

  1. Do NOT use SQLite3 on network filesystems (NFS, SAMBA, etc).

  2. .schema show create statement of a table

  3. You can force query to keep the original order of rows by applying order by rowid.

  4. SQLite3 supports full-text search by the FTS5 extension (since 3.9.0). It is suggested that you use the porter

Hands on the requests Module in Python

Comments

  1. It is suggested that you use the requests module instead of urllib unless you want to have minimal 3rd-party dependencies.

  2. Response.raise_for_status is a convenient method for raising an exception corresponding to the HTTP status code.

Generate Static Site Using Pelican

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

  1. \$ need to be escaped

  2. For the latex plugin, equation align environment works but need to use \newline in stead of \\.

Some Good Themes

https://github.com/Pelican-Elegant/elegant

https://github.com …