Skip to content

Instantly share code, notes, and snippets.

View edsilv's full-sized avatar

Edward Silverton edsilv

View GitHub Profile
@edsilv
edsilv / LICENSE.md
Last active November 29, 2024 15:28
Custom License Agreement

Custom License Agreement

This agreement ("License") governs the use of the Licensed Software and is between the Licensor and the Licensee. By accessing or using the Licensed Software, the Licensee agrees to the terms outlined below.


1. License Grant

The Licensor grants the Licensee a non-exclusive, non-transferable license to:

  • Use, modify, and deploy the Licensed Software for internal purposes, including testing, development, and other non-commercial activities.
@edsilv
edsilv / presentation4.json
Created September 20, 2023 13:53
presentation4.json
{
"@context": "http://iiif.io/api/presentation/4/context.json",
"id": "https://example.org/iiif/3d/manifest",
"type": "Manifest",
"label": {
"en": ["I am 3D"]
},
"behavior": ["some", "new", "behaviors", "probably"],
"items": [{
"id": "https://example.org/iiif/scene1",
@edsilv
edsilv / uv-iiif-content-state-example.md
Created September 15, 2023 09:57
Universal Viewer IIIF Content State Example
@edsilv
edsilv / publish-uv.md
Last active May 26, 2023 06:54
Publish UV
git checkout main
git pull origin main
npm version patch
git push origin main v0.0.0 # <- the tag
@edsilv
edsilv / ipfs-projects.md
Last active September 13, 2022 09:15
IPFS Projects by @edsilv
@edsilv
edsilv / annotations.json
Created August 2, 2022 16:37
Exhibit Annotations
{
"softwareVersion":"2.0.0",
"duplicatedFrom":null,
"access":"public",
"publicId":"Zmtdg3cwREXzNGCuHgmm",
"author":"Ed Silverton",
"rights":"",
"description":"<p>An Exhibit about the Greek God of wine and pleasure.</p>",
"title":"Dionysus",
"modified":{
@edsilv
edsilv / wunder-der-verebung.json
Created June 1, 2022 12:45
IIIF Discovery Test Annotation
{
"type": "Annotation",
"motivation": ["contentState"],
"target": {
"id": "https://iiif.wellcomecollection.org/presentation/b18035723/canvases/b18035723_0022.JP2#xywh=1156,1585,501,544",
"type": "Canvas",
"partOf": [
{
"id": "https://iiif.wellcomecollection.org/presentation/v2/b18035723",
"type": "Manifest"
@edsilv
edsilv / SVGIconToggleGroup.tsx
Created December 18, 2021 16:33
SVGIconToggleGroup
import React from 'react';
import { styled } from '@stitches/react';
import { violet, blackA, mauve } from '@radix-ui/colors';
// import { TextAlignLeftIcon, TextAlignCenterIcon, TextAlignRightIcon } from '@radix-ui/react-icons';
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
const StyledToggleGroup = styled(ToggleGroupPrimitive.Root, {
display: 'inline-flex',
backgroundColor: mauve.mauve6,
borderRadius: 4,
@edsilv
edsilv / annotations.json
Last active August 29, 2021 21:28
darklab annotation json
{
"version": "1.1",
"objectID": "DC1_LUHM23071",
"notes": "asjdh al dlka jdlkajds lkajds",
"views": {
"V_102": {
"view": {
"space": "object",
"position": [
458.79573438185946,