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
ls *.txt -recurse | get-filehash | group -property hash | where { $_.count -gt 1 } | % { $_.group | select -skip 1 } | del |
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
From: | |
Date: Wed, 12 Jun 2019 16:30:29 +0200 | |
Subject: Testing | |
Message-Id: <[email protected]> | |
To: Coductivity <[email protected]> | |
X-Unsent: 1 | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=utf-8 | |
Hello World! |
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
Param([String]$path) | |
[convert]::ToBase64String((get-content $path -encoding byte)) | |
#Onelineversion: | |
#[convert]::ToBase64String((get-content C:\Windows\Temp\aria-debug-708.log -encoding byte)) |
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
.\ffmpeg.exe -i <source> -c:v libx265 -crf 28 -an <destination> |
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
$Lookup = @{ | |
378389 = [version]'4.5' | |
378675 = [version]'4.5.1' | |
378758 = [version]'4.5.1' | |
379893 = [version]'4.5.2' | |
393295 = [version]'4.6' | |
393297 = [version]'4.6' | |
394254 = [version]'4.6.1' | |
394271 = [version]'4.6.1' | |
394802 = [version]'4.6.2' |
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
#http://askubuntu.com/questions/221026/how-can-i-batch-extract-audio-from-mp4-files-with-ffmpeg-without-decompression#221069 | |
mkdir -p output | |
# current directory has to contain at least one .mp4 file | |
for vid in *.mp4; do | |
codec="$(ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -print_format csv=p=0 "$vid")" | |
case "$codec" in | |
mp3 ) filetype=mp3 ;; | |
vorbis ) filetype=ogg ;; | |
aac ) filetype=m4a ;; | |
* ) filetype= ;; |
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
#http://askubuntu.com/questions/221026/how-can-i-batch-extract-audio-from-mp4-files-with-ffmpeg-without-decompression#221069 | |
mkdir -p outputmp3 | |
# current directory has to contain at least one .mp4 file | |
for vid in *.mp4; do | |
codec="$(ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -print_format csv=p=0 "$vid")" | |
case "$codec" in | |
mp3 ) filetype=mp3 ;; | |
* ) filetype= ;; | |
esac |
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
$packages = Get-Package -Provider Programs -IncludeWindowsInstaller | |
foreach (${package} in ${packages}) { if ($package.Name -match "Microsoft .NET Core SDK") { Write-Output $package.Name }} |
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
wget http://downloads.verapdf.org/rel/verapdf-installer.zip | |
unzip verapdf-installer.zip | |
cd verapdf-green* | |
./verapdf-install | |
echo run "java -jar ~/verapdf/bin/greenfield-apps-1.14.8.jar" |
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
ffmpeg -i source.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" destination.mp4 |
OlderNewer