llama.cppのキャッシュディレクトリの選択はこんな感じ。優先順位順
$LLAMA_CACHEif defined,- Platform-specific defaults
- on Windows:
%LOCALAPPDATA%\llama.cpp - on Mac:
~/Library/Caches/llama.cpp/ - on Linux:
$XDG_CACHE_HOME/llama.cppif defined~/.cache/llama.cpp
- on Windows:
| DUCKDB_DIR=../duckdb-go-bindings/lib/windows-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/linux-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/darwin-arm64 | |
| CFLAGS=-I${DUCKDB_DIR} -DDUCKDB_STATIC_BUILD | |
| LDLIBS= \ | |
| -lduckdb_static \ | |
| -lautocomplete_extension \ | |
| -lcore_functions_extension \ | |
| -licu_extension \ |
| DUCKDB_DIR=../duckdb-go-bindings/lib/windows-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/linux-amd64 | |
| #DUCKDB_DIR=../duckdb-go-bindings/lib/darwin-arm64 | |
| CFLAGS=-I${DUCKDB_DIR} -DDUCKDB_STATIC_BUILD | |
| LDLIBS= \ | |
| -lduckdb_static \ | |
| -lautocomplete_extension \ | |
| -lcore_functions_extension \ | |
| -licu_extension \ |
| LDLIBS=-lduckdb | |
| main: main.c | |
| clean: | |
| rm -f *.o | |
| rm -f main |
llama.cppのキャッシュディレクトリの選択はこんな感じ。優先順位順
$LLAMA_CACHE if defined,%LOCALAPPDATA%\llama.cpp~/Library/Caches/llama.cpp/$XDG_CACHE_HOME/llama.cpp if defined~/.cache/llama.cpp| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.min.css"> | |
| <style> | |
| body { | |
| background-color: rgb(51, 51, 51); | |
| } | |
| #shell-container { | |
| width: 100%; | |
| height: 100%; | |
| } |
reviewdog/action-setup への攻撃内容を見てみよう、という話。
| #!/bin/bash | |
| set -eu | |
| device="MX Anywhere 3" | |
| get=0 | |
| resolution=1500 | |
| verbose=0 | |
| while getopts d:gr:v OPT ; do |
| int foo(); | |
| void caller() { | |
| foo(); | |
| } | |
| /* コンパイルは通る */ |
| extends: default-with-font-fallbacks | |
| font: | |
| catalog: | |
| merge: true | |
| BIZ UDPGothic: | |
| normal: BIZUDPGothic-Regular.ttf | |
| bold: BIZUDPGothic-Bold.ttf | |
| italic: BIZUDPGothic-Regular.ttf | |
| bold_italic: BIZUDPGothic-Bold.ttf |
| import java.util.List; | |
| import java.util.ArrayList; | |
| public class PnJava { | |
| int[] primes = new int[5761455]; | |
| int primeLast = 0; | |
| void addPrime(int n) { | |
| primes[primeLast] = n; |