This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" = ).+/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
============================================== | |
Dell Display Manager | |
============================================== | |
Support Mac: | |
Mac 2018 or above. | |
Support OS: | |
macOS 10.14 or above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |