VirtualTam's bookmarks

  1. pactree - package dependency tree viewer

     1$ pactree python-tox | rg 'python-'
     2
     3python-tox
     4├─python-cachetools
     5├─python-chardet
     6├─python-colorama
     7├─python-filelock
     8├─python-packaging
     9├─python-platformdirs
    10├─python-pluggy
    11├─python-pyproject-api
    12│ └─python-packaging
    13└─python-virtualenv
    14  ├─python-distlib
    15  ├─python-filelock
    16  └─python-platformdirs
    
  2. An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages

  3. The format of here-documents is:

    1[n]<<[-]word
    2        here-document
    3delimiter
    

    If any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in the here-document are not expanded.

    This is useful to write scripts that:

    • write scripts (verbatim)
    • execute a sequence of commands (verbatim) on a remote host
  4.  -e      Exit  immediately  if a pipeline (which may consist of a
     single simple command),  a subshell command enclosed in parentheses,
     or one of the commands executed as part of a command list enclosed by
     braces (see SHELL GRAMMAR above) exits with a non-zero  status. 
    
     -x      After expanding each simple command, for command, case
     command, select command, or arithmetic  for  command,  display
     the  expanded value of PS4, followed by the command and its
     expanded arguments or associated word list.