Skip to content

Instantly share code, notes, and snippets.

View h4x3rotab's full-sized avatar

h4x3rotab

View GitHub Profile

Linking my account h4x3rotab on GitHub with my address 5DFG7GbJu6BrVkt4EAgnMjyDGZosdTd7uxKU4VJLZJ8MqpLh on Substrate in mycryptoprofile.io, and the challenge code is: 5cab6a89d5f86210473b69a6aaaec99e. #LitentryVerifyMyAddress

Linking my account h4x3rotab on GitHub with my address 5DFG7GbJu6BrVkt4EAgnMjyDGZosdTd7uxKU4VJLZJ8MqpLh on Substrate in prod.mycryptoprofile.io, and the challenge code is: bb4d286c87a516202d342a5a8603d0b2. #LitentryVerifyMyAddress
@h4x3rotab
h4x3rotab / instructions.md
Last active March 31, 2021 11:41
Start pahla collator

Deploy ElectrumX Server On Ubuntu

Here are the steps required to run electrumX for BitcoinGold wallet ElectrumG. Replace the variables according to your setup.

  • $username is the username under which electrumX will run
  • $rpcuser$ and $rpcpass are form the conf of bitcoindgold.conf

Before run

Make sure you have at least 30G ~ 40G free space on your device, and you have enabled txindex=1 in bitcoingold.conf

@h4x3rotab
h4x3rotab / tinc-pre.md
Last active March 30, 2020 21:05 — forked from azrdev/tinc-pre.md
build tinc-1.1pre .deb package on raspbian

Follow https://wiki.debian.org/SimpleBackportCreation for https://packages.debian.org/experimental/tinc (which is currently 1.1pre17)

sudo apt-get install packaging-dev debian-keyring devscripts equivs

Don't add experimental to your sources.list, its gpg keys are not in raspbian. Instead, get the source package (.dsc and tinc source code) manually: On https://packages.debian.org/experimental/tinc look for the "source package" link in the box on the right side; it is currently labeled [tinc_1.1~pre17-1.1.dsc]. Then use that link to get the .dsc and the source code, and continue with the debian backport guide:

dget http://deb.debian.org/debian/pool/main/t/tinc/tinc_1.1~pre17-1.1.dsc
did:muport:QmWUZPQxyh2ucRSGs1SCBnCHbgKbBt6b3112s4uVZPkafb
@h4x3rotab
h4x3rotab / keybase.md
Created September 13, 2019 05:06
keybase.md

Keybase proof

I hereby claim:

  • I am h4x3rotab on github.
  • I am h4x3rotab (https://keybase.io/h4x3rotab) on keybase.
  • I have a public key whose fingerprint is 02EC D7F2 1ABE A88B 4270 CB2A 38EE 12EB 597B 4FC0

To claim this, I am signing this object:

@h4x3rotab
h4x3rotab / miner_addr.py
Last active January 26, 2018 06:54
Analysis of stolen coins from a miner's wallet
import decimal
import requests
# load all related transactions
target = 'GRTi7YMuJvMFJbcbp8a4YnjKTZ6UJBpGJA'
rsps = [requests.get('http://explorer.bitcoingold.org/insight-api/txs/?address=%s&pageNum=%d'
% (target, i)) for i in range(8)] # 8 pages in total. got it manually
all_data = [resp.json() for resp in rsps]
# PMX 2.0 file format #
This is a description of the PMX file format. This is used for 3D models in Miku Miku Dance (MMD).
Since I couldn't find any English descriptions of the PMX file format, I've made this, which is translated from http://gulshan-i-raz.geo.jp/labs/2012/10/17/pmx-format1/. I haven't used this file format yet, so please don't ask me what everything means.
An English guide to the PMD file format, which preceeded PMX, can be found here: http://mikumikudance.wikia.com/wiki/MMD:Polygon_Model_Data.
If you want to learn more, there are some open source projects on GitHub which can read this format, so go take a look at them.
Note: fields with type text begins with an int (32 bit) with how many bytes of text the section is.