Skip to content

Instantly share code, notes, and snippets.

View basham's full-sized avatar

Chris Basham basham

View GitHub Profile
@basham
basham / css-media-queries-best-practices.md
Last active December 16, 2021 08:29
CSS Media Queries: Best Practices

CSS Media Queries: Best Practices

@basham
basham / SketchSystems.spec
Last active December 13, 2019 16:50
Kiosk System &
Kiosk System &
Room device
# On enter or check in: Refresh QR code.
Idle
check in with username -> Enter username
scan QR code -> Check authentication?
Enter username
@basham
basham / SketchSystems.spec
Last active January 13, 2020 15:23
Kiosk Admin
Kiosk Admin
check in records -> Check in records
kiosks -> Kiosks
Check in records
# Filter by (and group by?):
# Campus, Care Unit, Kiosk, Service,
# Date (today, custom), Date range (this week, this semester, custom),
# Status (checked in, checked out), Student,
@basham
basham / controller.js
Created May 5, 2023 15:17
Integrate Lit's reactive controllers with React.
import { useEffect, useReducer, useRef } from 'react';
export class Controller {
#host;
constructor (host) {
this.#host = host;
host?.addController(this);
}