Skip to content

Instantly share code, notes, and snippets.

View sangheraio's full-sized avatar
🤔
Thinking...

Sukhveer Sanghera sangheraio

🤔
Thinking...
View GitHub Profile
pragma solidity ^0.4.15;
/// ERC Token Standard #20 Interface (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md)
contract IERC20 {
uint256 public totalSupply;
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
function approve(address _spender, uint256 _value) returns (bool success);
function allowance(address _owner, address _spender) constant returns (uint256 remaining);
event Transfer(address indexed _from, address indexed _to, uint256 _value);
0xEfa1958B3248A95c08F0a964Ad844848f1D7e0A3
@sangheraio
sangheraio / rinkeby me
Created August 5, 2017 03:27
rinkeby faucet
0x062d8036c2AB540F5aB2DBCB787766E88FE18a96
#uBlox flight mode code
import serial
import time
import sys
import time as time_
gps_set_sucess = False
ser = serial.Serial("/dev/ttyACM0", 9600) #ACM gps AMA gpio
setNav = bytearray.fromhex("B5 62 06 24 24 00 FF FF 06 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 DC")