This file contains 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
import React, { Component } from 'react'; | |
class App extends Component { | |
render() { | |
return ( | |
<div> | |
<h1>¡Hola Mundo!</h1> | |
</div> | |
); | |
} |
This file contains 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
Lock S-foils in attack position | |
Dude this is webscale | |
Obliterate user's hard drive | |
Synchronize deceptions | |
Do everything asynchronously, attem... is that a squirrel? | |
Bring the guitar. Leave the cannoli. | |
Erratic subject/verb replacements | |
Either merge this or be prepared to launch the warp core. | |
DO YOU KNOW HOW TO TURN OFF CAPSLOCK? | |
:poop: |
This file contains 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
{ | |
"name": "simple-bot-messenger", | |
"version": "1.0.0", | |
"description": "creating a simple bot for messenger", | |
"main": "app.js", | |
"scripts": { | |
"start": "node app.js", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { |
This file contains 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
const products = [ | |
{ id: "1", name: "shirt", category: "clothing" }, | |
{ id: "2", name: "Sports Tennis", category: "accessories" }, | |
{ id: "3", name: "Casual shoes", category: "footwear" }, | |
{ id: "4", name: "skirt", category: "clothing" }, | |
{ id: "5", name: "tie", category: "clothing" } | |
] | |
let nameOfProducts = []; |
This file contains 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
{ | |
"pets": { | |
"0": { | |
"adopt": true, | |
"date": "2019-03-29T04:07:28.238Z", | |
"description": "Tata es un gatita de 3 años", | |
"gender": "female", | |
"name": "Tata", | |
"photo": "http://s3.amazonaws.com/chewiekie/img/tata.png", | |
"profilePic": "https://graph.facebook.com/10156355067184077/picture", |
This file contains 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
import firebase from 'firebase'; | |
const config = { | |
apiKey: "unreadablestuff", | |
authDomain: "your-project-name.firebaseapp.com", | |
databaseURL: "https://your-project-name.firebaseio.com", | |
projectId: "your-project-name", | |
storageBucket: "your-project-name.appspot.com", | |
messagingSenderId: "0112358132134" | |
}; |
This file contains 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
{ | |
"initalState": { | |
"mylist": [], | |
"trends": [ | |
{ | |
"id": 2, | |
"slug": "tvshow-2", | |
"title": "In the Dark", | |
"type": "Scripted", | |
"language": "English", |
This file contains 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 | |
// 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 |
This file contains 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
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 |
This file contains 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
import { XCircleIcon } from '@heroicons/react/solid'; | |
const Alert = ({ alert, handleClose }) => { | |
if (alert && alert?.autoClose) { | |
setTimeout(() => { | |
handleClose(); | |
}, 9000); | |
} | |
return ( |
OlderNewer