Skip to content

Instantly share code, notes, and snippets.

View jaredcohe's full-sized avatar

Jared jaredcohe

View GitHub Profile
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.8.0;
/// @notice Modern and gas efficient ERC-721 + ERC-20/EIP-2612-like implementation.
contract LexNFT {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed owner, address indexed spender, uint256 indexed tokenId);
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
@jaredcohe
jaredcohe / 0_reuse_code.js
Created May 12, 2016 00:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var testinggist = 'hat';
mongodump --host mongodb://kea_web:kbU3824bFsv@dharma.mongohq.com:10017/kea_production
mongodump --host dharma.mongohq.com:10017/kea_production
mongodump --host dharma.mongohq.com:10017
mongodump --host dharma.mongohq.com:10017 --db kea_production