Skip to content

Instantly share code, notes, and snippets.

@Rav3nPL
Rav3nPL / gist:562ea3960494e9c02e7d
Last active August 29, 2015 14:13
Foldit Mutate Combo v2.1
--[[
Mutate Combo v2 by rav3n_pl
2 ways of mutate:
random:
- randomly choose sphere around mutable segment and mutate in random CI
brute force:
- check all possible aas for every mutable sgmnt
]]--
@Rav3nPL
Rav3nPL / gist:a5836333e0b4f3d3b5e4
Created January 13, 2015 20:25
Foldit GAB v2.2 filters
--[[
GAB - Genetic Algorithm on Bands
by Rav3n_pl
based on CartoonVillan and Crashguard303 scripts
Lua V2
Definitions:
band: randomised: start segment, end segment, length, strength
critter: set of bands
herd: set of critters
@Rav3nPL
Rav3nPL / DRW v4
Last active August 29, 2015 14:13
Foldit DRW v4
--[[
Rav3n_pl Deep Rebuild v4.x LUA V2
WARNING!
1) Script uses save slots 3-10!!!
2) Best score are always in slot 3
Description:
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).
@Rav3nPL
Rav3nPL / idelize v1
Created February 11, 2015 12:05
Foldit Simple Idelize v1
--[[
Simple Idealize v1
Script is idealizing pair of segments then wiggle
]]--
sgc=structure.GetCount()
p=print
score=current.GetEnergyScore
for i=1,sgc-1 do
p(i.." of "..sgc.." score: "..score())
Verifying that +rav3n_pl is my blockchain ID. https://onename.com/rav3n_pl

Keybase proof

I hereby claim:

  • I am rav3npl on github.
  • I am rav3n_pl (https://keybase.io/rav3n_pl) on keybase.
  • I have a public key ASA2rlqdFcHsfheYSYWTGQbZL7wuXLbZD92bafZs1Yaq3go

To claim this, I am signing this object:

@Rav3nPL
Rav3nPL / bip39pl.py
Created September 11, 2018 11:30
Filtrowanie słów na potrzebę bip39 w wersji pl
litery=[]
slowa=[]
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:
@Rav3nPL
Rav3nPL / foldit lua help.txt
Created March 29, 2020 21:10
Fold.it LUA functions for scripting
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
Rav3nPL / update161.sh
Created April 24, 2020 16:32
TecraCoin 1.6.1 linux update script
#!/bin/bash
echo "Pobieram tecracoind 1.6.1 z github..."
wget -c -nv https://github.com/tecracoin/tecracoin/releases/download/v1.6.1/tecracoin-1.6.1-x86_64-linux-gnu.tar.gz
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
Rav3nPL / bitcoin-address-fixer.py
Created August 19, 2020 11:22
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 bitcointalk.org
# in reference to: https://bitcointalk.org/index.php?topic=1026.0
# Edited By/Author Josh Lee PyTis.com,
#
# Cut and remake to troll address fixer by rav3n_pl :)
#
# WARNING!
#