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
| ffmpeg -y -i %1 -vn -acodec libmp3lame -b:a 192k "%~n1.mp3" |
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
| @REM ffmpeg -i input.mp4 -c:v libx264 -crf 23 -preset medium -vf scale=1280:-1 -c:a copy output.mp4 | |
| ffmpeg -y -i %1 -vf scale=640:-1 "%~n1_compressed.mp4" | |
| pause |
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
| @echo off | |
| git show | |
| @REM git log -1 | |
| @REM git status --porcelain |
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
| @REM @REM Clean Code | |
| @REM start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B08X7KL3TF&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_minerva_cloudplayer_B08X7KL3TF&overrideLph=false&initialCPLaunch=true" | |
| @REM @REM Clean Architecture | |
| @REM start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B08X8L9MJZ&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_minerva_cloudplayer_B08X8L9MJZ&overrideLph=false&initialCPLaunch=true" | |
| @REM Tidy First | |
| start "" "C:\Program Files\Mozilla Firefox\firefox.exe" --name=AppName --no-remote -P "ssb" "https://www.audible.com/webplayer?asin=B0DJMT7VDP&contentDeliveryType=SinglePartBook&isSample=false&ref_=a_libraryItem_cloudplayer_B0DJMT7VDP&overrideLph=false&initialCPLaunch=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
| start "" https://dax.guide/%*/ |
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
| @echo off | |
| echo %time% | |
| setlocal | |
| @REM set TF_LOG=DEBUG | |
| for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a" | |
| IF NOT DEFINED ENV ( | |
| set ENV=qa | |
| ) | |
| IF NOT EXIST "%CD%\vars" ( | |
| echo %ESC%[33mterraform apply -lock=false -auto-approve%ESC%[0m |
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
| # Run this as Administrator | |
| Write-Host "Stopping Docker processes and services..." | |
| # Stop Docker service if exists | |
| if (Get-Service -Name "com.docker.service" -ErrorAction SilentlyContinue) { | |
| Write-Host "Stopping com.docker.service..." | |
| Stop-Service -Name "com.docker.service" -Force -ErrorAction SilentlyContinue | |
| } |
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
| @echo off | |
| for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a" | |
| call gcloud config configurations list | |
| call gcloud config configurations activate %* | |
| call gcloud config configurations list | |
| echo %ESC%[33mRun the following commands to authenticate and set up your environment:%ESC%[0m |
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
| @echo off | |
| setlocal | |
| :PROMPT | |
| SET /P ACTION=User or Password (U/[P])? || SET "ACTION=P" | |
| IF /I NOT "%ACTION%"=="U" IF /I NOT "%ACTION%"=="P" GOTO END | |
| IF /I "%ACTION%" == "U" GOTO USER | |
| IF /I "%ACTION%" == "P" GOTO PASS | |
| :PASS | |
| echo|set/p=<password>|clip | |
| GOTO END |
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
| @echo off | |
| setlocal | |
| :PROMPT | |
| SET /P ACTION=User or Password (U/[P])? || SET "ACTION=P" | |
| IF /I NOT "%ACTION%"=="U" IF /I NOT "%ACTION%"=="P" GOTO END | |
| IF /I "%ACTION%" == "U" GOTO USER | |
| IF /I "%ACTION%" == "P" GOTO PASS | |
| :PASS | |
| echo|set/p=<password>|clip | |
| GOTO END |
NewerOlder