Setup foo,bar,baz boolean vars
zstyle ':example:foo' doit yes
zstyle ':example:bar' doit no
# leave baz unset
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
This is an example of using module tls
in NodeJS to create a client securely connecting to a TLS server.
It is a modified version from documentation about TLS, in which:
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
import { Vkeywitness } from '@emurgo/cardano-serialization-lib-nodejs' | |
import CoinSelection from './coinSelection.js' | |
import {getUtxos, newTxBuilder, signTx, submitTx, bytesToString, getProtocolParameters, waitForConfirmation} from './util.js' | |
const S = await import('@emurgo/cardano-serialization-lib-nodejs/cardano_serialization_lib.js') | |
const Buffer = (await import('buffer/')).Buffer | |
// WARNING no coin selection algorithm is being used | |
// for this to be used seriously, consider using randomImprove or similar | |
// ADDITIONALLY: we make no attempt to split transactions in case this will be too large for a single tx | |
// see Nami's implementation of tx balancing to solve this. |
pragma solidity ^0.4.24; | |
import "../zos-lib/Initializable.sol"; | |
import "./IERC165.sol"; | |
/** | |
* @title ERC165 | |
* @author Matt Condon (@shrugs) | |
* @dev Implements ERC165 using a lookup table. |
pragma solidity ^0.4.24; | |
import "../zos-lib/Initializable.sol"; | |
import "./IERC165.sol"; | |
/** | |
* @title ERC165 | |
* @author Matt Condon (@shrugs) | |
* @dev Implements ERC165 using a lookup table. |
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); |
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title> sample_demo1 </title> | |
<!-- <script src="https://npmcdn.com/@reactivex/rxjs@5.0.0-beta.3/dist/global/Rx.umd.js"></script> --> | |
<script src="https://unpkg.com/rxjs/bundles/rxjs.umd.min.js"> </script> | |
</head> |