Skip to content

Instantly share code, notes, and snippets.

View pejmanjohn's full-sized avatar
🚀

Pejman Pour-Moezzi pejmanjohn

🚀
View GitHub Profile
@ziadoz
ziadoz / stripe-checkout.html
Last active December 9, 2025 10:07
Custom Stripe Checkout Button
<form action="." method="post">
<noscript>You must <a href="http://www.enable-javascript.com" target="_blank">enable JavaScript</a> in your web browser in order to pay via Stripe.</noscript>
<input
type="submit"
value="Pay with Card"
data-key="PUBLISHABLE STRIPE KEY"
data-amount="500"
data-currency="cad"
data-name="Example Company Inc"
@thiloplanz
thiloplanz / Zero_knowledge_db.md
Last active February 27, 2026 23:37
Zero-knowledge databases

Zero knowledge databases

The idea

The idea is to provide a database as a service to end users in such a way that no one except the user herself can access the data, not even the hosting provider or the database administrator.

Advantages

  • A privacy- and/or security-conscious user will have more trust in such a setup.
  • The service provider cannot be coerced to release the data they were trusted with, and he cannot be held responsible for the content he is storing.