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
|
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
{ | |
"type": "excalidrawlib", | |
"version": 1, | |
"library": [ | |
[ | |
{ | |
"type": "rectangle", | |
"version": 152, | |
"versionNonce": 1755960817, | |
"isDeleted": false, |
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
{ | |
"type": "excalidrawlib", | |
"version": 1, | |
"library": [ | |
[ | |
{ | |
"type": "rectangle", | |
"version": 152, | |
"versionNonce": 1755960817, | |
"isDeleted": false, |
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://github.com/tldr-pages/tldr/blob/master/pages/common/ffmpeg.md | |
Video to GIF | |
SET filters="fps=%4,scale=%3:-1:flags=lanczos" | |
ffmpeg -v warning -i %1 -vf "%filters%,palettegen" -y palette.png | |
ffmpeg -v warning -i %1 -i palette.png -lavfi "%filters% \[x\]; \[x\]\[1:v\] paletteuse" -y %2 | |
DEL palette.png | |
togif.bat <input.mp4> <output.gif> <width> <fps> | |
Extract audio from a video |
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
red=`tput setaf 1` | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
echo "${green}${green}creating project shell${reset}" | |
ng new ui --skip-install=true --routing=true --style=scss --skip-git=true --create-application=false --commit=false --verbose=true | |
cd ui | |
echo "${green}creating admin projectl${reset}" |
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
esphome: | |
name: ld2410-esp32 | |
friendly_name: ld2410-esp32 | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging |
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
import MSAL | |
func acquireTokenInteractively() { | |
guard let applicationContext = self.applicationContext, | |
let webViewParameters = self.webViewParameters else { | |
return | |
} | |
let parameters = MSALInteractiveTokenParameters(scopes: ["User.Read"], webviewParameters: webViewParameters) | |
parameters.promptType = .selectAccount |
OlderNewer