Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mark-stopka on github.
  • I am markstopka (https://keybase.io/markstopka) on keybase.
  • I have a public key ASBuNRAXtdCXjnvnzMY075GLIQHzjAuvS4ZuaFhO5l-TGAo

To claim this, I am signing this object:

#!/system/bin/sh
su
/system/bin/lpm.orig &
while [ true ]; do
sleep 1
ps | grep lpm.orig && sleep 3 && /system/bin/reboot
done
cpuminer.exe -a cpupower -o stratum+tcp://cpupower.mine.zergpool.com:4250 -u qqrxnzqp98r2cf3cchlykzry2aau2rrzc50yu69vth.VERCA-NTB -p c=BCH,d=0.16
pause
@mark-stopka
mark-stopka / gist:626463e73444116045a54247c4be78f6
Created February 20, 2020 00:34
Jormungandr Genesis Decompression Benchmark
[mark_stopka@nlgc-bltn-docker-host-01 block0]$ time gzip -d -c 8e4d2a343f3dcf9330ad9035b3e8d168e6728904262f2c434a4f8f934ec7b676.block0.gz > /dev/null
real 0m0.454s
user 0m0.348s
sys 0m0.016s
[mark_stopka@nlgc-bltn-docker-host-01 block0]$ time bzip2 -d -c 8e4d2a343f3dcf9330ad9035b3e8d168e6728904262f2c434a4f8f934ec7b676.block0.bz2 > /dev/null
real 0m2.968s
user 0m2.767s
blockRecvCnt: 0
lastBlockContentSize: 0
lastBlockDate: "20.16766"
lastBlockFees: 0
lastBlockHash: 6745de41f8e1f6cb9ebd92a2fa900de01feda1415ee56220d070ee7d7275939d
lastBlockHeight: "66364"
lastBlockSum: 0
lastBlockTime: "2020-01-03T04:32:29+00:00"
lastBlockTx: 0
lastReceivedBlockTime: ~
#!/bin/bash
CONTAINER_ID=$1
docker logs ${CONTAINER_ID} >& ../logs/${CONTAINER_ID}.info.log
grep -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]:[0-9].)" \
../logs/${CONTAINER_ID}.info.log > ../logs/${CONTAINER_ID}.ip-port.log
grep -E -o "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" \
../logs/${CONTAINER_ID}.ip-port.log > ../logs/${CONTAINER_ID}.ip.log
7.72 ms 35.241.28.228
8.45 ms 147.32.94.176
11.2 ms 89.185.227.32
11.4 ms 46.28.109.240
12.3 ms 46.36.37.145
13.5 ms 46.36.38.61
14.2 ms 185.91.116.188
14.3 ms 185.183.107.218
14.6 ms 172.104.250.194
14.6 ms 172.105.93.24
0x056f53bae6331a41dd03b9066395849cbea25a16

Why this list?

Cardano Incentivized Testnet is now undergoing a major upgrade and perhaps even an extension, as Shelley Incentivized Testnet rewards ran out, unoficial vote is going on as to if Shelley Incentivized Testnet should transform info more long-lived, more generic Cardano Incentivized Testnet. The informal part of the vote is for pool operators who are a major requirement for the network to keep running to keep their nodes up even without being paid incentives... that is taking place right now!

However! Formal vote using on-chain governance will take place later, that will require the network operators to upgrade to Jormungandr 0.9.0, this version of Jormungandr node was until yesterday not network compatible with 0.8.x releases, that has changed during period between 20-Jun-2020 and 21-Jun-2020, now Jormungandr 0.9.0-rc1-2715361c is able to communicate with 0.8.19 version of Jormungandr, this version however still doesn't support voting,

@mark-stopka
mark-stopka / e3372_openwrt_setup.md
Created October 17, 2020 15:32 — forked from aliicex/e3372_openwrt_setup.md
Using the Huawei E3372 4G Dongle with OpenWRT

Hardware requirements:

USB modem - Huawei E3372h-153/E3372s-153 (in StickMode; non-HiLink)

Firmware versions beginning with 21.xxx.xx.xx.xx NOT 22.xxx.xx.xx.xx

Router running OpenWRT; I use:

  • GL.iNet AR750S firmware v3.022
  • OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.196.56128-9112198)