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
<# | |
.SYNOPSIS | |
Download all invoices from SOLO.COM.HR API | |
#> | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$True)] | |
[string]$Token, | |
[switch]$RefreshInvoicesList, |
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
<# | |
.SYNOPSIS | |
Use this script to fix AVI Xvid or DivX files to be playable on newer Samsung TV's | |
Do not run this script from Powershell ISE, only run from Powershell terminal window or Windows Terminal | |
Prerequisite: ffmpeg.exe in global path | |
#> | |
# if you want to backup files first before processing set this variable value to $true | |
[bool] $EnableBackup = $false |
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
<# | |
.SYNOPSIS | |
Convert PySceneDetect output CSV file to something that can be embedded in MKV or MP4 | |
.EXAMPLE | |
Frst create scenes file using PySceneDetect | |
"%~dp0tools\software\PySceneDetect\scenedetect.exe" -i "%input%" -s "%output_dir%\my_video.stats.csv" --min-scene-len 1s --merge-last-scene list-scenes -s -o "%output_dir%" detect-adaptive --threshold 7 --frame-window 100 save-images -o "%output_dir%" export-html | |
Then convert CSV to file format supported by ffmpeg or mp4box | |
for ffmpeg: | |
powershell.exe -NonInteractive -ExecutionPolicy ByPass -File "%~dp0Convert-PySceneDetectCSV.ps1" -InputFile "%~dp0output_scenedetect\%filename%-Scenes.csv" -OutputFile "%~dp0output_scenedetect\%filename%-Scenes.ffmetadata.txt" -OutputType "ffmetadata" |
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
<# | |
.SYNOPSIS | |
Install Apache Maven as user installation (no admin rights requred) | |
.EXAMPLE | |
PS C:\> .\Install-MavenUserInstall.ps1 | |
CMD C:\> powershell.exe -ExecutionPolicy ByPass -File Install-MavenUserInstall.ps1 | |
.NOTES | |
References: | |
- https://gist.github.com/FlorianLatapie/3c3125a2a371dc08991313401f04db65 |