diff --git a/_ideas/privateGPT.mb b/_ideas/privateGPT.mb new file mode 100644 index 0000000..aab583d --- /dev/null +++ b/_ideas/privateGPT.mb @@ -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... diff --git a/linux disk.md b/linux/linux disk.md similarity index 100% rename from linux disk.md rename to linux/linux disk.md diff --git a/linux/python env.md b/linux/python env.md index a03835c..8fb6bf2 100644 --- a/linux/python env.md +++ b/linux/python env.md @@ -1,5 +1,6 @@ setup miniconda: + conda create --name petals #python=3.10 conda activte conda install pip @@ -9,6 +10,12 @@ pip install aider-chat export OPENAI_API_KEY=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 -#remove > +# remove > conda deactivate conda env remove --name petals + + +# conda install node +conda install -c conda-forge nodejs +conda update -c conda-forge nodejs + diff --git a/linux/rsync.md b/linux/rsync.md new file mode 100644 index 0000000..4fe42e4 --- /dev/null +++ b/linux/rsync.md @@ -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/ \ No newline at end of file diff --git a/linux/setup aider.md b/linux/setup aider.md index b1e0d28..b3f8a12 100644 --- a/linux/setup aider.md +++ b/linux/setup aider.md @@ -1,2 +1,20 @@ in conda env: -pip install aider-chat \ No newline at end of file +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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 \ No newline at end of file