Skip to content

Instantly share code, notes, and snippets.

View iamendy's full-sized avatar

Nnamdi Umeh iamendy

View GitHub Profile
https://3759-102-22-222-54.ngrok-free.app/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
interface IChainWiseBadge {
function safeMint(address to) external;
function burn(uint256 tokenId) external;
function _beforeTokenTransfer(
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
//import "contracts/QuickSort.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.8/automation/AutomationCompatible.sol";
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TipX is ReentrancyGuard, Ownable {
using Counters for Counters.Counter;
@iamendy
iamendy / nginx node app template
Created February 25, 2020 19:12
My default node apps nginx config
server{
#root /var/www/maintain/;
index index.html index.htm;
server_name domain_name;
location / {
proxy_pass http://your.ip.address.here:port_no;
proxy_http_version 1.1;
@iamendy
iamendy / keybase.md
Last active September 10, 2019 09:52

Keybase proof

I hereby claim:

  • I am iamendy on github.

  • I am iamendy (https://keybase.io/iamendy) on keybase.

  • I have a public key ASDqPBI0N5b4EHlesk8rcoTnVch6IqeDyDxXpYXI9BUB2Qo

@iamendy
iamendy / Nginx.conf
Created September 5, 2019 10:30
Nginx Node reverse proxy
server {
root /var/www/shopeasyApi;
index index.html index.htm;
# Make site accessible from http://localhost/
server_name peasy.ng www.peasy.ng;
location / {
#try_files $uri $uri/ =404;