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:
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; |
Dockerで非永続的なPostgreSQLインスタンスを高速に起動するオプションの例
$ docker run --rm -it --name foo -p 5432:5432 --mount type=tmpfs,dst=//var/lib/postgresql/data -e POSTGRES_PASSWORD=abcd1234 postgres:14.7-alpine3.17 --fsync=off --full_page_writes=off --synchronous_commit=off元記事 https://circleci.com/blog/jan-4-2023-incident-report/
ここにまとめたのは自身が知りたかった&理解した内容であって、有ってるかどうかは保証できない。 正確な情報は元記事を自分で読むこと。
使い方
*.vim ファイルをダウンロードする(CP932で保存する):source gikozuza.vim もしくは :source moukoneyo.vim