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 -Modules Pester | |
| Describe "Model Parsing Tests" { | |
| BeforeAll { | |
| # Import the main script functions | |
| . $PSScriptRoot\..\Test-OpenCodeProviders.ps1 | |
| } | |
| Context "Array Indexing with Where-Object" { | |
| It "Should return array even with single match" { |
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
| # PowerShell script to import LMStudio GGUF models into Ollama | |
| param( | |
| [string]$LMStudioPath = "E:\Development\aigpt\lmstudio-models", | |
| [int]$MaxConcurrency = 4 | |
| ) | |
| function Write-Status { | |
| param([string]$Message, [string]$Color = "White") | |
| Write-Host $Message -ForegroundColor $Color | |
| } |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <meta-runner name="Deploy: Azure App Service - FTP"> | |
| <description>Deploy to Azure app service via FTP.</description> | |
| <settings> | |
| <parameters> | |
| <param name="app-service.deployUsername" value="" /> | |
| <param name="app-service.name" value="" /> | |
| <param name="deploy.source.dir" value="**" /> | |
| <param name="app-service.resource-group" value="" /> | |
| <param name="app-service.slotName" value="" spec="select data_5='qa' label_5='QA' label_3='UAT' data_7='production-2' display='normal' label_7='Production' data_1='dev' label_1='Development' data_3='uat'" /> |
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
| //Run this from your twitter account's following page: https://twitter.com/following | |
| //if you have more than a scroll-page worth of following, keep scrolling so they load... | |
| //but I wouldn't attempt to process more than a few hundreds at a time. | |
| //load up the console (F12), and execute the following: | |
| jQuery("div.GridTimeline").find("button.user-actions-follow-button span.following-text:visible").click() |
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
| using System; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.Http.Filters; | |
| public class RouteDiagnosticsFilter : ActionFilterAttribute | |
| { | |
| public override void OnActionExecuted(HttpActionExecutedContext pActionContext) | |
| { |
NewerOlder