Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
it-tricks [2017/10/17 08:50] ufal [Editors] |
it-tricks [2017/10/17 13:06] popel |
} | } |
</code> | </code> |
| |
| ==== Colorful manpages ==== |
| Add this to your .bashrc (tested on .zshrc). Colors can be easily customized. |
| |
| <code> |
| man () { |
| env LESS_TERMCAP_mb=$'\E[01;31m' \ |
| LESS_TERMCAP_md=$'\E[01;38;5;74m' \ |
| LESS_TERMCAP_me=$'\E[0m' \ |
| LESS_TERMCAP_se=$'\E[0m' \ |
| LESS_TERMCAP_so=$'\E[38;5;246m' \ |
| LESS_TERMCAP_ue=$'\E[0m' \ |
| LESS_TERMCAP_us=$'\E[04;38;5;146m' \ |
| man "$@" |
| } |
| </code> |
| |
| ===== Plots, vector graphic ===== |
| * [[http://www.gnuplot.info/|gnuplot]] |
| * [[https://seaborn.pydata.org/|seaborn]] based on matplotlib (Python) |
| * [[https://inkscape.org/en/|inkscape]] manually draw vector graphic (or poster) |
| * [[https://en.wikibooks.org/wiki/LaTeX/PGF/TikZ|TikZ]] great for LaTeX/Beamer, offers many "plugins" |
| * [[http://pgfplots.sourceforge.net/|pgfplots]] |
| * [[http://mirrors.ctan.org/graphics/pgf/contrib/tikz-dependency/tikz-dependency-doc.pdf|tikz-dependency]] dependency trees (in one line) |
| |
===== Git ===== | ===== Git ===== |
* [[https://github.com/magicmonty/bash-git-prompt|bash-git-prompt]] shows e.g. the current branch and status. Martin Popel prefers to configure it (in bashrc) with | * [[https://github.com/magicmonty/bash-git-prompt|bash-git-prompt]] shows e.g. the current branch and status. Martin Popel prefers to configure it (in bashrc) with |
* [[http://mg.readthedocs.io/latexmk.html|latexmk]] can be used with ''-pdf -pvc'', so whenever you save a ''tex'' file, the corresponding ''pdf'' will be regenerated (and your pdf viewer will refresh). Other useful options are ''-interaction=nonstopmode -synctex=1'', see e.g. [[https://tex.stackexchange.com/questions/118489/what-exactly-is-synctex|synctex]] | * [[http://mg.readthedocs.io/latexmk.html|latexmk]] can be used with ''-pdf -pvc'', so whenever you save a ''tex'' file, the corresponding ''pdf'' will be regenerated (and your pdf viewer will refresh). Other useful options are ''-interaction=nonstopmode -synctex=1'', see e.g. [[https://tex.stackexchange.com/questions/118489/what-exactly-is-synctex|synctex]] |
* [[https://www.pdflabs.com/docs/pdftk-cli-examples/|pdftk]] for merging and splitting pdf files (and much more) from the command line | * [[https://www.pdflabs.com/docs/pdftk-cli-examples/|pdftk]] for merging and splitting pdf files (and much more) from the command line |
| * shuf |
| |