Ben Chuanlong Du's Blog

It is never too late to learn.

Add Method to a Python Class

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

https://www.ianlewis.org/en/dynamically-adding-method-classes-or-class-instanc

http://block.arch.ethz.ch/blog/2016/07/adding-methods-to-python-classes/

Configure Proxy for Apt

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

Add the following lines into the file /etc/apt/apt.conf, where proxy_server is the address/ip of the server and port is the port of the proxy service.

Acquire::http …

Shortcuts for KDE

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

  1. KDE supports the Win/Super key to bring up the application launcher now. If you are on an older KDE distributions which does not have it by default, you can get …