Skip to content

Instantly share code, notes, and snippets.

View jasperSpeicher's full-sized avatar

Jasper Speicher jasperSpeicher

View GitHub Profile
@jasperSpeicher
jasperSpeicher / .deps...github...abdk-consulting...abdk-libraries-solidity...ABDKMath64x64.sol
Created September 20, 2021 01:01
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: BSD-4-Clause
/*
* ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.8.0;
/**
* Smart contract library of mathematical functions operating with signed
* 64.64-bit fixed point numbers. Signed 64.64-bit fixed point number is
@jasperSpeicher
jasperSpeicher / .deps...github...abdk-consulting...abdk-libraries-solidity...ABDKMath64x64.sol
Created September 20, 2021 01:00
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: BSD-4-Clause
/*
* ABDK Math 64.64 Smart Contract Library. Copyright © 2019 by ABDK Consulting.
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com>
*/
pragma solidity ^0.8.0;
/**
* Smart contract library of mathematical functions operating with signed
* 64.64-bit fixed point numbers. Signed 64.64-bit fixed point number is
This file has been truncated, but you can view the full file.
{
"prediction_id": 12,
"timestamp": "2017-08-31T23:57:00.000Z",
"lat_min": "37.20000",
"lon_min": "-122.81000",
"lat_max": "38.00000",
"lon_max": "-122.81000",
"n_stride": 161,
"n_rows": 81,
"data": {
@jasperSpeicher
jasperSpeicher / 1yr.json
Created July 17, 2015 17:58
1 year of generated OMH data
This file has been truncated, but you can view the full file.
[
{"header":{"id":"76125da1-919a-4a31-a97c-e61726071d11","creation_date_time":"2014-01-05T17:53:28Z","acquisition_provenance":{"source_name":"generator","source_creation_date_time":"2015-07-09T22:04:23.471+02:00","modality":"sensed"},"user_id":"some-user","schema_id":{"namespace":"omh","name":"blood-pressure","version":"1.0"}},"body":{"effective_time_frame":{"date_time":"2014-01-05T17:53:28Z"},"systolic_blood_pressure":{"unit":"mmHg","value":112.2770482852676},"diastolic_blood_pressure":{"unit":"mmHg","value":66.79275804662011}},"id":"76125da1-919a-4a31-a97c-e61726071d11"},
{"header":{"id":"99dd0991-270a-4e75-8f13-1f79bdffc864","creation_date_time":"2014-01-06T08:36:09Z","acquisition_provenance":{"source_name":"generator","source_creation_date_time":"2015-07-09T22:04:23.471+02:00","modality":"sensed"},"user_id":"some-user","schema_id":{"namespace":"omh","name":"blood-pressure","version":"1.0"}},"body":{"effective_time_frame":{"date_time":"2014-01-06T08:36:09Z"},"systolic_blood_pressure":{"unit":"mmHg","value"