I hereby claim:
- I am aunyks on github.
- I am aunyks (https://keybase.io/aunyks) on keybase.
- I have a public key ASAWNctls7QnuFFYVuFN75adE6m5sj8EFb5B0OfVMb2Fngo
To claim this, I am signing this object:
| const { | |
| clip, | |
| scale, | |
| midi, | |
| arp, | |
| getChordsByProgression | |
| } = require('scribbletune') | |
| const progression = getChordsByProgression('d2 major', 'I VI ii V') |
| const isRNANucleotide = n => { | |
| const lowerN = n.toLowerCase() | |
| return ( | |
| lowerN === 'a' || // adenine | |
| lowerN === 'u' || // uracil | |
| lowerN === 'c' || // cytosine | |
| lowerN === 'g' // guanine | |
| ) | |
| } |
| function setup() { | |
| frameRate(30) | |
| } | |
| const numParticles = 20 | |
| const numGradientParts = 20 | |
| let particles = | |
| [...(new Array(numParticles)).keys()] | |
| .map(i => { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset='utf-8'> | |
| <meta http-equiv='X-UA-Compatible' content='IE=edge'> | |
| <meta name='viewport' content='width=device-width, initial-scale=1'> | |
| <title>Web3 Snitch</title> | |
| <style> | |
| html, |
| def to_bin(n): | |
| return bin(n)[2:] if n >= 0 else bin(n)[3:] | |
| def to_int(b): | |
| return int(b, 2) | |
| def ones_complement(b): | |
| return b.replace('1', '2').replace('0', '1').replace('2', '0') | |
| def twos_complement(b): |
| import datetime | |
| import json | |
| import requests | |
| def unix_to_date(unix_int): | |
| if type(unix_int) == type(''): | |
| return datetime.datetime.fromtimestamp(int(unix_int)).strftime('%Y-%m-%d %H:%M:%S') | |
| elif type(unix_int) == type(0): | |
| return datetime.datetime.fromtimestamp(unix_int).strftime('%Y-%m-%d %H:%M:%S') | |
| else: |
| pragma solidity ^0.4.0; | |
| // event Mint(address indexed from, uint reward_amount, uint epochCount, bytes32 newChallengeNumber); | |
| // event Transfer(address indexed _from, address indexed _to, uint256 _value); | |
| // event Approval(address indexed _owner, address indexed _spender, uint256 _value); | |
| contract Metamine { | |
| uint256 public constant MAX_TARGET = 2**256 - 1; | |
| uint256 public constant totalSupply = 21000000; // max 21M tokens |
I hereby claim:
To claim this, I am signing this object:
| pragma solidity ^0.4.19; | |
| contract ERC721 { | |
| string constant private tokenName = "My ERC721 Token"; | |
| string constant private tokenSymbol = "MET"; | |
| uint256 constant private totalTokens = 1000000; | |
| mapping(address => uint) private balances; | |
| mapping(uint256 => address) private tokenOwners; | |
| mapping(uint256 => bool) private tokenExists; | |
| mapping(address => mapping (address => uint256)) private allowed; | |
| mapping(address => mapping(uint256 => uint256)) private ownerTokens; |
| contract ERC721 { | |
| // ERC20 compatible functions | |
| function name() constant returns (string name); | |
| function symbol() constant returns (string symbol); | |
| function totalSupply() constant returns (uint256 totalSupply); | |
| function balanceOf(address _owner) constant returns (uint balance); | |
| // Functions that define ownership | |
| function ownerOf(uint256 _tokenId) constant returns (address owner); | |
| function approve(address _to, uint256 _tokenId); | |
| function takeOwnership(uint256 _tokenId); |