This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %reload_ext autoreload | |
| %autoreload 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # create new empty env | |
| conda create --name myenv | |
| # export currently activated env to environment.yml without prefixes etc | |
| conda env export --from-history | findstr -v "prefix" > environment.yml | |
| # install environment based on such a environment.yml | |
| conda env create -f environment.yml | |
| # or even better, using Mamba |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # simple effects | |
| $BOLD = "`e[1m" | |
| $UNDERLINED = "`e[4m" | |
| # simple colors | |
| $RED = "`e[31m" | |
| $GREEN = "`e[32m" | |
| # RGB colors | |
| $METER_BLUE = "`e[38;2;34;98;147m" # 0x22 0x62 0x93 == 34 98 147 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| BasedOnStyle: LLVM | |
| AlignAfterOpenBracket: Align | |
| AlignConsecutiveMacros: 'true' | |
| AlignConsecutiveAssignments: 'true' | |
| AlignOperands: 'false' | |
| AllowAllArgumentsOnNextLine: 'false' | |
| AllowShortBlocksOnASingleLine: 'false' | |
| DerivePointerAlignment: 'false' |
NewerOlder