Ben Chuanlong Du's Blog

It is never too late to learn.

Dataframe in JavaScript

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

https://github.com/data-forge/data-forge-ts

https://github.com/Gmousse/dataframe-js

https://arrow.apache.org/docs/js/

References

https://stackoverflow.com/questions/30610675/python-pandas-equivalent-in-javascript

Check Whether a Shell Command Exists

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

Python

shutil.which

Shell

which

Reference

  • https://stackoverflow.com/questions/11210104/check-if-a-program-exists-from-a-python-script/34177358

  • https://stackoverflow.com/questions/592620/how-to-check-if-a-program-exists-from-a-bash-script

Python for WeChat

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

ItChat A complete and graceful API for Wechat. 微信个人号接口、微信机器人及命令行微信,三十行即可 …

Tips on OpenCV

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

Installation

You can install OpenCV for Python using the following commands.

:::bash
sudo apt-get install libsm6 libxrender-dev
pip3 install opencv-python

If you use xinstall, you can install OpenCV for Python with the following single command.

:::bash
xinstall --sudo cv -ic

Tips and Traps