From 8fd42714009a5efc05ab9db9a5df6aa7fc21d027 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Tue, 24 Sep 2024 23:30:37 +0300 Subject: [PATCH] scripts update --- .gitignore | 1 + dev/continue-local-copilot.md | 57 +++++++++++++++++++++++++++++++++++ windows/.NET/EF.md | 9 +++++- 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 dev/continue-local-copilot.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0ac3ed --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.aider* diff --git a/dev/continue-local-copilot.md b/dev/continue-local-copilot.md new file mode 100644 index 0000000..c51b0ea --- /dev/null +++ b/dev/continue-local-copilot.md @@ -0,0 +1,57 @@ +config.json location: + win: C:\Users\popov\.continue\config.json + linux: ?? + +# example: + + "tabAutocompleteModel": { + "title": "yi-coder:9b", + "provider": "ollama", + // "model": "stable-code:code", + // "model": "starcoder-3b" + "model": "yi-coder:9b", + // "apiBase": "https://ollama.d-popov.com" + "apiBase": "http://localhost:11434" + }, + "allowAnonymousTelemetry": true, + "docs": [] +, + "models": [ + { + "title": "GPT-4 Vision (Free Trial)", + "provider": "free-trial", + "model": "gpt-4-vision-preview" + }, + { + "title": "GPT-3.5-Turbo (Free Trial)", + "provider": "free-trial", + "model": "gpt-3.5-turbo" + }, + { + "title": "Gemini Pro (Free Trial)", + "provider": "free-trial", + "model": "gemini-pro" + }, + { + "title": "Codellama 70b (Free Trial)", + "provider": "free-trial", + "model": "codellama-70b" + }, + { + "title": "Mixtral (Free Trial)", + "provider": "free-trial", + "model": "mistral-8x7b" + }, + { + "title": "Claude 3 Sonnet (Free Trial)", + "provider": "free-trial", + "model": "claude-3-sonnet-20240229" + }, + { + "title": "ollama> yi-coder:9b", + "provider": "ollama", + "model": "yi-coder:9b", + "apiBase": "https://ollama.d-popov.com" + } + ], + diff --git a/windows/.NET/EF.md b/windows/.NET/EF.md index 7155c30..9d1e930 100644 --- a/windows/.NET/EF.md +++ b/windows/.NET/EF.md @@ -1 +1,8 @@ -Update-Database -Script -StartupProjectName "GW.Web" -ProjectName GW.DomainModel \ No newline at end of file +Update-Database -Script -StartupProjectName "GW.Web" -ProjectName GW.DomainModel + +in VSCode: +dotnet tool restore +dotnet ef database update --startup-project GW.Web --project GW.DomainModel +dotnet ef database update --project "D:\PROJECTS\gatewayserver\GW.DomainModel\GW.DomainModel.csproj" --startup-project "D:\PROJECTS\gatewayserver\GW.Web\GW.Web.csproj" --msbuildprojectextensionspath bin\build_artifacts + +trust certs: dotnet dev-certs https --trust \ No newline at end of file