Skip to content

Instantly share code, notes, and snippets.

View samuelgoto's full-sized avatar
💭
hello world!

Sam Goto samuelgoto

💭
hello world!
View GitHub Profile
pnpm add @atproto/dev-env
# It seems that handles have to be .test for the dev environment
curl \
  --silent \
 --show-error \
% dig -t txt _atproto.sgo.to | grep did
_atproto.sgo.to.	21600	IN	TXT	"did=did:plc:bftbdgcbe4zclvpkboe4hleq"

% curl -s "https://plc.directory/did:plc:bftbdgcbe4zclvpkboe4hleq" | jq .
{
  "@context": [
    "https://www.w3.org/ns/did/v1",
 "https://w3id.org/security/multikey/v1",
<pre class='metadata'>
Title: Federated Credential Management API
Shortname: FedCM
Level: 1
Status: w3c/CG-DRAFT
Group: fedidcg
ED: https://fedidcg.github.io/FedCM/
Repository: fedidcg/FedCM
Editor: Sam Goto, Google Inc. https://google.com, [email protected]

hello world. what would happen if i included a typogram into a github markdown file? Would github keep its annotation?

+----+
|.   |---> hello world!
+----+

Oh, yes, it does! here is what this turns into:

login.php

<html>
try {
  const credential = await navigator.credentials.store(new FederatedCredential({
    rp: "https://springer.com",
    user: {name: "David", picture: "..."}
  }));
  // do stuff
 window.location.href = "https://springer.com/?saml_resonse?" + ...;
login.php
```
<html>
try {
const credential = await navigator.credentials.store(new FederatedCredential({
rp: "https://springer.com",
user: {name: "David", picture: "..."}
}));
// do stuff
window.location.href = "https://springer.com/?saml_resonse?" + ...;

Conjunction Distribution

p q r q and r p or (q and r) p or q p or r (p or q) and (p or r) p or (q and r) <=> (p or q) and (p or r)
F F F F F F F F T
F F T F F F T F T
F T F F F T F F T
F T T T T T T T T
T F F F T T T T T
T F T F T T T T T