A distributed Key value store is part of consul.io
This file contains hidden or 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
//inspired by https://github.com/wspringer/angular-pouchdb | |
//lawnchar simple wrapper | |
// | |
//It wraps Lawnchair as a provider, allowing you to set global configuration before your | |
//dependencies are getting injected | |
// | |
//It uses $q-based promises instead of callbacks: db.get({...}) will return a promise with the results, | |
//and no longer accepts a callback as the last parameter. | |
//The same goes for all other operations that normally required callbacks. | |
// |
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
// Author: vectorized.eth | |
pragma solidity ^0.8.0; | |
pragma abicoder v2; | |
// DISCLAIMER: | |
// This is experimental software and is provided on an "as is" and "as available" basis. | |
// We do not give any warranties and will not be liable for any loss incurred through any use of this codebase. | |
library Base64 { |
Adapted from this recommendation by @jandockx
Despite supporting recursive schemas, passing cyclical data into Zod will cause an infinite loop in some cases.
You can protect against cyclical objects starting an infinite loop (at a performance cost) with the following approach
(using the above jsonSchema
as an example):
OlderNewer