export using:
winget export -o .\winget-export.json
import using:
winget import -i .\winget-export.json --accept-package-agreements
serach: /\*(.*?)\*/ | |
replace: //$1 |
//------------------------------------------------------------------------------ | |
void vlc_xbar_init(void) { | |
// Initialise multiplexer | |
XBARA_Init(XBARA1); | |
XBARB_Init(XBARB2); | |
// disable faults for cam1 and cam2 PWM systems so they can be enabled | |
XBARA_connect(XBAR_ENABLE, kXBARA1_OutputFlexpwm1Fault0); |
/** | |
* @author Johannes Rebling ([email protected]) | |
* @brief | |
* @date | |
* | |
* @copyright ASMPT GmbH & Co. KG, SMT R&D 34 - 2024 | |
* | |
*/ | |
#ifndef _XXX_H |
%reload_ext autoreload | |
%autoreload 2 |
export using:
winget export -o .\winget-export.json
import using:
winget import -i .\winget-export.json --accept-package-agreements
# see https://matplotlib.org/stable/gallery/subplots_axes_and_figures/mosaic.html#sphx-glr-gallery-subplots-axes-and-figures-mosaic-py | |
DPI = 100 | |
Y_HEIGHT = 800 | |
X_WIDTH = 1000 | |
fig = plt.figure(figsize=(X_WIDTH/DPI, Y_HEIGHT/DPI), dpi=DPI) | |
axDict = fig.subplot_mosaic( | |
[ | |
["a", "b"], |
# 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 |
# 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 |
--- | |
BasedOnStyle: LLVM | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveMacros: 'true' | |
AlignConsecutiveAssignments: 'true' | |
AlignOperands: 'false' | |
AllowAllArgumentsOnNextLine: 'false' | |
AllowShortBlocksOnASingleLine: 'false' | |
DerivePointerAlignment: 'false' |