I believe everyone is familiar with the recently popular ChatGpt. I heard that it can also write code and has extraordinary capabilities. As a qualified embedded software engineer, you must make full use of it!
Get the system IP address
Write a script first to get the system IP address. Unexpectedly, there are detailed comments! Isn’t this much easier to use than Baidu?
Find the longest palindromic substring
The complete analysis is available, very powerful!
Lighting up the lamp
Let’s light up the lamp simply.
It’s really well written, I was amazed!
Write a block driver
The following is a complicated one
I have to say that the framework is all set up, no problem at all!
systemtap script
I made a mistake here and typed systemtap incorrectly, and it can be corrected automatically!
There are detailed notes at the end! It’s so detailed, I believe everyone can understand it.
ChatGPT registration method, make sure it is available
Registration reference: https://zhuanlan.zhihu.com/p/589642999
Region selection Indonesia
Summary
##ChatGPT is really great at writing code. But when I used it, I also encountered wrong answers several times. However, this is good, at least it shows that the programmer profession will not be replaced by AI for the time being.
Like simple shell scripts, makefiles, etc., ChatGPT can indeed handle them. We can modify the code generated by AI, which can save a lot of time.
Interesting ChatGPT project on GITHUB
Finally, I would like to recommend an interesting project about chatGPT that I saw on Zhihu.
Original link: https://www.zhihu.com/question/570189639/answer/2793888150
There are currently many projects based on ChatGPT on GitHub, basically more than 100⭐️ They are all here, summarized as follows:
Usage Guide
- A ChatGPT usage guide: https://github.com/f/awesome-chatgpt-prompts
- ChatGPT Question Engineer Development Guide: https:// github.com/wuchangming/chat-gpt-ask-question-engineer-handbook
Unofficial API
- Lightweight ChatGPT API written in Python: https ://github.com/acheong08/ChatGPT
- An unofficial ChatGPT API written in Python, based on Daniel Gross’s WhatsApp GPT: https://github.com/taranjeet/chatgpt-api
- Unofficial ChatGPT API written in Python: https://github.com/rawandahmad698/PyChatGPT
Unofficial client
- Unofficial written in nodejs ChatGPT client: https://github.com/transitive-bullshit/chatgpt-api
- A ChatGPT macOS desktop client: https://github.com/vincelwt/chatgpt-mac
- A ChatGPT desktop client written in rust, supporting macOS, Windows, Linux: https://github.com/sonnylazuardi/chatgpt-desktop
Editor plug-in
- A VSCode ChatGPT plug-in: https://github.com/mpociot/chatgpt-vscode
Browser plug-in
- A Chrome that adds web access capabilities to ChatGPT Browser plug-in: https://github.com/qunash/chatgpt-advanced
- A ChatGPT Chrome plug-in that integrates ChatGPT into every text box on the Internet: https://github.com/gragland /chatgpt-chrome-extension
- allows ChatGPT to answer the browser plug-in displayed next to the Google search results page. It supports Chrome/Edge/Firefox browsers: https://github.com/wong2/chat-gpt -google-extension
- A browser plug-in integrated into Google search results: https://github.com/ZohaibAhmed/ChatGPT-Google
- A Chrome browser plug-in that can export your ChatGPT History to PNG, PDF, or generate a shareable link: https://github.com/liady/ChatGPT-pdf
微信bot
- ChatGPT WeChat Robot : https://github.com/AutumnWhj/ChatGPT-wechat-bot
- ChatGPT Wechat robot written by Wechaty based on the open source WeChat conversation robot SDK: https://github.com/fuergaosi233/wechat-chatgpt
- Access ChatGPT for personal WeChat: https://github.com/869413421/wechatbot
QQ robot:
- A Python-based * A chatbot by *Nonebot2**: https://github.com/Quan666/ELFChatBot
- A QQ chatbot based on OpenAI GPT-3 and Mirai: https://github.com/Byaidu/QChatBot -GPT
- ChatGPT for Mirai QQ robot: https://github.com/lss233/chatgpt-mirai-qq-bot
- QQ conversation robot developed based on OpenAI ChatGPT, calling Completion API, Support QQ private chat and group chat, mirai ChatGPT MySQL implementation: GitHub - RockChinQ/QChatGPT: QQ conversation robot developed based on OpenAI ChatGPT, calling Completion API, support QQ private chat and group chat, mirai ChatGPT MySQL implementation
Telegram Robot
- A Telegram robot based on ChatGPT: https://github.com/m1guelpf/chatgpt-telegram
- A ChatGPT Telegram robot: https://github .com/altryne/chatGPT-telegram-bot
GIT version tool
- Use ChatGPT to automatically generate commit submission information: https://github.com/RomanHotsiy/commitgpt
Others
- Unofficial ChatGPT Raycast extension: https://github.com/abielzulio/chatgpt-raycast
- ChatGPT Bluebird Robot: https://github.com/transitive-bullshit/chatgpt-twitter-bot
- An AI dialogue Koishi (chatbot framework) framework plug-in based on ChatGPT: https://github.com/koishijs/chatgpt- bot
- ChatGPT Black Magic Book, Chinese question magic instructions: https://github.com/del-xiong/awesome-chatgpt
The above is the detailed content of How to use ChatGPT to help you write code?. For more information, please follow other related articles on the PHP Chinese website!