-
下载质量最好的mp4+m4a合并成mp4
yt-dlp -f "bv[ext=mp4]+ba[ext=m4a]" --embed-metadata --merge-output-format mp4 "link"
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
<Configuration> | |
<MemoryInMB>8192</MemoryInMB> | |
<ProtectedClient>Enable</ProtectedClient> | |
<MappedFolders> | |
<MappedFolder> | |
<HostFolder>D:\Sandbox</HostFolder> | |
<SandboxFolder>C:\Users\WDAGUtilityAccount\Downloads</SandboxFolder> | |
<ReadOnly>true</ReadOnly> | |
</MappedFolder> | |
</MappedFolders> |
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
# Launch Windows Terminal Profiles | |
# | |
# Please refer to: | |
# https://learn.microsoft.com/zh-cn/windows/terminal/command-line-arguments?tabs=powershell | |
wt.exe ` | |
new-tab ` | |
--profile "Windows PowerShell" ` | |
--startingDirectory "C:\Users\user\Downloads" ` |
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
# PowerShell | |
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\froczh.omp.json" | Invoke-Expression | |
# Windows PowerShell | |
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\capr4n.omp.json" | Invoke-Expression |
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
ssh -o ServerAliveInterval=60 username@hostIP |
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
#!/bin/bash | |
# update apt-get and update wget ca-certificates | |
sudo apt-get update && sudo apt-get install wget ca-certificates | |
# check if there are updates available for installed packages, giving a summary report | |
# upgrade installed packages | |
# [apt update and apt upgrade](https://blog.csdn.net/CSDN_duomaomao/article/details/77802673) | |
sudo apt update && sudo apt upgrade |
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
#!/bin/bash | |
# activate base environment | |
conda activate base | |
# activate learning environment | |
# conda activate learning | |
# inspect all conda environments | |
# you can also do this by using: `conda info -e` |