https://linux.die.net/man/1/highlight
highlight -O ansi
highlight -O xterm256
pygmentize
alias c='pygmentize -g'
Disable Jedi in IPython
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
In the meantime, looks like there is a way one can disable jedi in ipython with Completer.use_jedi: https://ipython.readthedocs.io/en/stable/config/options/terminal.html
Specifically you can …
Print Colored Text in Terminal
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://stackoverflow.com/questions/287871/how-to-print-colored-text-in-terminal-in-python
Popen - Advanced Usage of subprocess
Popen - Advance Usage of subprocess¶
Capture and handle the output of a long running process.
Fix the Issue of GitHub Pages Does Not Pick Up the Latest Changes
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
I encountered the issue that some pages pushed to my GitHub repository dclong/en does not show up when I visit the built web site. The issue was fixed by switch …
Tips on Xonsh
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://github.com/xonsh/xonsh/wiki/Cheatsheet
Tricks and Traps
-
While
$()in xonsh works similar to$()in (all variants of) shell, it cannot be used in the middle of argument of …