Stuff2

May 12, 2019

mDNS

  • mDNS即组播DNS(multicast DNS)。使用5353端口,在内网没有DNS服务器时,就会出现此组播信息。
  • mDNS主要实现了在没有传统DNS服务器的情况下使局域网内的主机实现相互发现和通信。
  • more

python -m

  • run library module as a script
  • for example, python -m SimpleHTTPServer

git submodule

  • git submodule init
  • git submodule update
  • git submodule update –init –recursive
  • GOOD example is here

non-root access /dev/ttyUSB0

  • method 1: $ sudo chmod 666 /dev/ttyUSB0
  • method 2: $ sudo usermod -aG dialout USERNAME

org mode internal archive

  • link
  • command: ort-toggle-archive-tag (, s a)