Skip to content

Instantly share code, notes, and snippets.

View meyer9's full-sized avatar
🏠
Working from home

Julian Meyer meyer9

🏠
Working from home
View GitHub Profile
@meyer9
meyer9 / robin.id_ed25519.pub
Created November 15, 2021 22:31
robin.local ssh pubkey
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHeLs8uCaj+8n5HEUWaKeYGdiKy5zWQaSKAvmUKw6n0R meyer9@robin.local
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAXPwFJJeHRHPksRlg9Wm9wn1hSKWO30OX+N/bC6z+kR meyer9@owl
@meyer9
meyer9 / fbr.sh
Created August 17, 2020 19:28
fbr.sh - Find a branch by name/author/time
fbr() {
local branches branch
branches=$(git for-each-ref --sort=-committerdate --sort=-author --format "%(refname:lstrip=-1) - %(authorname)" --color=always refs/heads) &&
branch=$(echo "$branches" | fzf +s +m -e) &&
git checkout $(echo "$branch" | sed "s: - .*::")
}
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMwaIWXrcMN2pyxwlrNoJh0nF83EXlyJzsD8+LWvL5G8c9H43hbr9wcVURZ6Xq5tJR6gsyZfXjfEToP7/Ro8e6/WHQ3dnXzp5MfOvyU/PBIanfT4UO6NzkYx/VGTghcUBm7Ch8T/09BacGgCFopJuUdU58BTQFS4/RUU2bdC47h19WdiJRUxRQziHVoNmC1u29z9dgzQBFOAfEJUdHgucurjIFKpKO5Yl32g1DzSWh4fADE9rG6KPtvKrWVMXsdv6RZj8Qxt8gtkViTpIJr+vxb2q2Bh23OCJ81s1VCv71DFmGQ6FbFDKe4Bo9Q5BuAFjjYIJNTbC8erwXXTUTaHBl meyer9@flamingo
@meyer9
meyer9 / ipfs.go
Created September 22, 2019 02:03
IPFS code to retrieve a file
package main
import (
"context"
"fmt"
"image/jpeg"
"log"
"path/filepath"
files "github.com/ipfs/go-ipfs-files"
@meyer9
meyer9 / instructions.md
Created May 13, 2019 02:26
How to start the Phore Synapse blockchain
@meyer9
meyer9 / key-generation.md
Last active May 8, 2019 01:57
Phore Synapse Key Generation

Steps for Synapse Testnet

DEADLINE: Friday, May 10, 2019 at 9 PM PST

This document details the steps required to register validators for the Synapse testnet. Note that the main net will use a different method of registering validators based on deposits from the current Phore chain.

Note that this can be run on your local computer. All this program does is generate a file with public keys for your validator block.

Step 1: Generate a random key

@meyer9
meyer9 / transactioncoding.py
Last active March 7, 2024 21:54
Bitcoin transaction decoding/encoding
import sys
import struct
WITNESS = 1
from test_framework.script import *
class RawTransaction:
def __init__(self, tx_data):
self.tx_data = bytearray.fromhex(tx_data)
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDdN41lde3vUp+u1P434DIiai0kMgL+KEq7FAbI0PYwlZnnl5Oq7Fio8lK0QYl42Eiqpczcimn6GFiEeOmd21FP5Ens5yYhV0trfe2mjULf0EavPqCK+41nHoVZzJZDHsBWrldRhojQNEVCQJOO5X7nmg7/saZv4/mmiWZ2qchkraHc5bJMeOkmdSy7grk3c3JvCYTAXxBKUcuofTJnmJmgr7+K00wSVSMk7B/4HesyBusDkqA6QSl0omZFlyw07u8cgUmmp4bKoexY/JZ5AayRIzisTNMQm7sZ1Fge3NhwSukzTQcRyc+8hScGdzTBqrNIKBbE0mJuS8m+dXB+Q3CJ julian@cameran-desktop

Keybase proof

I hereby claim:

  • I am meyer9 on github.
  • I am meyer9 (https://keybase.io/meyer9) on keybase.
  • I have a public key ASBtv1P2LiSqJjlEGYODoIYvXSsmRh5DzbNj73Z6RHqO0go

To claim this, I am signing this object: