Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
#!/usr/bin/python3 | |
# Quick and dirty ChatGPT from your command line, without any library dependencies (API key required) | |
# End your input with a line consisting of just --- | |
# Stop generating with ctrl-c | |
from urllib.request import Request, urlopen | |
import json | |
messages = [] |
log stdout | |
errors stdout | |
auto_https off | |
http://myapp.fly.dev { | |
reverse_proxy 100.120.108.62:8000 | |
} |
The set
lines
set -euxo pipefail
is short for:set -e
set -u
#!/usr/bin/env python | |
import os, os.path, stat, sys, base64 | |
# TOTP lib inlined | |
import time, hmac, base64, hashlib, struct | |
def pack_counter(t): | |
return struct.pack(">Q", t) |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
# test_camera.py | |
# | |
# Open an RTSP stream and feed image frames to 'openalpr' | |
# for real-time license plate recognition. | |
import numpy as np | |
import cv2 | |
from openalpr import Alpr | |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
This guide shows how to set up a bidirectional client/server authentication for plain TLS sockets.
Newer versions of openssl are stricter about certificate purposes. Use extensions accordingly.
Generate a Certificate Authority: