See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| contract Database{ | |
| mapping(uint => uint) public _data; | |
| mapping(address => bool) _owners; | |
| function Database(address[] owners){ //Called once at creation, pass in initial owners | |
| for(uint i; i<owners.length; i++){ | |
| _owners[owners[i]]=true; | |
| } | |
| } | |
| // ----------------------------------------------------------------------------- | |
| // Deps | |
| // ----------------------------------------------------------------------------- | |
| const fromCWD = require('from-cwd'); | |
| const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); | |
| const PnpWebpackPlugin = require('pnp-webpack-plugin'); | |
| const { PHASE_DEVELOPMENT_SERVER } = require('next/constants'); | |
| // ----------------------------------------------------------------------------- |
| // Prepare a simple Markdown example | |
| var code = "### Hello World" + | |
| "\r\n" + | |
| "[visit applications](https://.aspose.com)"; | |
| // Create a Markdown file | |
| System.IO.File.WriteAllText(dataDir + "document.md", code); | |
| // Convert Markdown to HTML document | |
| using (HTMLDocument document = Aspose.Html.Converters.Converter.ConvertMarkdown(dataDir + "document.md")) | |
| { |
| <script> | |
| import Web3 from 'web3' | |
| export default ({ | |
| data() { | |
| return { | |
| buttonDisabled: false, | |
| buttonInstallText: "Click here to install Metamask", | |
| } | |
| }, |
| import CryptoJS from 'crypto-js'; | |
| import './app.css'; | |
| import FileInput from "./components/FileInput/FileInput"; | |
| import { FC, useEffect, useState } from "react"; | |
| const getAESEncrypted = (secret: string, password: string) => { | |
| const encrypted = CryptoJS.AES.encrypt(secret, password); | |
| return encrypted.toString(); | |
| } |