Skip to content

Instantly share code, notes, and snippets.

View dpritchett's full-sized avatar
🦅
microservice party

Daniel Pritchett ⚡ dpritchett

🦅
microservice party
View GitHub Profile
@dpritchett
dpritchett / gist-1-help.sh-session
Created March 18, 2026 16:37
gh help-all: cobra help-all proof of concept applied to GitHub CLI
$ gh help-all --help
List all commands with their arguments and descriptions
Usage:
help-all [flags]
Flags:
-h, --help help for help-all
-v, --verbose Include all flags for each command
@dpritchett
dpritchett / demo.md
Last active March 18, 2026 16:35
filetype tester

console:

$ export HI=mom

session:

@dpritchett
dpritchett / bin-graph.cypher
Last active February 6, 2026 17:17
Cypher vs Datalog comparison for graph queries
// ============================================================================
// Cypher Example: Analyzing ~/bin script dependencies
// ============================================================================
// Cypher is a declarative graph query language. It uses ASCII-art patterns
// to describe the shape of data you're looking for in the graph.
//
// Core concepts:
// - Nodes: (variable:Label {property: value})
// - Edges: -[:RELATIONSHIP_TYPE]->
// - Patterns: Chain nodes and edges together visually
@dpritchett
dpritchett / # bbctl - 2025-01-10_13-15-12.txt
Created January 10, 2025 19:58
bbctl (bigbang/tools-public/bbctl) on macOS 15.1 - Homebrew build logs
Homebrew build logs for bigbang/tools-public/bbctl on macOS 15.1
Build date: 2025-01-10 13:15:12
[5] pry(main)> def fname_matches?(person, match_this)
[5] pry(main)* person[:fname] == match_this
[5] pry(main)* end
=> :fname_matches?
[6] pry(main)> people = [{ fname: 'daniel', lname: 'pritchett' }, { fname: 'alice', lname: 'jones' }]
=> [{:fname=>"daniel", :lname=>"pritchett"}, {:fname=>"alice", :lname=>"jones"}]
[7] pry(main)> people.select { |person| fname_matches?(person, 'daniel') }
=> [{:fname=>"daniel", :lname=>"pritchett"}]
@dpritchett
dpritchett / swagger.yaml
Created March 26, 2020 15:33
pulseox openapi3 yaml
title: User
type: object
properties:
uid:
type: string
description: Possibly received from our auth frontend.
diagnoses:
type: object
required:
- timestamp
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry and imagePullSecrets
##
# global:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
# storageClass: myStorageClass
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC75bkAbHHFRwpWZkaJoSZoka8awsGBmzEJhDBDAa0sYF2M7aBisSWFkp2cIjy9Q3ifHDlT7oEggASlvx42mStiC1pDTHAHVJXNxeAmtgTucGXCoBuaMMQ5eMgDJ5H8/WUkGLeRCWzcPUx627AlosCcK9biNTK1RJakNZKP8hWLTVllDTSjaNyc1OCb+vbV3K1L39hauffreqwoQFnZwH0ZcJa8OD74BtbHA1hbVL62NFdGGdibjg10zjz3bIP50K8HFeJN5lcfzrpuDwRfCYYYL19ujdlKaEjAE/2IpDkRwRx/+RhLeR6r1aTxMRw09R+jlcXjcf4yaZ52LmQP52NF dpritchett@hubertus-bigend
e305b49 Removes freeze branch from client workload
9c71bde Merged in DEV-1833 (pull request #127)
281ebb0 Merged in djp/add-cam (pull request #126)
3baf3d8 Adds cam to reviewers list
e3dbcf7 Merged in add-ahmee-infra-pr (pull request #125)
0b1f976 Merged in DEV-1793-autogenerate-RC-PR-for-releases-repo (pull request #124)
8cf5489 Merged in pag/add-oppslevel-yaml (pull request #123)
7578412 Merged in djp/daily-releases (pull request #122)
27fcb44 Merged in DEV-1672/disable-freeze-schedule (pull request #121)
db4b4f8 Disable autofreeze and autopr schedules
daniel_pritchett:
groups:
bitbucket:
- developers
github:
- developers
docker_hub:
- developers
logins:
bitbucket: dpritchettgremlin