via: Computer-Science-Glossary
| 英文 | 译法 1 | 译法 2 | 译法 3 |
|---|---|---|---|
| a block of pointers | 一块指针 | 一组指针 | |
| abbreviation | 缩略语 |
| """A basic database set-up for Travis CI. | |
| The set-up uses the 'TRAVIS' (== True) environment variable on Travis | |
| to detect the session, and changes the default database accordingly. | |
| Be mindful of where you place this code, as you may accidentally | |
| assign the default database to another configuration later in your code. | |
| """ | |
| import os |
| # To run this file you will need to open Powershell as administrator and first run: | |
| # Set-ExecutionPolicy Unrestricted | |
| # Then source this script by running: | |
| # . .\install_python.ps1 | |
| $save_dir=Resolve-Path ~/Downloads | |
| $project_dir = "C:\Projects" | |
| $virtualenv_dir = $project_dir + "\virtualenvs" | |
| $client = New-Object System.Net.WebClient |
via: Computer-Science-Glossary
| 英文 | 译法 1 | 译法 2 | 译法 3 |
|---|---|---|---|
| a block of pointers | 一块指针 | 一组指针 | |
| abbreviation | 缩略语 |
| # create folders if does not exist | |
| mkdir -p ~/.fonts | |
| mkdir -p ~/.config/fontconfig/ | |
| # download noto color emoji font from https://www.google.com/get/noto/#emoji-zsye-color | |
| # extract NotoColorEmoji.ttf file into ~/.fonts/ | |
| # create font config file | |
| cat << 'EOF' > ~/.config/fontconfig/fonts.conf | |
| <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
| [void][Windows.Networking.Connectivity.NetworkInformation, Windows, ContentType = WindowsRuntime] | |
| $cost = [Windows.Networking.Connectivity.NetworkInformation]::GetInternetConnectionProfile().GetConnectionCost() | |
| $cost.ApproachingDataLimit -or $cost.OverDataLimit -or $cost.Roaming -or $cost.BackgroundDataUsageRestricted -or ($cost.NetworkCostType -ne "Unrestricted") |
| $GuardianName = 'UntrustedGuardian' | |
| $CertificatePassword = Read-Host -Prompt 'Please enter a password to secure the certificate files' -AsSecureString | |
| $guardian = Get-HgsGuardian -Name $GuardianName | |
| if (-not $guardian) | |
| { | |
| throw "Guardian '$GuardianName' could not be found on the local system." | |
| } |
| function Write-Log($msg) { Write-Host $msg -ForegroundColor Yellow } | |
| Write-Log "Checking for metered network connections..." | |
| [int]$MeteredAdapterCount = 0 | |
| $UserCostEnum = @{ | |
| 0 = "Metering Disabled" | |
| 2 = "Metering Enabled" | |
| } | |
| #region Data Usage Service |
官网:https://pi.dev GitHub:badlogic/pi-mono
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.