Skip to content

Instantly share code, notes, and snippets.

View marknguyen85's full-sized avatar
💭
I may be slow to respond.

Mark Nguyen marknguyen85

💭
I may be slow to respond.
View GitHub Profile
{"tags":[],"template":false,"detect_color":false,"country":[{"code":"US","name":"United States","sort":"10","selected":false},{"code":"DE","name":"Germany","sort":"9","selected":false},{"code":"FR","name":"France","sort":"8","selected":false},{"code":"CA","name":"Canada","sort":"7","selected":false},{"code":"UK","name":"England","sort":"7","selected":false},{"code":"SE","name":"Sweden","sort":"0","selected":false},{"code":"PL","name":"Poland","sort":"0","selected":false},{"code":"NO","name":"Norway","sort":"0","selected":false},{"code":"NL","name":"Nertherlands","sort":"0","selected":false},{"code":"IT","name":"Italia","sort":"0","selected":false},{"code":"IR","name":"Ireland","sort":"0","selected":false},{"code":"AU","name":"Australia","sort":"0","selected":false},{"code":"FI","name":"Finland","sort":"0","selected":false},{"code":"ES","name":"Spain","sort":"0","selected":false},{"code":"DK","name":"Denmark","sort":"0","selected":false},{"code":"BE","name":"Belgium","sort":"0","selected":false},{"code":"CH","
@marknguyen85
marknguyen85 / images.xml
Created March 24, 2021 09:20 — forked from kitwalker12/images.xml
Amazon MWS Beauty Product Feed XML Sample
<?xml version="1.0" encoding="utf-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>AXXXXXXXXXX</MerchantIdentifier>
</Header>
<MessageType>ProductImage</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
@marknguyen85
marknguyen85 / CHK_SKU_PROPS_DUPLICATE
Created January 14, 2021 11:17
Thông tin biến thể:CHK_SKU_PROPS_DUPLICATE:Duplicate attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request>
<Product>
<PrimaryCategory>14547</PrimaryCategory>
<Attributes>
<name>Guys Tee</name>
<brand>No Brand</brand>
<short_description>Guys Tee</short_description>
<description>&lt;ul&gt;
&lt;li&gt;5.3 oz., pre-shrunk 100% cotton&lt;/li&gt;
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it
at Renci.SshNet.Abstractions.SocketAbstraction.Connect(IPEndPoint remoteEndpoint, TimeSpan connectTimeout)
at Renci.SshNet.Session.SocketConnect(String host, Int32 port)
at Renci.SshNet.Session.Connect()
at Renci.SshNet.BaseClient.Connect()
at BiSon_Fake_IOS_v1._0.Form1.btnfake_Click_1(Object sender, EventArgs e)
@marknguyen85
marknguyen85 / test_stop_at_70.log
Created April 27, 2020 03:30
stop and start at block 70
INFO [04-27|06:19:09.093] ************** set priority origin=-1
INFO [04-27|06:19:10.098] ************** set priority origin=-2
INFO [04-27|06:19:11.108] ************** set priority origin=-3
INFO [04-27|06:19:12.117] ************** set priority origin=-4
INFO [04-27|06:19:13.123] ************** set priority origin=-5
INFO [04-27|06:19:14.129] ************** set priority origin=-6
INFO [04-27|06:19:15.134] ************** set priority origin=-7
INFO [04-27|06:19:16.138] ************** set priority origin=-8
INFO [04-27|06:19:17.146] ************** set priority origin=-9
INFO [04-27|06:19:18.149] ************** set priority origin=-10
./puppeth
+-----------------------------------------------------------+
| Welcome to puppeth, your Evrynet private network manager |
| |
| This tool lets you create a new Evrynet network down to |
| the genesis block, bootnodes, miners and ethstats servers |
| without the hassle that it would normally entail. |
| |
| Puppeth uses SSH to dial in to remote servers, and builds |
| its network components out of Docker containers using the |
@marknguyen85
marknguyen85 / node_connect_testnet
Last active April 15, 2020 11:07
Run command "./gev --publictestnet --mine --verbosity 5" on the "5706-fix-bad-block" branch.
$ ./gev --publictestnet --mine --verbosity 5
DEBUG[04-15|15:40:47.480] Sanitizing Go's GC trigger percent=100
INFO [04-15|15:40:47.481] Maximum peer count ETH=50 LES=0 total=50
DEBUG[04-15|15:40:47.482] FS scan times list=136.098µs set=893ns diff=4.041µs
TRACE[04-15|15:40:47.483] Started watching keystore folder path=/Users/marknguyen/Library/Evrynet/publictestnet/keystore
INFO [04-15|15:40:47.509] Starting peer-to-peer node instance=Geth/v1.9.0-unstable/darwin-amd64/go1.13.1
INFO [04-15|15:40:47.510] Allocated trie memory caches clean=256.00MiB dirty=256.00MiB
INFO [04-15|15:40:47.511] Allocated cache and file handles database=/Users/marknguyen/Library/Evrynet/publictestnet/geth/chaindata cache=512.00MiB handles=5120
DEBUG[04-15|15:40:47.577] Chain freezer table opened database=/Users/marknguyen/Library/Evrynet/publictestnet/geth/chaindata/ancient table=headers items=0 size=0.00B
>>> /usr/local/go/bin/go test -ldflags -X main.gitCommit=0568ccdbb5c47595e06c72131b0a1dec80d185d6 -X main.gitDate=20200415 -s -p 1 -timeout 5m --short ./accounts/... ./cmd/... ./core/... ./common/... ./consensus/... ./crypto/... ./dashboard/... ./ethstats/... ./event/... ./evr/... ./evrclient/... ./evrdb/... ./graphql/... ./internal/... ./les/... ./light/... ./log/... ./metrics/... ./miner/... ./mobile/... ./node/... ./p2p/... ./params/... ./rlp/... ./rpc/... ./signer/... ./trie/... ./whisper/...
ok github.com/Evrynetlabs/evrynet-node/accounts 0.327s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi 0.361s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi/bind 5.511s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi/bind/backends 0.411s
? github.com/Evrynetlabs/evrynet-node/accounts/external [no test files]
ok github.com/Evrynetlabs/evrynet-node/accounts/keystore 15.954s
? github.com/Evrynetlabs/evrynet-node/accounts/scwallet [no test files]
?
Marks-MacBook-Pro:evrynet-node marknguyen$ ./puppeth
+-----------------------------------------------------------+
| Welcome to puppeth, your Evrynet private network manager |
| |
| This tool lets you create a new Evrynet network down to |
| the genesis block, bootnodes, miners and ethstats servers |
| without the hassle that it would normally entail. |
| |
| Puppeth uses SSH to dial in to remote servers, and builds |
| its network components out of Docker containers using the |
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of