Ben Chuanlong Du's Blog

The messy process of learning.

ANTLR4 Tips

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

Install ANTLR4 in Ubuntu

wajig install antlr4
sudo pip3 install antlr4-python3-runtime==4.5

Dashboard Solutions

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

Redash

Docs

http://www.ehfeng.com/redash-python-functions/

https://discuss.redash.io/

Pros & Cons

Pros

  1. Redash is a great opensource alternative ...

Useful Tools in Linux

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

IceWalkers is a great place to find software/tools for all kinds of purposes.

Project Collaborating/Managment

  1. slack

  2. trello http ...

Linux Network Tools

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

Network Admin

  1. arp-scan
  2. ping
  3. netstat
  4. ip addr

    ip addr show dev eth0
    ip addr show dev eth0 | grep -i --color ...

Useful Chrome Extensions

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

A list of useful plugins for Google Chrome.

  • Proxy SwitchyOmega
  • Vimimum, Vrome (Vim-like key bindings)
  • AdBlock Plus (block ads)
  • Pocket ...

Select Columns from Structured Text Files

Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.

cut

cut -d\t -f1,3 file.txt

awk

awk -F'\t' '{print $1 "\t" $3}' file.tsv 

Unfortuantely, neither ...