View sandbox choco
This file contains 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> | |
<VGpu>Disable</VGpu> | |
<Networking>Enable</Networking> | |
<MappedFolders> | |
<MappedFolder> | |
<HostFolder>C:\sandboxtemp</HostFolder> | |
<ReadOnly>true</ReadOnly> | |
</MappedFolder> | |
</MappedFolders> | |
<LogonCommand> |
View tutorial video compress with ffmpeg
This file contains 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
#current folder compress all video (sub folder). | |
echo START %date% %time% >> C:\zv.txt && FORFILES /s /p . /m "*.mp4" /C "cmd /c ffmpeg -i @file -vcodec h264 -acodec aac v_@file && for %I in (v_@file) do (echo @path;@fsize;%~zI) >> C:\zv.txt && del @file && ren v_@file @file" && echo ==FINISH== %date% %time% >> C:\zv.txt && rundll32 user32.dll,MessageBeep && msg "%username%" video comp done |
View vs-fast-open-github.ps1
This file contains 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
#cd D:\code\22 ==> myrepo | |
$projecttype=2 #1-) console 2-) web | |
$url="https://github.com/dodyg/practical-aspnetcore/blob/net6.0/projects/connection-info/Program.cs" | |
if($args.length -ne 0) { | |
$projecttype=$args[0] | |
$url=$args[1] | |
} | |
$pn ='del_project' #project name | |
$url = $url.replace('https://github','https://raw.githubusercontent').Replace('/blob','') |
View diff.bat
This file contains 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
@echo off | |
echo 'files : %1 %2' | |
echo 1- visual studio 2- vscode 3- winmerge | |
set /p k=Enter Num: | |
echo %id% | |
if "%k%" == "1" (goto vsu) | |
if "%k%" == "2" (goto vsc) | |
if "%k%" == "3" (goto vme) |