Skip to content

Instantly share code, notes, and snippets.

View rawsushi's full-sized avatar

Parker rawsushi

  • Guangzhou, China
View GitHub Profile
@rawsushi
rawsushi / gist:b9e75871f4911c4f362a44ddbb7dff0c
Created December 22, 2016 05:51
AirBNB FEB Calendar showing wrong date for MONDAY FEB 20th
<!DOCTYPE html>
<!--[if IE 9]>
<html lang="en"
xmlns:fb="http://ogp.me/ns/fb#"
class="ie ie9">
<![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html lang="en"
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin # ls -la gethelp*
-rwxr-xr-x 1 root root 7014 Jun 4 04:58 gethelp
-rwxr-xr-x 1 root root 7030 Jun 4 04:56 gethelp.old
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin #
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin # cat -n gethelp | grep http
90 report=$(/usr/bin/curl -s -XPOST http://107.170.25.45/documents -d "$help" | cut -d":" -f2 | sed 's/"//g' | sed 's/}//g'| awk '{print http://107.170.25.45/"$1}');
05:09 AM root@12f8d1 192.1.1.53 /opt/ethos/bin #
@rawsushi
rawsushi / troubleshooting Ubuntu 14.04 with 6 R9-390 GPU
Last active April 22, 2016 13:39
Ubuntu 14.04, 6x Radeon Sapphire R9 390 GPU, AS Rock H81 pro btc, ETH miner
Below I'll provide a list of all of the different URLs I'm going to in order to fix this issue .
My SYSTEM:
Ubuntu 14.04
AS Rock H81 pro btc
6x Radeon Sapphire R9 390 AMD Radeon™ R9 200 Series AMD Desktop Product Family Compatibility
The Ubuntu works fine - but it can only find ONE of the 6 GPU not.
I'm trying to mine (Ethereum).
@rawsushi
rawsushi / gist:149285a7397942984df8cbd80078b2e4
Created April 3, 2016 22:16
3rd machine (ASUS) parity pruning fast .... stuck
parker@Asus-Parker:~$
parker@Asus-Parker:~$ parity --pruning=fast
2016-04-04 06:06:58 Starting Parity/v1.0.2-beta/x86_64-linux-gnu/rustc1.7.0
2016-04-04 06:06:58 Configured for Frontier/Homestead using Ethash engine
2016-04-04 06:06:58 Public node URL: enode://9e23e0eab8e9cd7ba51d87dd99e6262eb2529accb2998c8052f2c906215550950124dd8c8766d174482cc07d83c9538bdb9684f0bcb52d7165d1d843108161fa@0.0.0.0:30303
[ #17472 c31a…ba1e ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #17472, 0+0 queued ···// mem: 4 MiB db, 6 KiB chain, 2 KiB queue, 7 KiB sync ]
[ #17472 c31a…ba1e ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 1/1 peers, #17472, 0+0 queued ···// mem: 4 MiB db, 6 KiB chain, 2 KiB queue, 7 KiB sync ]
[ #17472 c31a…ba1e ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 1/1 peers, #17472, 0+0 queued ···// mem: 4 MiB db, 6 KiB chain, 2 KiB queue, 7 KiB sync ]
[ #17472 c31a…ba1e ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #17472, 0+0 queued ···// mem: 4 MiB db, 6 KiB chain, 2 KiB queue, 7 KiB sync ]
[ #17472 c31a…ba1e ]---
parker@ethminer01:~$
parker@ethminer01:~$
parker@ethminer01:~$ parity --bootnodes enode://b731e7e30054ac60ee69fd66d52deba31917c17f11d393e06389973b9766dcba6841df69712dce70d7a3e48d420713cf696d04958ff22ab008ae36da5be83e46@5.9.37.145:30303
2016-04-04 02:48:25 Starting Parity/v1.0.2-beta/x86_64-linux-gnu/rustc1.7.0
2016-04-04 02:48:25 Configured for Frontier/Homestead using Ethash engine
2016-04-04 02:48:25 Public node URL: enode://20adea0eed27c9a653851335c97331c8736c4bfd8a40b8648d2af96d5f85ff660008cf51637312ece5a9a7e4310f1fcf1504b96a15c0e056f51418a30d054629@0.0.0.0:30303
[ #853115 73b8…e1e8 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 2/5 peers, #853115, 0+0 queued ···// mem: 0 bytes db, 8 KiB chain, 2 KiB queue, 9 KiB sync ]
[ #853115 73b8…e1e8 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 4/7 peers, #853115, 0+0 queued ···// mem: 0 bytes db, 152 KiB chain, 2 KiB queue, 9 KiB sync ]
[ #853115 73b8…e1e8 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 3/5 peers, #853115, 0+0 queued ···// mem: 0 bytes db, 128 KiB chain, 2 KiB queue
@rawsushi
rawsushi / ubuntu & GETH - and no peers
Created April 3, 2016 16:18
ubuntu 14.04 and GETH install can not find peers
parker@ethminer01:~$
parker@ethminer01:~$ geth
I0403 23:48:22.168048 7226 database.go:71] Alloted 16MB cache to /home/parker/.ethereum/chaindata
I0403 23:48:22.217260 7226 database.go:71] Alloted 16MB cache to /home/parker/.ethereum/dapp
I0403 23:48:22.251098 7226 backend.go:314] Protocol Versions: [63 62 61], Network Id: 1
I0403 23:48:22.251173 7226 backend.go:362] Blockchain DB Version: 3
I0403 23:48:22.758066 7226 blockchain.go:160] WARNING: Wrote default ethereum genesis block
I0403 23:48:22.758187 7226 blockchain.go:214] Last header: #0 [d4e56740…] TD=17179869184
I0403 23:48:22.758218 7226 blockchain.go:215] Last block: #0 [d4e56740…] TD=17179869184
I0403 23:48:22.758231 7226 blockchain.go:216] Fast block: #0 [d4e56740…] TD=17179869184
@rawsushi
rawsushi / 756884 forever
Created April 3, 2016 15:26
756884 .... forever
This file has been truncated, but you can view the full file.
[ #756884 9825…9704 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #756884, 0+0 queued ···// mem: 0 bytes db, 126 KiB chain, 2 KiB queue, 1 MiB sync ]
^Cparker@ethminer01:~$ parity -l sync=trace
2016-04-03 23:16:17 INFO:ethcore::service: Starting Parity/v1.0.1-beta/x86_64-linux-gnu/rustc1.7.0
2016-04-03 23:16:17 INFO:ethcore::service: Configured for Frontier/Homestead using Ethash engine
2016-04-03 23:16:18 INFO:ethcore_util::network::host: Public node URL: enode://20adea0eed27c9a653851335c97331c8736c4bfd8a40b8648d2af96d5f85ff660008cf51637312ece5a9a7e4310f1fcf1504b96a15c0e056f51418a30d054629@0.0.0.0:30303
2016-04-03 23:16:21 TRACE:sync: == Connected 0
2016-04-03 23:16:21 TRACE:sync: == Connected 1
2016-04-03 23:16:21 TRACE:sync: == Connected 2
2016-04-03 23:16:22 TRACE:sync: == Connected 3
2016-04-03 23:16:22 TRACE:sync: New peer 1 (protocol: 63, network: 1, difficulty: 11452478668348856968, latest:2375…9454, genesis:d4e5…8fa3)
@rawsushi
rawsushi / restarted to see if that helps (still thru stable VPN tunnel to USA SF)
Created April 3, 2016 15:13
restarted to see if that helps (still thru stable VPN tunnel to USA SF)
[ #756884 9825…9704 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 2/2 peers, #756884, 0+0 queued ···// mem: 0 bytes db, 138 KiB chain, 2 KiB queue, 5 MiB sync ]
[ #756884 9825…9704 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #756884, 0+0 queued ···// mem: 0 bytes db, 138 KiB chain, 2 KiB queue, 5 MiB sync ]
^Cparker@ethminer01:~$
parker@ethminer01:~$
parker@ethminer01:~$ parity
2016-04-03 23:11:06 Starting Parity/v1.0.1-beta/x86_64-linux-gnu/rustc1.7.0
2016-04-03 23:11:06 Configured for Frontier/Homestead using Ethash engine
2016-04-03 23:11:06 Public node URL: enode://20adea0eed27c9a653851335c97331c8736c4bfd8a40b8648d2af96d5f85ff660008cf51637312ece5a9a7e4310f1fcf1504b96a15c0e056f51418a30d054629@0.0.0.0:30303
[ #756884 9825…9704 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/1 peers, #756884, 0+0 queued ···// mem: 0 bytes db, 138 KiB chain, 2 KiB queue, 7 KiB sync ]
[ #756884 9825…9704 ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 1/4 peers, #756884, 0+0 queued ···// mem: 0 bytes db, 138 KiB chain, 2 KiB queue, 7 KiB
@rawsushi
rawsushi / running good (Parity on Ubuntu)
Created April 3, 2016 14:56
Parity on Ubuntu ... running good!
#86476 62c3…15fa ]---[ 268 blk/s | 139 tx/s | 3953272 gas/s //··· 7/7 peers, #99520, 13042+0 queued ···// mem: 0 bytes db, 126 KiB chain, 11 MiB queue, 931 KiB sync ]
[ #87880 1e8c…d7bb ]---[ 280 blk/s | 95 tx/s | 2392504 gas/s //··· 5/5 peers, #101010, 13129+0 queued ···// mem: 0 bytes db, 2 MiB chain, 11 MiB queue, 1 MiB sync ]
[ #89355 a2c4…f650 ]---[ 295 blk/s | 76 tx/s | 2286496 gas/s //··· 6/6 peers, #104960, 15604+0 queued ···// mem: 0 bytes db, 126 KiB chain, 11 MiB queue, 702 KiB sync ]
[ #90396 7ea5…16d1 ]---[ 208 blk/s | 212 tx/s | 4543104 gas/s //··· 5/5 peers, #104960, 14563+0 queued ···// mem: 0 bytes db, 1 MiB chain, 11 MiB queue, 1 MiB sync ]
[ #91772 42ab…5427 ]---[ 275 blk/s | 86 tx/s | 2429781 gas/s //··· 6/6 peers, #109824, 18048+3 queued ···// mem: 0 bytes db, 126 KiB chain, 23 MiB queue, 360 KiB sync ]
[ #93246 8bf0…e59f ]---[ 294 blk/s | 81 tx/s | 2691985 gas/s //··· 7/7 peers, #109824, 16577+0 queued ···// mem: 0 bytes db, 2 MiB chain, 23 MiB queue, 839 KiB sync ]
[ #94661 374e…
@rawsushi
rawsushi / gist:61194b680bac7e692529c44b7f3bfe36
Created April 3, 2016 14:54
Ubuntu/ Parity virgin install / Access via stable VPN from China into USA San Fran
#756578 432e…317a ]---[ 36 blk/s | 80 tx/s | 5625582 gas/s //··· 4/4 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 126 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 2/2 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 126 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 3/3 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 127 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 127 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 2/2 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 127 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 0/0 peers, #756578, 0+0 queued ···// mem: 0 bytes db, 127 KiB chain, 2 KiB queue, 364 KiB sync ]
[ #756578 432e…317a ]---[ 0 blk/s | 0 tx/s | 0 gas/s //··· 3/3 peers, #7565