Skip to content

Instantly share code, notes, and snippets.

@bshambaugh
bshambaugh / gist:1dd9b69688e01c295631e7dd230c4c51
Created January 26, 2023 15:12
Ultimate Ethereum Hackathon Survival Guide
https://consensys.net/developers/ultimate-hackathon-survival-guide/
https://swissintech.medium.com/ultimate-ethereum-hackathon-survival-guide-for-2023-94b2b72e17c0
https://medium.com/textileio/whats-really-happening-when-you-add-a-file-to-ipfs-ae3b8b5e4b0f
https://github.com/ipvm-wg/spec/discussions/9 (IPLD Transformations)
Ask on IPLD / IPFS Discord?
How do you cluster IPFS hashes that are most used/relevant?
It looks like with IPLD you can hash any RDF document regardless of serialization and have them point to other RDF documents.
IPLD can also hash individual pieces of data, so it looks like you could build a triplestore using the unhashed data.
https://www.youtube.com/watch?v=brTI93f73KM
Error Detection with CRC Modulo
Cyclic Redundancy Check (CRC) - Part 1
https://www.youtube.com/watch?v=A9g6rTMblz4
Cyclic Redundancy Check (CRC) - Part 2
https://www.youtube.com/watch?v=wQGwfBS3gpk
How do CRCs work?
bshambaugh
11/22/2022 7:34 PM
fwiw, I've kind of grown skeptical of how UCANs might fit into my project. I common argument I have is the chain would get to long and be too heavy for the little devices. (why not sign a chain of hashes...hash sign...hash..sign...gossip...idk my mind is tired now... if I want an adventure game if I visit one station then the next (of course I need to decide on my use case..there is more than one I give for Blinky). I did a demo at IIW and am in progress of gathering my thoughts though. Some even asked that a put together a post-demo video.
expede
11/22/2022 7:40 PM
That's too bad! I'd love to learn more about your use case!
I common argument I have is the chain would get to long and be too heavy for the little devices.
@bshambaugh
bshambaugh / gist:8d4a49b94c5255437825da02f65036cd
Created December 20, 2022 03:08
resetting apache2 and php and root password
Oh good it is done:
https://www.maketecheasier.com/reset-root-password-linux/
https://www.tomshardware.com/how-to/change-passwords-in-linux
From Synaptic:
reinstall apache2
reinstall php7
https://askubuntu.com/questions/760907/upgrade-to-16-04-php7-not-working-in-browser
@bshambaugh
bshambaugh / gist:080466728a846fd9fcb4e2c698c700c5
Created December 19, 2022 20:40
install owncloud on computer
https://doc.owncloud.com/server/next/admin_manual/installation/manual_installation/manual_installation_apache.html
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-20-04
ERROR 1045 (28000): Access denied for user 'ubuntu'@'localhost' (using password: NO)
@bshambaugh
bshambaugh / gist:eb2c994ea7c0840eea2671dcd20bf415
Created December 18, 2022 22:16
chacha ahead algorithms and JWE links
Chacha derived AEAD algorithms in JSON Object Signing and Encryption
(JOSE)
draft-amringer-jose-chacha-02
https://datatracker.ietf.org/doc/html/draft-amringer-jose-chacha-02
https://github.com/decentralized-identity/didcomm-messaging/issues/187
https://github.com/panva/jose-chacha/issues/1
https://pkg.go.dev/github.com/hyperledger/aries-framework-go/pkg/crypto/tinkcrypto
@bshambaugh
bshambaugh / gist:4d08b03f95e3ef077e8719d7146e72c8
Created December 18, 2022 22:13
connecting android phone on linux
https://www.howtoforge.com/tutorial/how-to-connect-your-android-device-on-linux/
https://forum.xda-developers.com/t/how-to-setup-mtp-under-ubuntu.2223401/
@bshambaugh
bshambaugh / gist:6eb469309e3bcfffac41712a3eb06322
Created December 14, 2022 17:12
description_of_did_jwt.txt from /home/ubuntu/Documents
'ECDH-1PU+XC20PKW'
ECDH-ES+A256KW
DID you know that I've been working to amend the did-jwt library to include support for the secp256r1 curve? Here are some interpretations of the library I chose to JOT down:
- folder signers ts files : signs an arbitrary data payload with a private key, both formatted as Uint8Arrays . returns a string of some sort.
- folder blockchains ts files: coverts public keys to Bitcoin. Cosmos, and Ethereum URIs following bip122, cosmos (bech32 encoding of ripemd hash of sha256 hashed compressed public key), and eip155.
The first:
0
0
0
0
The second: