Whenever I start a new project, I don't know what to write for the first commit. After doing a “git init” there is technically nothing there...
npm install -g random-msg
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<!-- Primary Meta Tags --> | |
<title>{title}</title> | |
<meta name="title" content={title} /> | |
<meta name="description" content={description} /> | |
<link rel="canonical" href={canonicalURL} /> |
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap"); | |
body { | |
margin: 0; | |
padding: 0; | |
color: #3c484e; | |
font-family: "Open Sans", sans-serif; | |
padding: 10px; | |
grid-template-columns: minmax(auto, 768px); | |
display: grid; |
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap"); | |
body { | |
margin: 0; | |
padding: 0; | |
color: #3c484e; | |
font-family: "Open Sans", sans-serif; | |
} | |
.Main { |
const data = { | |
name: "Oscar Barajas", | |
nickname: "gndx", | |
description: "...", | |
avatar: "...", | |
social: [ | |
{ | |
name: "twitter", | |
url: "https://twitter.com/", | |
username: "", |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="https://cdn.tailwindcss.com"></script> | |
</head> | |
<body> |
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to |
import { XCircleIcon } from '@heroicons/react/solid'; | |
const Alert = ({ alert, handleClose }) => { | |
if (alert && alert?.autoClose) { | |
setTimeout(() => { | |
handleClose(); | |
}, 9000); | |
} | |
return ( |
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to |