Ben Chuanlong Du's Blog

It is never too late to learn.

Named Parameters in TypeScript

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

https://github.com/Microsoft/TypeScript/issues/467

JavaScript Alternatives to Shell

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

https://github.com/shelljs/shelljs

https://tutorialedge.net/javascript/nodejs/executing-shell-scripts-with-nodejs/

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

Vim Keybindings Using IdeaVim in IntelliJ IDEA

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

  1. Put the line set surround into your ~/.ideavimrc to make IdeaVim support surround.

Issues

  1. yssb, yss), etc. do not work well currently.

References

  • https://github.com/JetBrains/ideavim

  • https://youtrack.jetbrains …