Skip to content

Instantly share code, notes, and snippets.

View milad1367's full-sized avatar
💭
I may be slow to respond.

Milad Asghari Amlashi milad1367

💭
I may be slow to respond.
View GitHub Profile
@robsoncezario
robsoncezario / Marketplace.sol
Created December 15, 2021 02:50
Marketplace.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./NFT.sol";
contract Marketplace is ReentrancyGuard {
@patricksimpson
patricksimpson / module.js
Last active April 16, 2020 14:21
JavaScript Design Patterns
var options = {
username: 'blah',
server: '127.0.0.1'
};
var ConfigObject = (function(params) {
var username = params.username || '',
server = params.server || '',
password = params.password || '';
@incredimike
incredimike / variousCountryListFormats.js
Last active April 30, 2024 11:10
List of Countries in various Javascript data structures: Alphabetical country lists & Country data objects.
// Lists of countries with ISO 3166 codes, presented in various formats.
// Last Updated: July 30, 2020
// If you're using PHP, I suggest checking out:
// https://github.com/thephpleague/iso3166
// or Laravel: https://github.com/squirephp/squire
//
// JS developers can check out:
// https://www.npmjs.com/package/iso3166-2-db
//