Skip to content

Instantly share code, notes, and snippets.

View GarthDB's full-sized avatar
🕸️
never updating status

Garth Braithwaite GarthDB

🕸️
never updating status
View GitHub Profile
@GarthDB
GarthDB / tdiff.md
Last active August 29, 2024 23:21
S2 Foundations: color update token diff

Token Diff

Tokens added (34):

  • accent-subtle-background-color-default
  • blue-subtle-background-color-default
  • brown-subtle-background-color-default
  • celery-subtle-background-color-default
  • chartreuse-subtle-background-color-default
  • cinnamon-subtle-background-color-default
@GarthDB
GarthDB / tdiff.md
Last active August 29, 2024 23:03
S2 Foundations: color update token diff

Tokens Changed (174)

snapshot-s2-foundations | tokens-sync/patch-foundations-from-main

📝 Renamed (0)

🔼 Added (8)

  • drop-shadow-dragged-color
@GarthDB
GarthDB / AudioControl.yaml
Last active February 1, 2024 03:40
Blackmagic Camera Control openAPI REST
openapi: 3.0.1
info:
title: Audio Control API
description: API For controlling audio on Blackmagic Design Cameras
version: 0.1.0
servers:
- url: /control/api/v1
paths:
/audio/channel/{channelIndex}/input:
get:
@GarthDB
GarthDB / color.json
Created September 26, 2023 17:02
Token Types and Object Names
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color.json",
"title": "Color",
"description": "Color token schema.",
"type": "object",
"allOf": [
{
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/token.json"
}
@GarthDB
GarthDB / repositories.json
Created September 5, 2023 22:15
Repository list for Hubitat Package Manager
{
"author": "garthdb",
"gitHubUrl": "https://github.com/garthdb",
"packages": [
{
"id": "bc345262-141f-4145-bec1-a56c4788870c",
"name": "Unifi Access",
"category": "Control",
"location": "https://raw.githubusercontent.com/GarthDB/hubitat-unifi-access/main/packageManifest.json",
"description": "Control Unifi Access lock via local API",
@GarthDB
GarthDB / 01-current-structure.json
Last active May 11, 2023 16:25
Express overrides
{
"corner-radius-75": {
"sets": {
"spectrum": {
"sets": {
"desktop": {
"value": "2px"
},
"mobile": {
"value": "2px"
@GarthDB
GarthDB / css.md
Last active April 20, 2023 20:06
This is a collection of icons used in the docs for the Spectrum CSS project.
Arguments:
/Users/garthdb/.asdf/installs/nodejs/14.19.3/bin/node /Users/garthdb/.yarn/bin/yarn.js --frozen-lockfile
PATH:
/Users/garthdb/.asdf/plugins/nodejs/shims:/Users/garthdb/.asdf/installs/nodejs/14.19.3/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/garthdb/.yarn/bin:/Users/garthdb/.config/yarn/global/node_modules/.bin:/Users/garthdb/.asdf/shims:/usr/local/Cellar/asdf/0.10.2/libexec/bin:./bin:/usr/local/bin:/usr/local/sbin:/Users/garthdb/.dotfiles/bin:/Users/garthdb/.rbenv/shims:/usr/local/git/bin:/Applications/Postgres93.app/Contents/MacOS/bin:/Users/garthdb/Code/go/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/garthdb/.rvm/bin:/Users/garthdb/.rvm/bin
Yarn version:
1.22.19
Node version:
~/Spectrum/spectrum-css vrt-reference 6m 42s
❯ npm run backstop:docker:test
> [email protected] backstop:docker:test /Users/garthdb/Spectrum/spectrum-css
> backstop test --docker --config=backstop_data/backstop_test.js --env=local
BackstopJS v5.0.4
Loading config: /Users/garthdb/Spectrum/spectrum-css/backstop_data/backstop_test.js
COMMAND | Executing core for "test"
@GarthDB
GarthDB / rework-script.js
Last active September 18, 2019 22:45
Rework Metadata
const path = require('path');
const fs = require('fs');
const yaml = require('js-yaml');
const order = [
'id',
'name',
'dnaStatus',
'status',
'ignoreDNA',