Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
it-tricks [2017/10/12 16:22] popel |
it-tricks [2017/10/17 09:04] ufal [Other] |
||
---|---|---|---|
Line 6: | Line 6: | ||
Feel free to add your name and editor. | Feel free to add your name and editor. | ||
- | * **vim**: Ondřej Bojar, Ruda Rosa, ... | + | * **vim**: Ondřej Bojar, Ruda Rosa, Milan Straka (C++ completion, Python completion, asynchronous make), ... |
* **emacs**: ? | * **emacs**: ? | ||
+ | * **nano**: | ||
* **atom**: Martin Popel | * **atom**: Martin Popel | ||
+ | * **Kate**: Jonáš Vidra | ||
+ | * **PyCharm**: | ||
+ | ===== Bash ===== | ||
+ | * Use Bash auto-completion ('' | ||
+ | * '' | ||
+ | |||
+ | ==== Directory-local Bash history ==== | ||
+ | * Ondřej Bojar prefers to store the history in each directory in '' | ||
+ | * Note that this creates the " | ||
+ | * Ondřej Dušek (''/ | ||
+ | if [ -z " | ||
+ | export USER=`whoami` | ||
+ | fi | ||
+ | |||
+ | # Store all history with times and directories | ||
+ | function store_history () { | ||
+ | history 1 | awk '($2 !~ " | ||
+ | } | ||
+ | export PROMPT_COMMAND=" | ||
+ | |||
+ | # Grep history | ||
+ | function dhist (){ | ||
+ | DIR=`pwd` | ||
+ | command grep " | ||
+ | } | ||
+ | |||
+ | function hist (){ | ||
+ | if [ " | ||
+ | tail -n 30 ~/ | ||
+ | else | ||
+ | command grep " | ||
+ | fi | ||
+ | } | ||
+ | </ | ||
===== Git ===== | ===== Git ===== | ||
* [[https:// | * [[https:// | ||
Line 22: | Line 57: | ||
===== Other ===== | ===== Other ===== | ||
- | * When using **Perl** at ÚFAL, we recommend using [[Perlbrew]] with shared perl interpreters (different versions) and shared Perl modules (which otherwise take several hours to install). | + | * When using **Perl** at ÚFAL, we recommend using [[Perlbrew]] with shared perl interpreters (different versions) and shared Perl modules (which otherwise take several hours to install |
* See [[Python]] for using **Python** at ÚFAL. | * See [[Python]] for using **Python** at ÚFAL. | ||
* See [[internal: | * See [[internal: | ||
* You **should not turn off** Linux workstations at ÚFAL, unless really needed (or agreed with it@ufal). In that case, try the standard ways, and if they do not work, try Ctrl+Alt+SysRq+[R, | * You **should not turn off** Linux workstations at ÚFAL, unless really needed (or agreed with it@ufal). In that case, try the standard ways, and if they do not work, try Ctrl+Alt+SysRq+[R, | ||
+ | * Ondřej Bojar has implemented many [[http:// | ||
+ | * The web versions of the text utils are often older than the ones in ''/ | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * shuf | ||