git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
function levenshtein(s1, s2) { | |
// http://kevin.vanzonneveld.net | |
// + original by: Carlos R. L. Rodrigues (http://www.jsfromhell.com) | |
// + bugfixed by: Onno Marsman | |
// + revised by: Andrea Giammarchi (http://webreflection.blogspot.com) | |
// + reimplemented by: Brett Zamir (http://brett-zamir.me) | |
// + reimplemented by: Alexander M Beedie | |
// * example 1: levenshtein('Kevin van Zonneveld', 'Kevin van Sommeveld'); | |
// * returns 1: 3 |
var levenshtein = function(str1, str2) { | |
str1 = str1.split(""); | |
str2 = str2.split(""); | |
var distance = [], | |
l = str1.length, | |
m = str2.length, | |
i, j; | |
for( i = 0; i <= l; i++ ) { |
Some changes are needed to build on debian because of the switch of the guest OS to bionic.
lxc that comes with debian is not high enough version to support bionic (the minimum is 2.1.1), so need to build from scratch.
debootstrap that comes with debian will give the following error:
$ bin/make-base-vm --lxc --suite bionic --arch amd64
E: No such script: /usr/share/debootstrap/scripts/bionic
This approach is fairly manual, requires the command line, and requires a patched version of Bitcoin Core.
Note: For this guide, code lines prefixed with $
means that the command is typed in the terminal. Lines without $
are output of the commands.
I am not liable for any coins that may be lost through this method. The software mentioned may have bugs. Use at your own risk.