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
param ( | |
[int]$Frequency = 32767, # Beep frequency (37 to 32767) | |
[int]$Duration = 35, # Beep duration in milliseconds. | |
[int]$Interval = 240 # Beep interval in seconds (delay between beeps) | |
) | |
$FrequencyKHz = $Frequency / 1000 | |
Write-Output "Simulating a ${Duration}ms ${FrequencyKHz}kHz beep every $Interval seconds." | |
# Infinite loop to produce beeping sound and timestamp |
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
function Show-BalloonTip { | |
param ( | |
[string]$Title, | |
[string]$Text, | |
[ValidateSet('Error', 'Info', 'None', 'Warning')] | |
[string]$IconType = 'None', | |
[int]$Duration = 20000 | |
) | |
Add-Type -AssemblyName System.Windows.Forms |
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
@echo off | |
:start | |
title llama.cpp | |
setlocal EnableDelayedExpansion | |
echo Llama Loader v0.3 by ljredux | |
echo An asterisk signifies the model which was previously loaded. | |
echo. | |
if exist selected_model.txt ( |