If you’ve ever wanted to analyze your own health data, here’s how.
- Open the Health app.
- Tap on your profile in the top right.
- Tap Export All Health Data.
- Share the archive with yourself (e.g. via AirDrop, Files, Mail, etc.).
If you’ve ever wanted to analyze your own health data, here’s how.
Public-key infrastructure (PKI) is an umbrella term for everything that has to do with keys and certificates.
This is a quick overview of the important stuff.
Public-key cryptography involves a key pair: a public key and a private key. Each entity has their own. The public key can be shared around, the private key is secret.
class CQueue: | |
def __init__(self, k=0.5): | |
self.q = [] | |
self.m = 0 | |
self.k = k | |
def enqueue(self, v): | |
self.q.append(v) | |
def dequeue(self): |
import sys | |
import unicodedata | |
for c in sys.stdin.read(): | |
utf8 = c.encode("utf-8").hex().upper() | |
code_point = ord(c) | |
name = unicodedata.name(c, "") | |
print(f"{c}\t0x{utf8}\tU+{code_point:04X}\t{name}") |