Skip to content

Instantly share code, notes, and snippets.


Rafał Kiełbus Rav3nPL

View GitHub Profile
Rav3nPL /
Created Aug 3, 2021
Script to run every hour to separate stuck masternodes for day
for BADIPS in $(/root/bin/tecracoin-cli getpeerinfo|grep -a17 'height": 46999'|grep '"addr": "'|cut -d '"' -f4|cut -d ":" -f1)
/root/bin/tecracoin-cli setban $BADIPS add 86400
Rav3nPL /
Last active Jul 26, 2021
Basics of TecraCoin console commands need for masternode update

TecraCoin console basics

QT console commands

Get new address (twice)

Get "ownerAddress" and "payoutAddress"

"ownerAddress" need to be unique - you can register only one masternode using one address.

Rav3nPL /
Created Aug 19, 2020
Want to create proper address for BURNING COINS? There is a tool for that purpose :)
#!/usr/bin/env python
# Special thanks to Gavin Andresen from
# in reference to:
# Edited By/Author Josh Lee,
# Cut and remake to troll address fixer by rav3n_pl :)
Rav3nPL /
Created Apr 24, 2020
TecraCoin 1.6.1 linux update script
echo "Pobieram tecracoind 1.6.1 z github..."
wget -c -nv
echo "Rozpakowuję..."
tar xzf tecracoin-1.6.1-x86_64-linux-gnu.tar.gz
cd tecracoin-1.6.1/bin
./tecracoin-cli clearbanned
sleep 1
Rav3nPL / foldit lua help.txt
Created Mar 29, 2020 LUA functions for scripting
View foldit lua help.txt
void print([arg1,...,argN])
boolean absolutebest.AreConditionsMet()
number absolutebest.GetEnergyScore()
number absolutebest.GetExplorationMultiplier()
number absolutebest.GetScore()
number absolutebest.GetSegmentEnergyScore(integer segmentIndex)
number absolutebest.GetSegmentEnergySubscore(integer segmentIndex, string scorePart)
void absolutebest.Restore()
integer band.Add(integer segmentOrigin, integer segmentXAxis, integer segmentYAxis, number rho, number theta, number phi, [integer atomIndexOrigin], [integer atomIndexXAxis], [integer atomIndexYAxis])
integer band.AddBetweenSegments(integer segmentIndex1, integer segmentIndex2, [integer atomIndex1], [integer atomIndex2], [integer symnr2])
Rav3nPL /
Created Sep 11, 2018
Filtrowanie słów na potrzebę bip39 w wersji pl
konc2 = ["wy", "ny", "ia", "ej", "cy"]
konc3 = ["ski", "cki"]
polish = {"ą":"a", "ć":"c","ó":"o", "ż":"z", "ź":"z", "ł":"l", "ń":"n", "ę":"e", "ś":"s"}
lines = [line.strip() for line in open("bip39pl.txt")]
for slowo in lines:

Keybase proof

I hereby claim:

  • I am rav3npl on github.
  • I am rav3n_pl ( on keybase.
  • I have a public key ASA2rlqdFcHsfheYSYWTGQbZL7wuXLbZD92bafZs1Yaq3go

To claim this, I am signing this object:

View onename verify
Verifying that +rav3n_pl is my blockchain ID.
Rav3nPL / idelize v1
Created Feb 11, 2015
Foldit Simple Idelize v1
View idelize v1
Simple Idealize v1
Script is idealizing pair of segments then wiggle
for i=1,sgc-1 do
p(i.." of "..sgc.." score: "..score())
Rav3nPL / DRW v4
Last active Aug 29, 2015
Foldit DRW v4
View DRW v4
Rav3n_pl Deep Rebuild v4.x LUA V2
1) Script uses save slots 3-10!!!
2) Best score are always in slot 3
This is a long run re-builder. Idea is to rebuild given/found area so many times to found better position.
Each rebuild is scored on 7 different ways and saved if better.
After rebuild finishes script trying to stabilize and fuze each saved position (up to 7).