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 / 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 / instructions.md
Created May 13, 2019 02:26
How to start the Phore Synapse blockchain
@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"
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMwaIWXrcMN2pyxwlrNoJh0nF83EXlyJzsD8+LWvL5G8c9H43hbr9wcVURZ6Xq5tJR6gsyZfXjfEToP7/Ro8e6/WHQ3dnXzp5MfOvyU/PBIanfT4UO6NzkYx/VGTghcUBm7Ch8T/09BacGgCFopJuUdU58BTQFS4/RUU2bdC47h19WdiJRUxRQziHVoNmC1u29z9dgzQBFOAfEJUdHgucurjIFKpKO5Yl32g1DzSWh4fADE9rG6KPtvKrWVMXsdv6RZj8Qxt8gtkViTpIJr+vxb2q2Bh23OCJ81s1VCv71DFmGQ6FbFDKe4Bo9Q5BuAFjjYIJNTbC8erwXXTUTaHBl meyer9@flamingo
@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-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAXPwFJJeHRHPksRlg9Wm9wn1hSKWO30OX+N/bC6z+kR meyer9@owl
@meyer9
meyer9 / robin.id_ed25519.pub
Created November 15, 2021 22:31
robin.local ssh pubkey
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHeLs8uCaj+8n5HEUWaKeYGdiKy5zWQaSKAvmUKw6n0R [email protected]