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
<# | |
.SYNOPSIS | |
Lazy Conversion Script for StreamDeckAudio | |
.DESCRIPTION | |
This script converts Stream Deck audio files from ".streamDeckAudio" to WAV format. | |
.AUTHOR | |
Simon Lee | |
Twitter: @smoon_lee |
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
# Import PowerShell Modules | |
Import-Module -Name 'Posh-Git' | |
Import-Module -Name 'PSReadLine' | |
Import-Module -Name 'Az.Accounts' | |
# Define PSReadLine Configuration | |
Set-PSReadLineOption -PredictionSource History # https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.3#-predictionsource | |
Set-PSReadLineOption -PredictionViewStyle ListView # https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.3#-predictionviewstyle | |
Set-PSReadLineOption -EditMode Windows # https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.3#-editmode | |
Set-PSReadLineOption -HistoryNoDuplicates:$Ture #https://learn.microsoft.com/en-us/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.3#-historynoduplicates |
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
# Load the System.Drawing assembly | |
Add-Type -AssemblyName System.Drawing | |
# Prompt the user for a hex color code | |
$hex = Read-Host "Enter a hex color code (e.g. #FF0000)" | |
# Remove the '#' character from the beginning of the hex code, if present | |
if ($hex.StartsWith("#")) { | |
$hex = $hex.Substring(1) | |
} |
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
name: Test Code - Version Check | |
on: | |
workflow_dispatch | |
jobs: | |
Job: | |
name: Checkout code | |
runs-on: ubuntu-latest |
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
name: Test Code - Version Check | |
on: | |
workflow_dispatch | |
jobs: | |
Job: | |
name: Checkout code | |
runs-on: ubuntu-latest |
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
name: Test Code - Version Check | |
on: | |
workflow_dispatch | |
jobs: | |
Job: | |
name: Checkout code | |
runs-on: ubuntu-latest |
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
name: Update Docker Container (Manual Trigger) | |
on: | |
workflow_dispatch | |
jobs: | |
get_package_version: | |
name: Get Package Version | |
runs-on: ubuntu-latest | |
outputs: |
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
name: Update Docker Image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update_docker_image: | |
name: Update Docker Image |
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
name: Update Docker Image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update_docker_image: | |
name: Update Docker Image |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"newline": true, | |
"segments": [ | |
{ | |
"background": "#d75f00", | |
"foreground": "#f2f3f8", |
OlderNewer