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
from tqdm.rich import tqdm | |
# sys.modules['tqdm'].__dict__["tqdm"] = tqdm | |
sys.modules["tqdm.std"].__dict__["tqdm"] = tqdm |
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
\RequirePackage{xparse} | |
\DeclareDocumentCommand\materialderivative{ s o g d() } | |
{ % Total materialderivative | |
% s: star for \flatfrac flat materialderivative | |
% o: optional n for nth materialderivative | |
% g: optional (f in df/dx) | |
% d: long-form d/dx(...) | |
\IfBooleanTF{#1} | |
{\let\fractype\flatfrac} |
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
--Licensed under CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/ | |
--Add this file to C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp | |
--tree:SetItemWidget is no available unfortunatelly, which means we cannot add custom widgets to TreeItems. | |
--So we have to use this method. (only checkBoxes are supported) | |
local ui = fu.UIManager | |
local disp = bmd.UIDispatcher(ui) | |
-- create a new window | |
local win = disp:AddWindow({ |
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
# https://opensource.org/licenses/GPL-3.0 | |
import control.optimal as opt | |
import control as ct | |
import numpy as np | |
import pandas as pd | |
from numpy.typing import NDArray | |
X0 = np.array([1, 1]) | |
Tf = 1 | |
horizon = np.linspace(0, Tf, 15, endpoint=True) |
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
void LEDDisp(){ | |
for (int i = 0; i < DigitOfLED; i++) { | |
if (i == 3) { | |
LED9 = 0; | |
} else if (i == 2) { | |
LED8 = 0; | |
} else if (i == 1) { | |
LED6 = 0; | |
} else if (i == 0) { | |
LED12 = 0; |