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
require 'openssl' | |
require 'base64' | |
key = OpenSSL::PKey.read File.read 'dev.key' | |
puts key.verify nil, Base64.urlsafe_decode64("MCHUTLtnvaAJSv6wwZgvfLIXQYWXH-KH8hygHX1xQ18E5H9GNAWoGqNwyeNSkEsMCLldG0LfL7OZwY3tvTd5CQ=="), "rez:1744330731" |
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
use rusqlite::{ | |
Connection, Result, | |
auto_extension::{RawAutoExtension, register_auto_extension}, | |
}; | |
use sqlite_vec::sqlite3_vec_init; | |
use zerocopy::IntoBytes; | |
#[cfg(test)] | |
mod tests { | |
use super::*; |
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
struct Value(Formattable): | |
var value: Float64 | |
fn __init__(inout self, value: Float64): | |
self.value = value | |
fn format_to(self, inout writer: Formatter): | |
writer.write("Value(", self.value, ")") | |
def main(): | |
v = Value(33) |
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
// Copyright (C) 2024 Andrew Wason | |
// SPDX-License-Identifier: MIT | |
import * as D from 'decoders'; | |
export namespace Animation { | |
export type Properties<P> = { | |
[Property in keyof P]?: number; | |
}; |
Asbury Park Happy Hours moved to https://rectalogic.github.io/asburypark/
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 __future__ import annotations | |
import typing as ta | |
# https://stackoverflow.com/questions/64161037/how-can-i-use-mypy-to-overload-the-init-method-to-adjust-a-getters-return-v | |
T = ta.TypeVar("T", covariant=True) | |
RT = ta.TypeVar("RT") | |
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 fhir.resources import fhirtypes, reference, patient, organization, humanname | |
org = organization.Organization( | |
id="org1", | |
active=True, | |
name="Acme Corp", | |
) | |
patient = patient.Patient( | |
id="p001", | |
active=True, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="https://raw.githubusercontent.com/HL7/cda-core-xsl/master/CDA.xsl"?> | |
<text xmlns="urn:hl7-org:v3"><list><item><caption>Auth/Cert</caption><table><colgroup><col span="2" width="16%"/><col width="18%"/><col span="2" width="16%"/><col width="18%"/></colgroup><thead><tr><th>Status</th><th>Reason</th><th>Specialty</th><th>Diagnoses / Procedures</th><th>Referred By Contact</th><th>Referred To Contact</th></tr></thead><tbody><tr><td styleCode="flagData"/><td/><td/><td><paragraph styleCode="cellHeader">Diagnoses</paragraph><paragraph/><paragraph/><paragraph>ACUTE MAXILLARY SINUSITIS J01.00</paragraph><paragraph>RETAINED FOREIGN BODY MIDDLE EAR H74.8X9</paragraph><br/><paragraph styleCode="cellHeader">Procedures</paragraph><paragraph>RIGHT NASAL ENDOSCOPY</paragraph><paragraph>MAXILLARY ANTROSTOMY</paragraph><paragraph>REMOVAL OF RIGHT PE TUBE </paragraph></td><td><paragraph/></td><td><paragraph/></td></tr></tbody></table><br/></item></list> |
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
$ play --buffer 17 "|rec -p --buffer 17 rate 8k" vol -1 amplitude |
NewerOlder