Skip to content

Instantly share code, notes, and snippets.

View mtemel123's full-sized avatar
🎯
Focusing

Mehmet mtemel123

🎯
Focusing
View GitHub Profile
2022-05-02 https://slideshare.net
||http://public.slidesharecdn.com/v2/images/slideshow/scribd_ads/slideshare_logo.svg$image
http://slideshare.net##.scribd-ad-modal-wrapper
http://slideshare.net###scribd-ad-exit-modal
http://slideshare.net##.limit-overlay
import this tab
chrome-extension://cjpalhdlnbpafiamejdnhcphjbkeiagm/dashboard.html#1p-filters.html
https://ibb.co/kKHfRvS
@mtemel123
mtemel123 / diff.bat
Created July 11, 2022 01:38
drag-drop file different
@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)
#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','')
@mtemel123
mtemel123 / tutorial video compress with ffmpeg
Last active January 24, 2023 04:23
1$=18 TL. cant take new hdd :)
#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
<Configuration>
<VGpu>Disable</VGpu>
<Networking>Enable</Networking>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\sandboxtemp</HostFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>