Skip to content

Instantly share code, notes, and snippets.

@imylomylo
imylomylo / convertkey.py
Created April 14, 2020 05:37
Convert Private Key To Bitcoin Private Key In Python
#!/usr/bin/env python3
import hashlib
import binascii
import base58
# from discord chat, credit to Alrightt github user
def WIFdecode(WIF):
b58decode = base58.b58decode(WIF)
full_privkey = binascii.hexlify(b58decode)
@imylomylo
imylomylo / android.ndk.txt
Created January 20, 2020 13:23
Android NDK
[mylo@vivo arm]$ tree -L 2
.
|-- AndroidVersion.txt
|-- MODULE_LICENSE_BSD_LIKE
|-- MODULE_LICENSE_MIT
|-- NOTICE
|-- aarch64-linux-android
| |-- bin
| |-- lib
| `-- lib64
@imylomylo
imylomylo / gist:19465a6dc60c1cafdde5174844e2cd4a
Created January 20, 2020 02:57
HUSH3 & VRSC dPoW January 2020
#VRSC
cd $HOME
git clone https://github.com/VerusCoin/VerusCoin.git
cd VerusCoin
git checkout v0.6.0-7
./zcutil/build.sh -j4
# from webworker
#HUSH3
@imylomylo
imylomylo / arch_installation.md
Created October 15, 2019 17:39 — forked from eltonvs/arch_installation.md
Arch Linux step to step installation guide

Arch Linux Installation Guide

This guide will show step-by-step how to Install Arch Linux on UEFI mode.

Table of Contents

  • Bootable Flash Drive
  • BIOS
  • Pre installation
    • Set Keyboard Layout
    • Check boot mode
  • Update System Clock
@imylomylo
imylomylo / install.makerbot.sh
Last active September 17, 2019 14:02
Maker Bot Install From Scratch
```
1 sudo vi /etc/netplan/50-cloud-init.yaml
2 sudo netplan apply
3 sudo apt-get update
4 sudo apt-get upgrade
5 wget https://github.com/Kitware/CMake/releases/download/v3.15.3/cmake-3.15.3.tar.gz
6 tar zxvf cmake-3.15.3.tar.gz
7 cd cmake-3.15.3/
8 ./configure
9 cd
@imylomylo
imylomylo / marketmaker.docker.md
Created July 25, 2019 16:53
marketmaker docker
FROM ubuntu:18.04 as build
ENV BUILD_PACKAGES="build-essential git llvm-3.9-dev libclang-3.9-dev clang-3.9 cmake libssl-dev pkg-config jq curl"
RUN apt-get update && \
  apt-get install -y $BUILD_PACKAGES
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN /bin/bash -c "source $HOME/.cargo/env && rustup install nightly-2019-06-26 && rustup default nightly-2019-06-26 && rustup component add rustfmt-preview"
RUN git clone https://github.com/KomodoPlatform/atomicDEX-API --branch mm2 --single-branch 
RUN cd atomicDEX-API && /bin/bash -c "source $HOME/.cargo/env && cargo build --features native -vv"
@imylomylo
imylomylo / kmd.wallet.awesomeness.md
Created July 19, 2019 07:17
komodo wallet no restart awesomeness
GreerToday at 2:45 AM
Steps to AJSS awesomesauce:

cd ~/komodo
git checkout FSM
git clean -fdx #you will lose any changes that you have made in this repo
./zcutil/build.sh -j(nproc)
ln -s ~.komodo/pubkey.txt ~/komodo/src #you may do this differently
komodo-cli stop
@imylomylo
imylomylo / ltc.md
Created July 19, 2019 06:54
install litecoin

requirements

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev git libdb-dev libdb++-dev

get & build src

cd ~ ; git clone https://github.com/litecoin-project/litecoin.git -b 0.15 ; cd litecoin ; ./autogen.sh ; ./configure --without-miniupnpc --without-gui --with-incompatible-bdb ; make -j$(nproc) ; sudo ln -s /home/$USER/litecoin/src/litecoind /usr/local/bin/litecoind ; sudo ln -s /home/$USER/litecoin/src/litecoin-cli /usr/local/bin/litecoin-cli
@imylomylo
imylomylo / mm2.komodo.md
Created July 19, 2019 04:27
komodo-installed-marketmaker-install
$ sudo apt-get install build-essential git llvm-3.9-dev libclang-3.9-dev clang-3.9 libssl-dev pkg-config
[sudo] password for mylo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu2).
git is already the newest version (1:2.17.1-1ubuntu0.4).
The following additional packages will be installed:
@imylomylo
imylomylo / installrust.md
Created July 19, 2019 04:24
mm2 - install rust

Get rust setup script & run

$ curl https://sh.rustup.rs -sSf | sh
info: downloading installer

Welcome to Rust!

This will download and install the official compiler for the Rust programming 
language, and its package manager, Cargo.