Skip to content

Instantly share code, notes, and snippets.

View JerrettDavis's full-sized avatar
🤠
Howdy!

JD Davis JerrettDavis

🤠
Howdy!
View GitHub Profile
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"os/user"
"path/filepath"
"strings"
openapi: 3.1.0
info:
title: Ollama API
description: API for interacting with the Ollama service.
version: 1.0.0
servers:
- url: http://{host}:{port}
description: Ollama API server
variables:
host:
{"schemaVersion":1,"label":"Unit Test Coverage","message":"85.73%","color":"brightgreen"}
// Type: DataFileMapper.BusConfigComparer
// Assembly: DataFileMapper, Version=0.0.1.0, Culture=neutral, PublicKeyToken=null
// MVID: 640C1268-B131-4899-988A-11694B5212FB
// Location: C:\Users\jd\source\repos\DataFileMapper\DataFileMapper\bin\Release\netcoreapp3.1\DataFileMapper.dll
// Sequence point data from C:\Users\jd\source\repos\DataFileMapper\DataFileMapper\bin\Release\netcoreapp3.1\DataFileMapper.pdb
.class public auto ansi beforefieldinit
DataFileMapper.BusConfigComparer
extends [System.Runtime]System.Object
{
param (
[string]$branch = "refs/heads/master",
[string]$branch_is_default = "true",
[string]$build_number = "0",
[bool]$search_project_for_version = $False
)
function Update-AssemblyVersion {
param ([string]$version)
Write-Host "Updating AssemblyVersion..."
import java.util.Arrays;
import java.util.regex.*;
public class Parser {
public Parser() {
}
public static String[] getValues(String dson, String property) {
@JerrettDavis
JerrettDavis / gist:9884756
Created March 31, 2014 03:31
Red Black Tree
package collections;
import collections.BinarySearchTree.Node;
public class RedBlackBST<E extends Comparable<E>> {
private static final int RED = 0;
private static final int BLACK = 1;
Node root;