Skip to content

Instantly share code, notes, and snippets.

Avatar

Captain Mylo imylomylo

View GitHub Profile
View tx.json
{
"txid": "b20c02b2b6be5cea7951a453676b2b66be0e879b074ac6e8eb39c1363cb01d22",
"version": 4,
"locktime": 1597476969,
"confirmations": 6848,
"notarized": false,
"height": 26204,
"lastNotarizedHeight": 0,
"vin": [
{
@imylomylo
imylomylo / changepassword.sh.j2
Created Jul 29, 2020 — forked from elleryq/changepassword.sh.j2
Create Django super user in ansible
View changepassword.sh.j2
#!/usr/bin/expect
set timeout -1;
spawn {{django_dir}}/venv/bin/python manage.py changepassword {{admin_user}};
expect {
"Password:" { exp_send "{{admin_pass}}\r" ; exp_continue }
"Password (again):" { exp_send "{{admin_pass}}\r" ; exp_continue }
eof
}
View keybase.md

Keybase proof

I hereby claim:

  • I am imylomylo on github.
  • I am mylonas (https://keybase.io/mylonas) on keybase.
  • I have a public key ASBtx-3MIaMPeCamu_zbXwO8KBeBDMDmab-Cfkc5wHfpFwo

To claim this, I am signing this object:

View nn_benchmark.sh
#!/bin/bash
UTXO_TX=$(time (~/komodo/src/komodo-cli listunspent | jq '. | { "utxos" : length }' && ~/komodo/src/komodo-cli getwalletinfo | jq '{ "txcount" : .txcount }') | jq -s add)
CPU_MODEL=$(cat /proc/cpuinfo | grep -m 1 "model name" | awk -F ':' '{print $2}')
MEM=$(free | grep Mem | awk '{print $2}')
SWAP=$(free | grep Swap | awk '{print $2}')
PROCESSES=$(ps aux | wc -l)
HDD_RW=$(sudo hdparm -Tt --direct /dev/nvme0n1 )
@imylomylo
imylomylo / kava.install.md
Created Jun 10, 2020
Kava Install Mainnet CDP Upgrade
View kava.install.md
Modified from https://medium.com/kava-labs/kava-testnet-4000-guide-2e47565dc890
& https://github.com/Kava-Labs/kava/blob/master/contrib/kava-3/migration.md
# Updates ubuntu
sudo apt update
sudo apt upgrade -y
# Installs packages necessary to run go
@imylomylo
imylomylo / gist:0e9d445879d7d4a0a88e22f8451d761e
Last active May 17, 2020
Node catching up with peers with forks
View gist:0e9d445879d7d4a0a88e22f8451d761e
```
~/VerusCoin/src$ kmd -ac_name=VRSC getpeerinfo
[
{
"id": 1,
"addr": "167.xxx:27485",
"addrlocal": "43.xxx",
"services": "0000000000000005",
"lastsend": 1589688213,
View miner_zcash.yml
---
- hosts: [miner_zcash, tag_Name_zmine, zmine*]
become_method: sudo
become_user: root
become: true
strategy: free
vars:
stratum_uri: zec-eu.suprnova.cc:2142
stratum_user: rick3_.user
stratum_password: password
@imylomylo
imylomylo / convertkey.py
Created Apr 14, 2020
Convert Private Key To Bitcoin Private Key In Python
View convertkey.py
#!/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)
View android.ndk.txt
[mylo@vivo arm]$ tree -L 2
.
|-- AndroidVersion.txt
|-- MODULE_LICENSE_BSD_LIKE
|-- MODULE_LICENSE_MIT
|-- NOTICE
|-- aarch64-linux-android
| |-- bin
| |-- lib
| `-- lib64
View gist:19465a6dc60c1cafdde5174844e2cd4a
#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
You can’t perform that action at this time.