Ps: The current setup was done on 01-04-19
Project Dependency Versions at the time 👇
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.3",
"typescript": "^3.2.2"
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",Ps: The current setup was done on 01-04-19
Project Dependency Versions at the time 👇
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.3",
"typescript": "^3.2.2"
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",git stash list
git stash apply stash@{0}
git stash pop stash@{3}
git stash -m "Message goes here." -- $(git diff --staged --name-only)
| title | Docker Compose Cheatsheet |
|---|---|
| subtitle | Quick reference for Docker Compose commands and config files |
| author | Jon LaBelle |
| date | April 7, 2019 |
| source | https://jonlabelle.com/snippets/view/markdown/docker-compose-cheatsheet |
| //Simply to import to app.module.ts and start to use all angular | |
| // by this way is easier to maintenance you app.module | |
| import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; | |
| import {MatCheckboxModule} from '@angular/material'; | |
| import {MatButtonModule} from '@angular/material'; | |
| import {MatInputModule} from '@angular/material/input'; | |
| import {MatAutocompleteModule} from '@angular/material/autocomplete'; | |
| import {MatDatepickerModule} from '@angular/material/datepicker'; | |
| import {MatFormFieldModule} from '@angular/material/form-field'; |
| const moment = require('moment'); | |
| const regularDate = moment() // ? | |
| const regularDateString = regularDate.format('YYYY-mm-DD HH:ss'); // ? | |
| const utcDate = moment.utc() // ? | |
| const utcString = utcDate.format('YYYY-mm-DD HH:ss') //? | |
| // transforming regular to UTC | |
| console.log(moment.utc(regularDate).format('YYYY-mm-DD HH:ss')) // ? |
| import { useState, useEffect } from 'react' | |
| import { Storage } from 'aws-amplify' | |
| function App() { | |
| const [images, setImages] = useState([]) | |
| useEffect(() => { | |
| fetchImages() | |
| }, []) | |
| async function fetchImages() { | |
| let imageKeys = await Storage.list('') |
| // contracts/NFT.sol | |
| // SPDX-License-Identifier: MIT OR Apache-2.0 | |
| pragma solidity ^0.8.3; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "hardhat/console.sol"; |
| // contracts/Market.sol | |
| // SPDX-License-Identifier: MIT OR Apache-2.0 | |
| pragma solidity ^0.8.3; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "hardhat/console.sol"; |