Skip to content

Instantly share code, notes, and snippets.

View mnzaki's full-sized avatar

Mina Nagy Zaki mnzaki

  • Alexandria, Egypt
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mnzaki on github.
  • I am mnzaki (https://keybase.io/mnzaki) on keybase.
  • I have a public key ASCtOn0tyKriXYIU5d893Viml35SSnE-Ph0Vmmej9QYdcgo

To claim this, I am signing this object:

@mnzaki
mnzaki / satellite_over_did.md
Created October 18, 2021 16:57
Satellite over DID

Bluesky Satellite

To keep things decentralized, control over each identity must be ambiently verifiable. This means that verifying control of the identity can be done anywhere, anytime, without a need to contact a central authority (or ledger!)

Technically this is implemented using Public Key Cryptography. Each identity is named by its associated public key. Each identity declares which other identities it is linked to. A link between two identities is only valid if both identities link to each

@mnzaki
mnzaki / qasurvey-backend.js
Last active October 18, 2021 16:56
Simple mock backend for a questions/answers app
/**
* Quick test
*
$ node
> b = require('./qasurvey-backend')
> b.submitAnswer(20, 'Yes').catch(console.error)
> b.submitAnswer(20, 'No').catch(console.error)
> b.submitAnswer(1337, 'Maybe').catch(console.error)
> b.fetchRoom(20).then(r => b.submitAnswer(r.id, 'Yes')).then(console.log).catch(console.error)
*/