Skip to content

Instantly share code, notes, and snippets.


Martin Zarate Pxtl

View GitHub Profile
Pxtl / Create-m3u.ps1
Created Dec 26, 2019
Use Powershell to create a ps1 m3u compatible with Lakka
View Create-m3u.ps1
# create an m3u from the given list of files
[Parameter(Mandatory)][string] $targetFilePath,
$targetFilePath = [IO.Path]::ChangeExtension($targetFilePath, 'm3u')
$m3uBodyArray = $sourceCuePaths | foreach-object {
Pxtl / Rename-BinCue.ps1
Created Dec 26, 2019
Rename Bin/Cue file using Powershell - designed for PS1 files
View Rename-BinCue.ps1
# for a given cue/bin pair, rename the bin file, rename the cue file with the corresponding name,
# and update the bin reference within the cue file to match
$sourceCuePath = [io.path]::ChangeExtension($sourceBinPath, 'cue')
write-verbose("sourceCuePath: $sourceCuePath")
$sourceBinName = [io.path]::GetFileName($sourceBinPath)
Pxtl / gist:3e2ef6fe5e535d6818c624011f80ba0c
Created Apr 30, 2016 — forked from lontivero/gist:593fc51f1208555112e0
Generates Markdown from VS XML documentation file
View gist:3e2ef6fe5e535d6818c624011f80ba0c
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace GithubWikiDoc