Skip to content

Instantly share code, notes, and snippets.

Avatar

Mika Feiler mkf

View GitHub Profile
View swapreplace.pl
nth([],_,_) :- !, fail.
nth([X],0,X).
nth([_],0,_) :- !, fail.
nth([X|_],0,X).
nth([_|_],0,_) :- !, fail.
nth([_|Rest],Index,X) :- NewIndex is Index-1, nth(Rest,NewIndex,X), !.
onpos(B,[I],X) :- nth(B,I,X).
onpos(B,[I|R],X) :- nth(B,R,A), !, onpos(A,R,X), !.
%onpos(Board,[Rank, File],X) :- nth(Board,Rank,Elements), !, % if we have the nth rank already, there is no other nth rank in Board
% nth(Elements, File, X), !.
View gist:51f8d2541d58da7479c8f778160925fc
mf  ~  java -Dorg.slf4j.simpleLogger.defaultLogLevel=TRACE -jar Pobrane/wallet-key-tool-1.4.2.jar
[Thread-0] INFO prof7bit.bitcoin.wallettool.core.WalletKeyTool - trying import strategy WalletDumpHandler
[Thread-0] DEBUG prof7bit.bitcoin.wallettool.fileformats.WalletDumpHandler - trying to read file: /home/mf/wallet.aes.json
[Thread-0] INFO prof7bit.bitcoin.wallettool.core.WalletKeyTool - WalletDumpHandler said: file did not contain any keys
[Thread-0] TRACE prof7bit.bitcoin.wallettool.core.WalletKeyTool - attempt to use WalletDumpHandler failed
java.lang.Exception: file did not contain any keys
at prof7bit.bitcoin.wallettool.fileformats.WalletDumpHandler.readLines(WalletDumpHandler.java:168)
at prof7bit.bitcoin.wallettool.fileformats.WalletDumpHandler.readUnencrypted(WalletDumpHandler.java:96)
at prof7bit.bitcoin.wallettool.fileformats.WalletDumpHandler.load(WalletDumpHandler.java:54)
at prof7bit.bitcoin.wallettool.core.WalletKeyTool.tryLoadWithStrategy(WalletKeyTool.java:
@mkf
mkf / mmih.go
Created Aug 6, 2017
miscale-manual-input-helper
View mmih.go
package main
import (
"bufio"
"encoding/csv"
"errors"
"fmt"
"os"
"regexp"
"strconv"
View keybase.md

Keybase proof

I hereby claim:

  • I am archiet on github.
  • I am archiet (https://keybase.io/archiet) on keybase.
  • I have a public key ASD22eHOXLNuyWFznqgEyKQ-3aJHQhD4pKL0WgdNvE7I_wo

To claim this, I am signing this object:

@mkf
mkf / openpgp.txt
Created Mar 19, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]
@mkf
mkf / openpgp.txt
Created Mar 19, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]
@mkf
mkf / openpgp.txt
Created Feb 27, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]
@mkf
mkf / openpgp.txt
Created Feb 26, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]
@mkf
mkf / openpgp.txt
Created Feb 26, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]
@mkf
mkf / openpgp.txt
Created Feb 26, 2017
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:6acf4fcee9bcde975c814a49599d6671880d22d6]