Skip to content

Instantly share code, notes, and snippets.

Michael Yuan juntao

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am juntao on github.
  • I am juntao (https://keybase.io/juntao) on keybase.
  • I have a public key ASAFVjl9VGERabkbF0LqejQwAth1vfjLsvgduFCpzXWc-wo

To claim this, I am signing this object:

@juntao
juntao / Commands
Created Sep 13, 2018
Scrypt on CyberMiles VM
View Commands
# Block #2 of dogecoin
> c.verifyBlock.call(1, "82bc68038f6034c0596b6e313729793a887fded6e92a31fbdf70863f89d9bea2", "3b14b76d22a3f2859d73316002bc1b9bfc7f37e2c3393be9b722b62bbd786983", 1386474933, "1e0ffff0", 3404207872)
true
# Even 1-bit of nonce changed, this block header will become invalid
> c.verifyBlock.call(1, "82bc68038f6034c0596b6e313729793a887fded6e92a31fbdf70863f89d9bea2", "3b14b76d22a3f2859d73316002bc1b9bfc7f37e2c3393be9b722b62bbd786983", 1386474933, "1e0ffff0", 3404207871)
false
@juntao
juntao / Command
Created Sep 3, 2018
CVM Performance Test: scrypt
View Command
c.verifyBlock.call(1, "82bc68038f6034c0596b6e313729793a887fded6e92a31fbdf70863f89d9bea2", "3b14b76d22a3f2859d73316002bc1b9bfc7f37e2c3393be9b722b62bbd786983", 1386474933, "1e0ffff0", 3404207872)
@juntao
juntao / Command
Created Sep 3, 2018
CVM Performance Test: Sorting
View Command
sortloops.sort(6000)
@juntao
juntao / Command
Created Sep 3, 2018
CVM Performance Test: Multiplication
View Command
mulloops.mul(1000000)
@juntao
juntao / Command
Created Sep 3, 2018
CVM Performance Test: Addition
View Command
addloops.add(2000000)
@juntao
juntao / Commands
Created Sep 3, 2018
EVM Performance Test
View Commands
loops.echo(10)
loops.add(2000000)
loops.mul(1000000)
loops.sort(6000)
View Deployment
var sortloopsABI = [{"constant":true,"inputs":[{"name":"x","type":"uint256"}],"name":"sort","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"}];
var sortloopsBC = '0x608060405234801561001057600080fd5b506101f0806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063fe91386514610046575b600080fd5b34801561005257600080fd5b50610071600480360381019080803590602001909291905050506100ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100b1578082015181840152602081019050610096565b50505050905090810190601f1680156100de5780820d805160018360200d6101000a0d1916815260200191505b509250505060405180910390f35b60608060405160206040519081016040526001905260206040519081016040527f0900000000000000000000000000000000000000000000000000000000000000905260206040519081016040526001905260206040519081016040527f04000000000000000000000000000000000000000000000000000000000000009052602060405190810
View Deployment
> bytecode="608060405234801561001057600080fd5b506101f0806100206000396000f300608060405260043610610041576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631003e2d214610046575b600080fd5b34801561005257600080fd5b50610071600480360381019080803590602001909291905050506100ec565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100b1578082015181840152602081019050610096565b50505050905090810190601f1680156100de5780820d805160018360200d6101000a0d1916815260200191505b509250505060405180910390f35b60608060405160206040519081016040526001905260206040519081016040527f0900000000000000000000000000000000000000000000000000000000000000905260206040519081016040526001905260206040519081016040527f04000000000000000000000000000000000000000000000000000000000000009052602060405190810160405280600090528460206040519081016040525280604051819003602090039052907f6164640000000000000000000000000000000000000000000000000000000000f59050809150509190505600a165627a7a72305820287012d49379416e8186fadd
View Corporations_vs_Networks.txt
Most successful unicorn tech startup corporations. All shares are illiquid, and valuation is probably in a bubble.
| Founded | Capital required | Valuation at 2017/8 |
Uber | 2009 | $11.5B | $70B |
Airbnb | 2008 | $3.5B | $31B |
Palantir | 2003 | $2.5B | $20B |
WeWork | 2010 | $8.85B | $21B |
SpaceX | 2002 | $1.5B | $12B |
Pinterest | 2009 | $1.5B | $12B |
Dropbox | 2007 | $0.6B | $10B |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.