I couldn't find instructions that were 100% complete, so I put this together.
These instructions worked fine for me. Follow each step carefully.
DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.
| #!/bin/bash | |
| set -e | |
| cecho() { | |
| color='' | |
| reset=$(tput sgr0) | |
| case "$1" in | |
| bk) color=$(tput setaf 0) ;; | |
| rd) color=$(tput setaf 1) ;; | |
| gn) color=$(tput setaf 2) ;; |
| # (Get-Clipboard) -split "`n" | .\Write-SpotifyTrackInfo.ps1 | Format-List | |
| param( | |
| [Parameter(Position = 0, Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)] | |
| [String[]]$URIs | |
| ) | |
| process { | |
| $regex = '<title>(?<Title>.+).* - .*by (?<Artist>.+) \| Spotify<\/title>' | |
| foreach ($uri in $URIs) { |
I couldn't find instructions that were 100% complete, so I put this together.
These instructions worked fine for me. Follow each step carefully.
DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.
| #!/bin/bash | |
| set -e | |
| echo 'Enter Plex update URL:' | |
| echo 'e.g. https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=debian...' | |
| read -r url | |
| wget --output-document=plex.deb --continue "${url}" |
| #!/bin/bash | |
| set -e | |
| pihole -v | |
| pihole -up |
| @echo off | |
| setlocal enabledelayedexpansion | |
| REM Convert mame folder ini file to CSV rom=value format | |
| if "%~1" equ "" ( | |
| echo Need ini filename. | |
| goto :eof | |
| ) | |
| echo "rom","value" | |
| set section= |
| goto(){ | |
| # Linux | |
| # Save this script as "aria-torrent-dl.sh" | |
| # sudo apt install aria2 --yes | |
| aria2c --continue=true --max-concurrent-downloads=5 --max-connection-per-server=4 --min-split-size=10M --split=5 --disable-ipv6=true --seed-time=0 --summary-interval=0 --console-log-level=warn $1 | |
| } | |
| goto $@ | |
| exit | |
| :(){ |
| @echo off | |
| REM | |
| REM Script to assist in downloading using yt-dlp | |
| REM | |
| REM Usage: | |
| REM youtubedl.cmd {f,m,v,list-extractors} {video_url} | |
| REM youtubedl.cmd update | |
| REM | |
| REM f = flac | |
| REM m = mkv |
| # { | |
| # "kind": "Listing", | |
| # "data": { | |
| # "after": "t3_ro8uu5", | |
| # "children": [ | |
| # { | |
| # "kind": "t3", | |
| # "data": { | |
| # "url_overridden_by_dest": "https://i.redd.it/gteuq5io5ff81.jpg", |
| @ECHO OFF | |
| SETLOCAL | |
| for /f "tokens=1,2,*" %%a in ('reg.exe query "HKEY_LOCAL_MACHINE\SOFTWARE\Artifex\GPL Ghostscript\9.55.0" /ve') do set "UAC=%%c" | |
| SET GSWIN64C=%UAC%\bin\gswin64c.exe | |
| IF NOT EXIST "%GSWIN64C%" ( | |
| ECHO Can't find %GSWIN64C% | |
| ECHO Download Windows 64 bit from https://ghostscript.com/releases/gsdnld.html |