- index.html
- style.css
- js.js
- mailer.php
| /* | |
| * @fileoverview Program to free the content in kindle books as plain HTML. | |
| * | |
| * This is largely based on reverse engineering kindle cloud app | |
| * (https://read.amazon.com) to read book data from webSQL. | |
| * | |
| * Access to kindle library is required to download this book. | |
| */ | |
| // The Kindle Compression Module copied from http://read.amazon.com application |
| const MY_DOMAIN = "agodrich.com" | |
| const START_PAGE = "https://www.notion.so/gatsby-starter-notion-2c5e3d685aa341088d4cd8daca52fcc2" | |
| const DISQUS_SHORTNAME = "agodrich" | |
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndApply(event.request)) | |
| }) | |
| const corsHeaders = { | |
| "Access-Control-Allow-Origin": "*", |
25/5/2020
Imagine a future where a user Alice has bitcoins and wants to send them with maximal privacy, so she creates a special kind of transaction. For anyone looking at the blockchain her transaction appears completely normal with her coins seemingly going from address A to address B. But in reality her coins end up in address Z which is entirely unconnected to either A or B.
Now imagine another user, Carol, who isn't too bothered by privacy and sends her bitcoin using a regular wallet which exists today. But because Carol's transaction looks exactly the same as Alice's, anybody analyzing the blockchain must now deal with the possibility that Carol's transaction actually sent her coins to a totally unconnected address. So Carol's privacy is improved even though she didn't change her behaviour, and perhaps had never even heard of this software.
| /* | |
| * Viktor's Roam gallery PoC v0.2 | |
| * author: @ViktorTabori | |
| * | |
| * How to install it: | |
| * - go to page [[roam/js]] | |
| * - create a node with: {{[[roam/js]]}} | |
| * - create a clode block under it, and change its type from clojure to javascript | |
| * - allow the running of the javascript on the {{[[roam/js]]}} node | |
| * - reload Roam |
| /* inline formatting, link targets and [[ ]] disappears if not active line*/ | |
| div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting, | |
| div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-string.cm-url, | |
| div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting-link, | |
| div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-hmd-barelink, | |
| div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-comment | |
| { display: none; } | |
| /* hide all html tags -- IT IS COMMENTED OUT BY DEFAULT */ | |
| /* div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-tag{ display: none; } */ |
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |