244 commits | 15 consecutive days | 213 files changed | +29,506 / -9,234 lines | 52 new test files
| Type | Count |
|---|---|
| Bug fixes | 154 |
| Features | 49 |
| Performance | 17 |
| Tests | 5 |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # ============================================ | |
| # Config | |
| # ============================================ | |
| APP_USER="${APP_USER:-${SUDO_USER:-pi}}" | |
| APP_GROUP="${APP_GROUP:-${APP_USER}}" | |
| HOME_DIR="$(getent passwd "${APP_USER}" | cut -d: -f6)" | |
| APP_DIR="${APP_DIR:-${HOME_DIR}/inky-app}" |
| # 1) Copy your files to the Pi (adjust path/host as needed) | |
| # Put setup-inky-app.sh, main.py, requirements-2.txt in the same folder. | |
| # From your local machine: | |
| # scp setup-inky-app.sh main.py requirements-2.txt pi@raspberrypi.local:/home/pi/ | |
| # 2) SSH into the Pi: | |
| # ssh pi@raspberrypi.local | |
| # 3) Run the setup (as root): | |
| sudo bash ./setup-inky-app.sh |
| from deepsearcher.configuration import Configuration, init_config | |
| from deepsearcher.online_query import query | |
| config = Configuration() | |
| # Customize your config here, | |
| # more configuration see the Configuration Details section below. | |
| config.set_provider_config("llm", "OpenAI", {"model": "gpt-4o-mini"}) | |
| #config.set_provider_config("embedding", "OpenAIEmbedding", {"model", "text-embedding-ada-002"}) | |
| config.set_provider_config("embedding", "MilvusEmbedding", {"model": "jina-embeddings-v3"}) |
| import OpenAI from "npm:openai"; | |
| const openai = new OpenAI(); | |
| import { encode } from "https://deno.land/std@0.206.0/encoding/base64.ts"; | |
| async function main() { | |
| // Ensure a file path argument is provided | |
| if (Deno.args.length === 0) { | |
| console.error("Usage: deno run --allow-read script.ts <image-file-path>"); | |
| Deno.exit(1); | |
| } |
| #!/bin/bash | |
| # Make the script executable | |
| chmod +x install.sh | |
| # Install Python dependencies | |
| echo "Installing Python dependencies from requirements.txt..." | |
| pip install -r requirements.txt | |
| # Check and install Ghidra if needed |
| #!/bin/bash | |
| sudo apt update | |
| sudo apt install fuse libfuse3-dev libicu-dev bzip2 libbz2-dev cmake git libattr1-dev zlib1g-dev g++ | |
| sudo snap install cmake --classic | |
| git clone https://github.com/sgan81/apfs-fuse.git | |
| cd apfs-fuse | |
| git submodule init | |
| git submodule update |
| $(: !550 ) idle3.10 | |
| 2023-04-24 14:24:52.856 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:24:53.243 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.062 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.076 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.168 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.179 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.184 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.195 Python[69630:507872] +[CATransaction synchronize] called within transaction | |
| 2023-04-24 14:32:36.201 Python[69630:507872] +[CATransaction synchronize] called within transaction |