Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# Quick and dirty demonstration of CVE-2014-0160 by
# Jared Stafford ([email protected])
# Modified so that it finds cookies
import sys
import struct
import socket
import time
import select
@pims
pims / vectorsearch.html
Created October 10, 2024 13:34 — forked from raidendotai/vectorsearch.html
In-browser, local vector similarity search, powered by pglite
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Semantic Search Demo</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css"
rel="stylesheet"
/>