Skip to content

Instantly share code, notes, and snippets.

View vishwakarma09's full-sized avatar
🦊

Sandeep Kumar vishwakarma09

🦊
View GitHub Profile
@vishwakarma09
vishwakarma09 / ERC20.sol
Last active June 17, 2018 05:05
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.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.10;
interface ERC20 {
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
@vishwakarma09
vishwakarma09 / gist:62980ac9533b693e14009040063f365e
Created June 9, 2023 07:51
error on install python using pyenv ubuntu / linux mint
Error doing: pyenv install 3.11.0
skumar@tb15-sandeepkumar:~/PhpstormProjects/p2m/log$ pyenv install 3.11.0
Downloading Python-3.11.0.tar.xz...
-> https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz
Installing Python-3.11.0...
BUILD FAILED (Linuxmint 20 using python-build 2.3.19)
Inspect or clean up the working tree at /tmp/python-build.20230609034123.370467