Skip to content

Instantly share code, notes, and snippets.

@mrhanlon
mrhanlon / OR2016_Notes.md
Created June 20, 2016 16:00
OR2016 Braindump.

OR2016 Notes

Fedora 4 Workshop - 13 June

Welcome Keynote - 14 June - 9a

@mrhanlon
mrhanlon / README.rst
Last active July 25, 2016 21:50
Testing linking metadata together via embedded relationships instead of associationIds.

You can query against relationships using mongodb's $elemMatch syntax. E.g.,

$ metadata-list -v -Q '{"value._relationships": {"$elemMatch": {"@id": "1539251546393416166-242ac11f-0001-012"}}}'
---
project:
type: Genomic
fields:
- label: Title
type: text
required: true
entities:
- type: material
id: specimen
@mrhanlon
mrhanlon / AccessibilitySandbox-ContentView.swift
Last active March 12, 2024 02:07
Regarding [this module](https://www.hackingwithswift.com/books/ios-swiftui/hiding-and-grouping-accessibility-data) from 100 Days of Swift UI, it appears that when using `Image(decorative: "foo")` VoiceOver is disabled for the component even if accessibility label/traits are added.
struct ContentView: View {
let pictures = [
"ales-krivec-15949",
"galina-n-189483",
"kevin-horstmann-141705",
"nicolas-tissot-335096"
]
let labels = [
"Tulips",
import SwiftUI
struct PackageRemoveDialog: ViewModifier {
@Binding var isShowingPackageRemovalConfirmationDialog: Bool
@EnvironmentObject var brewData: BrewDataStorage
@EnvironmentObject var appState: AppState
@EnvironmentObject var outdatedPackageTracker: OutdatedPackageTracker
let shouldPurge: Bool