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
| """MCP CSV Server - Tools for querying and manipulating CSV files.""" | |
| __version__ = "0.1.0" |
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.Runtime.InteropServices; | |
| using Silk.NET.Core.Native; | |
| using Silk.NET.Direct2D; | |
| using Silk.NET.Maths; | |
| using Silk.NET.DXGI; | |
| using D2DAlphaMode = Silk.NET.Direct2D.AlphaMode; | |
| using D2DFeatureLevel = Silk.NET.Direct2D.FeatureLevel; | |
| unsafe class Program |
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.Runtime.InteropServices; | |
| using System.Threading; | |
| using System.Windows; | |
| using System.Windows.Interop; | |
| using System.Windows.Media; | |
| using System.Windows.Threading; | |
| namespace TransparentOverlay |
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
| void Main() | |
| { | |
| // Read the file and get the root PdxObject. | |
| PdxObject root = MageeSoft.PDX.CE.PdxSaveReader | |
| .Read(File.ReadAllText(@"D:\paradox-clausewitz-sav\SRC\MageeSoft.PDX.CE.Models\gamestate.csf").AsSpan()); | |
| root.Dump(); | |
| // Process the PdxObject structure into a schema. | |
| var schema = Schema.From(root, "GameState"); |
This file has been truncated, but you can view the full file.
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
| // <auto-generated/> | |
| #nullable enable | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using MageeSoft.PDX.CE; | |
| namespace MageeSoft.PDX.CE.Models | |
| { |
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
| aws cname: "AWS CNAME" { | |
| description: |md | |
| api.example.com with an imperva dns | |
| | | |
| } | |
| imperva: "WAF" { | |
| description: |md | |
| WAF to protect against bots, attacks | |
| Forward traffic to APIGEE |
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 Microsoft.SemanticKernel; | |
| using Microsoft.SemanticKernel.ChatCompletion; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| public class DigitalEvidence | |
| { | |
| public required string Type { get; set; } // SMS, Email, CallLog, GPS, etc. |
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.Net.Http; | |
| using System.Text.Json; | |
| using System.IO; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| // MediaWiki API URL | |
| string wikiApiUrl = "https://www.poe2wiki.net/w/api.php"; | |
| string outputDirectory = @"D:\poe2dump\"; // Output directory |
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
| // This file is generated by DaggerSDK.SourceGenerator | |
| #nullable enable | |
| using System.Text.Json.Serialization; | |
| /// <summary> | |
| /// The `Boolean` scalar type represents `true` or `false`. | |
| /// </summary> | |
| [JsonConverter(typeof(ScalarIdConverter<Boolean>))] | |
| public partial class Boolean : Scalar | |
| { |
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
| echo "Initializing the GraphQL schema..." | |
| $authHeader = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("${env:DAGGER_SESSION_TOKEN}:")) | |
| dotnet graphql init ` | |
| --headers "content-type=application/json" ` | |
| --headers "Authorization=Basic $authHeader" ` | |
| --clientName DaggerClient ` | |
| "http://127.0.0.1:${env:DAGGER_SESSION_PORT}/query" |
NewerOlder