Skip to content

Instantly share code, notes, and snippets.

# Ensure ffmpeg is accessible via PATH or specify the full path to ffmpeg.exe
$ffmpegPath = "ffmpeg" # Replace with full path if necessary, e.g., "C:\Tools\ffmpeg\bin\ffmpeg.exe"
# Get all .ass files in the current directory
$assFiles = Get-ChildItem -Path "." -Filter "*.ass"
foreach ($assFile in $assFiles) {
$inputFile = $assFile.FullName
$outputFile = [System.IO.Path]::ChangeExtension($inputFile, ".srt")
@AllySummers
AllySummers / bazarr.nginx
Last active May 6, 2024 15:34
emmy nginx
server {
# Redirect to SSL
set $bazarr_server_name bazarr.emmy.casa;
server_name $bazarr_server_name;
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
}
{
"extends": [
"plugin:@nrwl/nx/react",
"../.eslintrc.json"
],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"parserOptions": {