Skip to content

Instantly share code, notes, and snippets.

View indiejoseph's full-sized avatar
🏠
Working from home

Joseph cheng indiejoseph

🏠
Working from home
View GitHub Profile
Senior Full Stack Developer(45K - 50K)
Job Responsibilities
• Participate in system design, development, testing and implementation of website / mobile app
• Work closely with PM, developer and designer to meet the requirement and project schedule
• Ensure system performance, security and coding quality meet PCI standard
Requirements
• Minimum 4 years' of progressively related experience in relevant fields
• Proficiency in Node.js, React Native, React.js development
+ 35.221.139.74:3571 docker run --gpus all -w /root/app -v /home/indiejoseph/a-society-nft:/root/app nytimes/blender:3.0-gpu-ubuntu18.04 blender -b master.blend -P render.py -- --only-glasses --from 8 --to 200
+ 35.221.139.74:3690 docker run --gpus all -w /root/app -v /home/indiejoseph/a-society-nft:/root/app nytimes/blender:3.0-gpu-ubuntu18.04 blender -b master.blend -P render.py -- --only-glasses --from 501 --to 700
+ 35.221.139.74:1028 docker run --gpus all -w /root/app -v /home/indiejoseph/a-society-nft:/root/app nytimes/blender:3.0-gpu-ubuntu18.04 blender -b master.blend -P render.py -- --only-glasses --from 401 --to 500
+ 35.221.139.74:3690 docker run --gpus all -w /root/app -v /home/indiejoseph/a-society-nft:/root/app nytimes/blender:3.0-gpu-ubuntu18.04 blender -b master.blend -P render.py -- --only-glasses --from 2401 --to 2500
* 35.221.139.74:3690 docker run --gpus all -w /root/app -v /home/indiejoseph/a-society-nft:/root/app nytimes/blender:3.0-gpu-ubuntu18.04 blender -b master.blend -P render.py --
@indiejoseph
indiejoseph / contracts...MonocDIL.sol
Created February 6, 2022 17:59
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
contract MonocDIL is ERC721URIStorage, Ownable {
constructor() ERC721("Drowning in Love by Monoc", "MONOCDIL") {}
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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
@indiejoseph
indiejoseph / contracts...WEARKey.sol
Created January 28, 2022 07:12
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.2/contracts/utils/Counters.sol";
@indiejoseph
indiejoseph / changeauthor.sh
Created January 26, 2022 10:37
Change git commit author
#!/bin/bash
#
# Change the Git history of a repository
#
# Note: Running this script rewrites history for all repository collaborators.
# After completing these steps, any person with forks or clones must fetch
# the rewritten history and rebase any local changes into the rewritten history.
#
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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
// 20220118215711
// https://wear-assets.s3.ap-southeast-1.amazonaws.com/test-metadata.json
{
"dna": "964d7487597469e4cf331d1fb478460c4c331d67",
"name": "#971",
"description": "Gecko Awesome Monster NFT",
"image": "https://lh3.googleusercontent.com/bXQ7PUJ2k_dzuIQMFrfiKJ0wKjGDeWm2EPDuNXqLiW6z9ZY5HnDagZl3Lhufv8rop_G9B9O7Pb7nqrj0gdyPXTH-=w600",
"edition": 972,
"date": 1636777644343,
{
"dna": "964d7487597469e4cf331d1fb478460c4c331d67",
"name": "#971",
"description": "Gecko Awesome Monster NFT",
"image": "ipfs://QmVmSHqHVrykvMYZ3tHGu6EjXcFyZ93MNCjTkRv4dd5nui/971.png",
"edition": 971,
"date": 1636777644343,
"attributes": [
{
"trait_type": "bg_light_grey",
ffmpeg -i /Users/josephcheng/Downloads/background.webm -g 1 -vf scale=-1:1080 /Users/josephcheng/Downloads/background-1080.mp4