This file contains hidden or 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
#Requires -Version 7.2 | |
cd "psx" | |
ls .\multi-disc\ -Directory | % { | |
((ls -LiteralPath $_ -Include *.chd | Resolve-Path -Relative) -replace "\\","/").substring(2) | | |
out-file -encoding utf8NoBOM -literalpath "$($_.BaseName).m3u" | |
} |
This file contains hidden or 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
accessibility_enable = "false" | |
accessibility_narrator_speech_speed = "5" | |
ai_service_enable = "true" | |
ai_service_mode = "0" | |
ai_service_pause = "true" | |
ai_service_source_lang = "6" | |
ai_service_target_lang = "1" | |
ai_service_url = "http://ztranslate.net/service?api_key=" | |
all_users_control_menu = "true" | |
android_input_disconnect_workaround = "true" |
This file contains hidden or 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
<#PSScriptInfo | |
.VERSION 0.1.0 | |
.GUID 0fbb9235-e965-40c4-8b57-f85cfb19f823 | |
.AUTHOR Luan Vitor Simião Oliveira | |
.COPYRIGHT Luan Vitor Simião Oliveira | |
.TAGS chd convert iso cue gdi 7z | |
.LICENSEURI https://creativecommons.org/licenses/by/4.0/ | |
.PROJECTURI https://gist.github.com/LuanVSO/d3e8dca9ad89e6e3b9b83fdc6dc5f0d4 | |
.RELEASENOTES initial version | |
#> |
This file contains hidden or 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
__wt_osc9_9 () { | |
_win_path=$(wslpath -m "$(pwd)") | |
printf "\033]9;9;\"%s\"\033\\" "$_win_path" | |
} | |
[ -n "$BASH_VERSION" ] && [ -n "$WT_SESSION" ] && PROMPT_COMMAND="__wt_osc9_9" | |
[ -n "$ZSH_VERSION" ] && [ -n "$WT_SESSION" ] && | |
if ((!precmd_functions[(I)__wt_osc9_9])) ; then | |
precmd_functions+=(__wt_osc9_9) | |
fi |
This file contains hidden or 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
__wt_osc9-9 () { | |
_win_path="$(cygpath -m $(pwd))" | |
printf "\033]9;9;\"%s\"\033\\" "$_win_path" | |
} | |
[ -n "$BASH_VERSION" ] && [ -n "$WT_SESSION" ] && PROMPT_COMMAND="__wt_osc9-9" |
This file contains hidden or 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
#you have to put this in $profile or $profile.currentuserallhosts | |
$esc = [char]27 | |
if($env:WT_SESSION){ | |
$prevprompt = $Function:prompt | |
function prompt { | |
if ($pwd.provider.name -eq "FileSystem") { | |
$p = $pwd.ProviderPath | |
Write-host "$esc]9;9;`"$p`"$esc\" -NoNewline | |
} |
This file contains hidden or 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
setx PROMPT $E]9;9;"$P"$E\$P$G |
This file contains hidden or 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
setx PROMPT $E]7;file://%%COMPUTERNAME%%/$P$E\$P$G |