Skip to content

Instantly share code, notes, and snippets.

@tuldok89
tuldok89 / azure-pipelines-architect.agent.md
Last active April 27, 2026 14:06
Azure Pipelines YAML expert

Name: Azure Pipelines YAML Architect

Purpose: The agent provides authoritative, schema-correct assistance for Azure Pipelines YAML. It generates valid Azure DevOps YAML, enforces organizational standards by reading the central pipeline template repository, validates and refactors existing YAML, and troubleshoots pipeline and agent-related issues. The agent must always produce accurate, non-hallucinated, Azure-DevOps-compatible YAML.

Tools:

  • repo_reader: Reads files from the organization’s Azure DevOps Git repository containing pipeline templates. The agent uses this tool to load template files, extract required parameters, validate user YAML against template rules, and ensure generated YAML conforms to organizational standards.

Repository: https://some-repo-here.com/repo.git

@tuldok89
tuldok89 / mcp.schema.json
Created April 27, 2026 13:28
Visual Studio MCP JSON Schema
{
"type": "object",
"title": "Model Context Protocol Servers",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"inputs": {
@tuldok89
tuldok89 / main.cpp
Created February 25, 2026 12:13
Blink the LED and RGB LED on Vcc-Gnd RP2040 Board
#include <Arduino.h>
#include <hardware/timer.h>
#include <Adafruit_NeoPixel.h>
#include <random>
bool ledVal = LOW;
repeating_timer_t timer;
repeating_timer_t rgbTimer;
Adafruit_NeoPixel rgb(1, 23, NEO_GRB + NEO_KHZ800);
std::default_random_engine gen;
@tuldok89
tuldok89 / proper.java
Last active August 3, 2025 17:59
Java Streams vs .NET LINQ
public class Main {
public static void main(String[] args) {
List<Person> people = new ArrayList<>();
people.add(new Person("Warren Buffett", 120));
people.add(new Person("Jeff Bezos", 150));
people.add(new Person("Bill Gates", 100));
people.add(new Person("Mark Zuckerberg", 50));
List<Person> hundredClub = people.stream()
@tuldok89
tuldok89 / compress.bat
Created April 21, 2025 21:06
Compress executables with 7zip-zstd and BCJ2
7z a -t7z vvv2.7z *.exe *.dll -m0=BCJ2 -m1=ZSTD:x22 -m2=ZSTD:x3 -m3=ZSTD:x3 -mb0:1 -mb0s1:2 -mb0s2:3
@tuldok89
tuldok89 / code.js
Created January 23, 2025 08:05
Regex Extractor for Google Sheets
function getField2(str, property) {
const regex = /\{(?:[^{}]|((?:\{[^{}]*\})))*\}/g;
const matches = str.match(regex);
const obj = JSON.parse(matches[0]);
return obj[property];
}
@tuldok89
tuldok89 / ethtool@.service
Created January 21, 2025 18:12
Systemd Unit to Disable Ethernet Flow Control in Linux
[Unit]
Description=Set ethtool settings for the specified NIC
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/sbin/ethtool -A %i rx off tx off autoneg off
Type=oneshot
[Install]
@tuldok89
tuldok89 / MD_Parola.h
Last active January 8, 2024 16:42
ESP8266 Clock
#pragma once
#include <MD_Parola.h>
class MD_ParolaExt : public MD_Parola
{
public:
MD_ParolaExt(MD_MAX72XX::moduleType_t mod, SPIClass &spi, uint8_t csPin, uint8_t numDevices = 1);
size_t printExt(struct tm* timeinfo, const char* format = NULL);
virtual ~MD_ParolaExt() = default;
@tuldok89
tuldok89 / bridge.json
Created September 3, 2023 05:17
docker network inspect bridge
[
{
"Name": "bridge",
"Id": "046bf8693a3bd3a5beb344a74fb1468204cdf0e82db7c98b2da86d497e8744a6",
"Created": "2023-09-03T02:07:52.3204914Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
@tuldok89
tuldok89 / kernel-sbsign.sh
Created July 17, 2023 10:17
kernel-sbsign
#!/usr/bin/env bash
kernel="$1"
[[ -n "$kernel" ]] || exit 0
# use already installed kernel if it exists
[[ ! -f "$KERNELDESTINATION" ]] || kernel="$KERNELDESTINATION"
keypairs=(/etc/refind.d/keys/refind_local.key /etc/refind.d/keys/refind_local.crt)