Ben Chuanlong Du's Blog

It is never too late to learn.

Generating a Self-Signed SSL

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

https://stackoverflow.com/questions/10175812/how-to-create-a-self-signed-certificate-with-openssl

https://www.linode.com/docs/security/ssl/create-a-self-signed-tls-certificate/

https://www.ibm.com/support/knowledgecenter/en/SSWHYP_4.0.0/com.ibm.apimgmt.cmc.doc/task_apionprem_gernerate_self_signed_openSSL.html …

Tips on Jupyter Binder

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

  1. By default a Jupyter notebook server is shown. You can manually switch to the JupyterLab server by changin tree to lab? in the URL. For more details, please refer to binder-examples …

Disable Jedi in IPython

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

In the meantime, looks like there is a way one can disable jedi in ipython with Completer.use_jedi: https://ipython.readthedocs.io/en/stable/config/options/terminal.html

Specifically you can …

Print Colored Text in Terminal

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

https://stackoverflow.com/questions/287871/how-to-print-colored-text-in-terminal-in-python

Tips on Xonsh

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

https://github.com/xonsh/xonsh/wiki/Cheatsheet

Tricks and Traps

  1. While $() in xonsh works similar to $() in (all variants of) shell, it cannot be used in the middle of argument of …