-
Notifications
You must be signed in to change notification settings - Fork 1
tips
Any file or folder that begin with a period .
are "hidden". To see them, open your file browser (Files), and press Ctrl + H. Pressing Ctrl + H again will hide them again.
- Press Ctrl + Alt + T
- Click the terminal icon on the start menu
- Right-click in any folder in the Files browser and select "Open in terminal"
- When typing in a terminal, you can use the arrows on the keyboard to go up/down in the history of commands you already typed. THis is especially convenient to restore long commands you previously wrote.
- Pressing
Tab
on the keyboard will auto-complete commands and file paths. Try writing justcd Co
and then pressTab
. It will autocomplete your command intocd Code
if you already created theCode
folder. This is very useful when you need to type paths to specific files or folders and you'd like top make sure the path is correct.
You can open multiple tabs (just like when you serf the internet in a browser like Firefox) in your Files browser window. This is very convenient when working with two or more locations simultaneously instead of changing folders back and forth. Just press Ctrl + T in a Files browser window to open a new tab.
To profile how much time a Python program (like RMG or ARC) spends on each function call, have anaconda:graphviz and conda-forge:gprof2dot on your env, call the software with -m cProfile -o profiling.txt
(e.g., python -m cProfile -o profiling.txt ~/Code/ARC/ARC.py input.yml
), then create a .dot file by typing gprof2dot -f pstats profiling.txt -o callingGraph.dot
, and finally convert the .dot file into a graphics file by doing dot -Tps callingGraph.dot -o outfile.ps
.
Consider using ColorBrewer to select print-friendly and color-blind-safe colors for your graphics.