misc
This commit is contained in:
11
git/branches & search.md
Normal file
11
git/branches & search.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
search history:
|
||||||
|
|
||||||
|
|
||||||
|
enable auto pull:
|
||||||
|
git config branch.autosetuprebase always
|
||||||
|
git config pull.rebase true
|
||||||
|
|
||||||
|
|
||||||
|
eslint runs correctly and detected some wrong JS code:
|
||||||
|
C:\Work\GatewayServer\Multicheck.GW.Web\Scripts\gatewaycustom\Company\GW.Company.Dashboard.js
|
||||||
|
241:13 error 'fuUploadInterviews' is not defined no-undef
|
20
linux/setup HA.sh
Normal file
20
linux/setup HA.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
NAME=hassio_supervisor
|
||||||
|
IMAGE=homeassistant/amd64-hassio-supervisor:latest
|
||||||
|
|
||||||
|
docker container stop hassio_audio hassio_cli hassio_dns hassio_multicast hassio_observer hassio_su>
|
||||||
|
docker rm $(docker ps --filter status=exited -q)
|
||||||
|
|
||||||
|
echo "y" | docker system prune
|
||||||
|
|
||||||
|
docker run -d --name=$NAME \
|
||||||
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v /var/run/dbus:/var/run/dbus \
|
||||||
|
-v $PWD/config:/data \
|
||||||
|
-e SUPERVISOR_SHARE=$PWD/config \
|
||||||
|
-e SUPERVISOR_NAME=hassio_supervisor \
|
||||||
|
-e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant \
|
||||||
|
--security-opt seccomp=unconfined \
|
||||||
|
--security-opt apparmor=unconfined \
|
||||||
|
--privileged \
|
||||||
|
--restart always \
|
||||||
|
$IMAGE
|
@ -53,6 +53,8 @@ usage: aider [-h] [--file FILE] [--openai-api-key OPENAI_API_KEY] [--anthropic-a
|
|||||||
aider --models groq/
|
aider --models groq/
|
||||||
export GROQ_API_KEY=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
|
export GROQ_API_KEY=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
|
||||||
aider --model groq/llama3-70b-8192 --no-auto-commits --show-repo-map
|
aider --model groq/llama3-70b-8192 --no-auto-commits --show-repo-map
|
||||||
|
llama-3.1-8b-instant llama-3.1-70b-versatile
|
||||||
|
|
||||||
# OLLAMA?
|
# OLLAMA?
|
||||||
aider --openai-api-base https://ollama.d-popov.com --models openai/
|
aider --openai-api-base https://ollama.d-popov.com --models openai/
|
||||||
|
|
||||||
|
16
python/pip_conda.md
Normal file
16
python/pip_conda.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
pip list --outdated
|
||||||
|
|
||||||
|
#> pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
|
||||||
|
|
||||||
|
PS> pip list --outdated --format=json | ConvertFrom-Json | ForEach-Object { pip install --upgrade $_.name }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pip freeze > requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user