added some more scripts
This commit is contained in:
5
_ideas/privateGPT.mb
Normal file
5
_ideas/privateGPT.mb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
https://www.youtube.com/watch?v=jxSPx1bfl2M
|
||||||
|
|
||||||
|
PrivateGPT - https://github.com/imartinez/privateGPT
|
||||||
|
GPT4All - https://github.com/nomic-ai/gpt4all
|
||||||
|
Google Colab Version (very very slow) - https://colab.research.google.com/dri...
|
@ -1,5 +1,6 @@
|
|||||||
setup miniconda:
|
setup miniconda:
|
||||||
|
|
||||||
|
|
||||||
conda create --name petals #python=3.10
|
conda create --name petals #python=3.10
|
||||||
conda activte
|
conda activte
|
||||||
conda install pip
|
conda install pip
|
||||||
@ -9,6 +10,12 @@ pip install aider-chat
|
|||||||
export OPENAI_API_KEY=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
|
export OPENAI_API_KEY=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
|
||||||
|
|
||||||
|
|
||||||
#remove >
|
# remove >
|
||||||
conda deactivate
|
conda deactivate
|
||||||
conda env remove --name petals
|
conda env remove --name petals
|
||||||
|
|
||||||
|
|
||||||
|
# conda install node
|
||||||
|
conda install -c conda-forge nodejs
|
||||||
|
conda update -c conda-forge nodejs
|
||||||
|
|
||||||
|
13
linux/rsync.md
Normal file
13
linux/rsync.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
a. On the source machine, generate an SSH key pair:
|
||||||
|
>ssh-keygen
|
||||||
|
Now, copy the public key to the destination machine:
|
||||||
|
>ssh-copy-id popov@192.168.0.11
|
||||||
|
|
||||||
|
#set permission locally
|
||||||
|
#chmod 600 /root/.ssh/id_rsa
|
||||||
|
|
||||||
|
|
||||||
|
apk add rsync
|
||||||
|
#!/bin/sh
|
||||||
|
rsync -avz /mnt/storage/Home-new/ popov@192.168.0.11:/mnt/storage/Home-new-copy/
|
||||||
|
rsync -avz /mnt/apps/DEV/ popov@192.168.0.11::/mnt/storage/DEV/workspace/dbspare/
|
@ -1,2 +1,20 @@
|
|||||||
in conda env:
|
in conda env:
|
||||||
pip install aider-chat
|
pip install aider-chat
|
||||||
|
|
||||||
|
# isntall ctags
|
||||||
|
# > sudo apt update && apt install universal-ctags
|
||||||
|
or:
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||||
|
brew install universal-ctags
|
||||||
|
|
||||||
|
> which ctags
|
||||||
|
/home/linuxbrew/.linuxbrew/bin/ctags
|
||||||
|
export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin/ctags
|
||||||
|
|
||||||
|
|
||||||
|
# personal
|
||||||
|
export OPENAI_API_KEY=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
|
||||||
|
|
||||||
|
# dev-bro GPT4
|
||||||
|
export OPENAI_API_KEY=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
|
Reference in New Issue
Block a user