Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
""" | |
Downloads folders from github repo | |
Requires PyGithub | |
pip install PyGithub | |
""" | |
import os | |
import sys | |
import base64 | |
import shutil |
#include <stdio.h> | |
#include <stdlib.h> | |
#ifdef __APPLE__ | |
#include <OpenCL/opencl.h> | |
#else | |
#include <CL/cl.h> | |
#endif | |
int main() { |
contract SimpleWallet { | |
// address is the owner | |
address owner; | |
struct WithdrawlStruct { | |
address to; | |
uint amount; | |
} |
pragma solidity >=0.7.0 <0.9.0; | |
contract MultiSend { | |
// to save the owner of the contract in construction | |
address private owner; | |
// to save the amount of ethers in the smart-contract | |
uint total_value; |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
import "@openzeppelin/contracts@4.5.0/token/ERC721/ERC721.sol"; | |
import "@openzeppelin/contracts@4.5.0/access/Ownable.sol"; | |
import "@openzeppelin/contracts@4.5.0/utils/Counters.sol"; | |
import "@openzeppelin/contracts@4.5.0/utils/cryptography/MerkleProof.sol"; | |
contract MyToken is ERC721, Ownable { | |
using Counters for Counters.Counter; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Secret Area</title> | |
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script> | |
</head> | |
<body> | |
<p>Wallet Address - <span id="wallet-address"></span></p> |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
import "@openzeppelin/contracts@4.6.0/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/contracts@4.6.0/token/ERC721/IERC721.sol"; | |
import "@openzeppelin/contracts@4.6.0/access/Ownable.sol"; | |
import "@openzeppelin/contracts@4.6.0/token/ERC20/extensions/draft-ERC20Permit.sol"; | |
import "@openzeppelin/contracts@4.6.0/token/ERC721/utils/ERC721Holder.sol"; | |
contract FractionalizedNFT is ERC20, Ownable, ERC20Permit, ERC721Holder { |