By fireworks are easy to cool

Use Ollama to build a local AI Copilot programming assistant

preface Recently, Github Copilot had some problems, and found that many students around him lost their right hand. I saw that some netizens have realized the functions similar to Copilot by deploying LLM locally before, so I will take this opportunity to try to deploy a set of them myself to see if I can meet the needs of Copilot when it is unavailable

Use Go language to develop Serverless Function on the Vercel platform

In the field of independent sea going, Vercel is very popular, and it is the first choice for many small webmasters to go to sea. Its supporting Next.js framework is very easy for many front-end developers to use, especially those who are used to react.js. In terms of Serverless Function, in addition to

WordPress Tab Theme Template Development Notes

In the past two days, the theme of the blog has been revised and the home page has been tagged. In the process, I found that WordPress's knowledge about tag. php development is trivial. Here I summarize some common code judgments for future use. Home tag cloud function As we all know

Scheduled backup of MySQL database to Backblaze B2

Recently, I made some new business and used the AMIS framework opened by Baidu. One of the characteristics of this framework is to create an interface through json configuration. For this reason, I developed a lightweight management background, used MySQL to save the configured json content, and when the AMIS framework page is loaded

Linux Shell Command Notes

Here are some common fragments I used to write Linux shell scripts, including CPU/memory usage sorting, date formatting, SWAP mounting, and so on. Date related Get the current date: date+% Y -% m -% d Get yesterday's date: date - d last day