Skip to content

Instantly share code, notes, and snippets.

View DrI-T's full-sized avatar

Doctor I·T DrI-T

View GitHub Profile
@DrI-T
DrI-T / README.md
Last active May 9, 2021 05:00
DH secret

# What's our secret ?

One can safely share a secret using DH key exchange :

 pubkey(self) = g ^ privkey mod prime
 
 secret = pubkey(otherparty) ^ privkey mod prime
@DrI-T
DrI-T / README.md
Last active May 12, 2021 05:35
IPFS issue83

issue83

Dear IPFS team, I encountered a problem crashing the ipfs daemon when some directories w/i the MFS tree are missing some some blocks.

In order to make the problem 'repeatable' I wrote the following test script, after running it every subsequent mfs command is timing out ... until you restart the daemon

@DrI-T
DrI-T / README.md
Last active May 30, 2021 07:58
holoGit

a truly distributed GIT over IPFS

Welcome to holoGIT (a serverless git repository)

now you can push your content to a repository on IPFS and have your team fetch from it without a centralized server

No more big-corporatation running machine-learning

@DrI-T
DrI-T / README.md
Last active July 21, 2021 15:15
webup.sh

upload a website to IPFS

bot

<style>img[alt=bot] { float: right; display: block; max-width: 24vw; }</style>

initial setup

Get a simple flow to upload your website on the IPFS network

  1. get a domain name
@DrI-T
DrI-T / README.md
Last active July 14, 2022 18:45
simply hostless site

This is a way to redirect a domain name the IPFS version of the site

@DrI-T
DrI-T / README.md
Last active May 19, 2021 05:09
Push any document on the global blockRing Peer to Peer Network and share it with the world
@DrI-T
DrI-T / Home.md
Last active May 19, 2021 09:53
Gist + Wiki = giski
We couldn’t find that file to show.
@DrI-T
DrI-T / INSTALL.md
Last active May 28, 2021 15:11
Locally (distributed) Wikipedia

INSTALL

Run the following commands in a bash shell; this will install a docker instance of IPFS and run the IPFS daemon within this docker.

sudo apt-get curl # you need to have <code>curl</code> installed

curl -sL https://gist.github.com/DrI-T/882ae8a852ab2bc58a333e3c6f279d03/raw/one-liner-install.sh | sh -