Skip to content

Instantly share code, notes, and snippets.

Value set 'http://loinc.org/vs' at http://hl7.org/v2/StructureDefinition/ComplexDataType-Profile#StructureDefinition.differential.element.code not found
Exception generating resource /ig/input/sourceOfTruth/data-type/complex/complex-data-type-profile::StructureDefinition/v2-complex-data-type-profile: Cannot invoke "String.equals(Object)" because "brd.vsn" is null (00:00.884 / 00:35.351, 1Gb)
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "brd.vsn" is null
at org.hl7.fhir.igtools.renderers.StructureDefinitionRenderer.txItem(StructureDefinitionRenderer.java:789)
at org.hl7.fhir.igtools.renderers.StructureDefinitionRenderer.tx(StructureDefinitionRenderer.java:743)
at org.hl7.fhir.igtools.publisher.Publisher.generateOutputsStructureDefinition(Publisher.java:11987)
at org.hl7.fhir.igtools.publisher.Publisher.generateResourceHtml(Publisher.java:10799)
at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:10532)
at org.hl7.fhir.igtools.publisher.Publisher
from datetime import datetime, timedelta
now = datetime.now()
birthday = datetime(1972,2,11)
diff = now - birthday
# diff is type datetime.timedelta
# print(diff)
print('You are ' + str(diff.total_seconds()) + ' seconds old.')
@mfaughn
mfaughn / readme.txt
Created April 21, 2022 14:10
readme file for Dell Display Manager for MacOS v1.50.0.0043
==============================================
Dell Display Manager
==============================================
Support Mac:
Mac 2018 or above.
Support OS:
macOS 10.14 or above.
@mfaughn
mfaughn / edid_rename_display.rb
Created April 13, 2022 22:21
M1 Mac futzing about with EDID and name of display
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use a different name for the display
# This doesn't quite work since it just appends the alphanumeric serial number of whichever display of any given type to all of the names of the that type of display.
require 'base64'
edit_bytes = false
data=`ioreg -l -w0 -d0 -r -c AppleCLCD2`
# edid_hex=data.match(/EDID UUID.*?<([a-z0-9]+)>/i)
edid_hexes = data.scan /(?<="EDID UUID" = ).+/
# pp edid_hex; puts
display_attributes = data.scan /(?<="DisplayAttributes" = ).+/