Skip to content

Instantly share code, notes, and snippets.


Dhruv Mehta dhruv

View GitHub Profile
dhruv /
Last active Jul 26, 2021

Authenticated seeds


This document proposes two paths to Bitcoin seed node authentication to facilitate conversation about the pros and cons of each.

Background and motivation


View BIPoverhaul.mediawiki

  BIP: 324
  Layer: Peer Services
  Title: Version 2 Peer-to-Peer Message Transport Protocol
  Author: Jonas Schnelli <>
  Status: Draft
  Type: Standards Track
  Created: 2019-03-08
  License: PD

dhruv /
Created Sep 10, 2020 — forked from piscisaureus/
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

dhruv /
Created Apr 8, 2020 — forked from ibaiul/
Configure the protonmail bridge linux client on CentOS server and Fedora

Protonmail on CentOS server

#protonmail #centos #fedora #linux

Before you start

Currently protonmail bridge for linux is distributed as part of an open beta program, but soon it will be made public (

Consider that the bridge linux client requires a paid protonmail account to work.

Get the protonmail bridge linux installer

dhruv /
Created Nov 7, 2018 — forked from drmalex07/
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward


Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

Description=Setup a secure tunnel to %I

Python Number Conversion Chart

From To Expression