curl -o db.dump `heroku pgbackups:url`
pg_restore --verbose --clean --no-acl --no-owner -d DATABASE_NAME db.dump
heroku pg:reset DATABASE_URL
pg_dump -xO DATABASE_NAME | psql heroku config:get DATABASE_URL
| <link rel="import" href="../components/polymer/polymer.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; |
I hereby claim:
To claim this, I am signing this object:
| Order | |
| -------------------------------- | |
| ID | 1 | |
| CustomerID | 69 | |
| 5minutesEnabled | true | |
| 10MinutesEnabled | false |
| D5ZgzuAq9UBXwiBZCWX8hRmP1Vhearwy82 |
| def xor_salsa8(x, a, b) | |
| x00 = x[a + 0] ^= x[b + 0] | |
| x01 = x[a + 1] ^= x[b + 1] | |
| x02 = x[a + 2] ^= x[b + 2] | |
| x03 = x[a + 3] ^= x[b + 3] | |
| x04 = x[a + 4] ^= x[b + 4] | |
| x05 = x[a + 5] ^= x[b + 5] | |
| x06 = x[a + 6] ^= x[b + 6] | |
| x07 = x[a + 7] ^= x[b + 7] | |
| x08 = x[a + 8] ^= x[b + 8] |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: cgminer | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Starts cgminer | |
| # Description: Start script for cgminer | |
| ### END INIT INFO |
| #!/bin/sh | |
| export DISPLAY=:0 | |
| export GPU_MAX_ALLOC_PERCENT=100 | |
| export GPU_USE_SYNC_OBJECTS=1 | |
| cgminer --config multipools.conf |
| 5jifjj3GfwhqFdcujC6i5117mgZMnfZ4GP |
| nyancoin=math.Object( | |
| P2P_PREFIX='fbc0b8db'.decode('hex'), # TODO: I think you can find it in main.cpp at pchMessageStart[4]=... Using this specific value as the P2P_PREFIX fixed the problem for me. | |
| P2P_PORT=17778, | |
| ADDRESS_VERSION=21, | |
| RPC_PORT=17779, | |
| RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue( | |
| 'nyancoinaddress' in (yield bitcoind.rpc_help()) and | |
| not (yield bitcoind.rpc_getinfo())['testnet'] | |
| )), | |
| SUBSIDY_FUNC=lambda height: 50*100000000, # TODO: SUBSIDY_FUNC can be found in the source code, specifically in main.cpp, search for nSubsidy, you'll find a line that looks a lot like nSubsidy >>= (nHeight / 8400000); |