自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

如何利用ChatGPT幫你寫代碼?

人工智能
最近爆火的ChatGpt相信大家都不陌生,聽說它還能寫代碼,而且能力不凡。作為合格的嵌入式軟件工程師,必須得充分利用起來!

最近爆火的ChatGpt相信大家都不陌生,聽說它還能寫代碼,而且能力不凡。作為合格的嵌入式軟件工程師,必須得充分利用起來!

獲取系統(tǒng)IP地址

先寫一個腳本,獲取系統(tǒng)IP地址吧,沒想到還有詳細的注釋!這不比百度好用多了?

圖片

求最長回文子串

圖片

圖片

圖片

完整的解析都有,很強大!

點燈

先來個簡單的點燈吧。

圖片

圖片

圖片

確實寫的有模有樣的,我被驚艷到了!

寫一個塊驅動程序

下面來個復雜的

圖片

圖片

圖片

圖片

不得不說,框架都搭建好了,完全沒問題!

systemtap腳本

這里手誤還打錯了systemtap,它也能自動糾正回來!

圖片

圖片

最后還有詳細的注釋!這么詳細,相信大家都能看懂了吧。

ChatGPT注冊方法,確??捎?/span>

注冊參考:https://zhuanlan.zhihu.com/p/589642999

地區(qū)選擇Indonesia

總結

ChatGPT能寫代碼,確實很厲害。但我在使用時,也遇到了好幾次給出的是錯誤答案。不過,這樣也好,起碼也說明程序員這一行暫時也不會被AI所替代。

像簡單的shell腳本,makefile等,ChatGPT確實能處理。我們可以把AI生成的代碼我們拿來修改下,可以節(jié)省很多時間。

GITHUB上好玩的ChatGPT的項目

最后給大家推薦下在知乎上看到一個關于chatGPT的好玩的項目。

原文鏈接:https://www.zhihu.com/question/570189639/answer/2793888150

GitHub上目前已經(jīng)有很多基于ChatGPT的項目,基本100??以上的都在這里了,匯總如下:

使用指南

  • 一個ChatGPT 使用指南:https://github.com/f/awesome-chatgpt-prompts
  • ChatGPT 提問工程師開發(fā)指南:https://github.com/wuchangming/chat-gpt-ask-question-engineer-handbook

非官方API

  • 使用Python編寫的輕量級的 ChatGPT API:https://github.com/acheong08/ChatGPT
  • 一個使用Python編寫的非官方ChatGPT API,基于Daniel Gross的WhatsApp GPT:https://github.com/taranjeet/chatgpt-api
  • 使用 Python 編寫的非官方ChatGPT API :https://github.com/rawandahmad698/PyChatGPT

非官方客戶端

  • 使用nodejs編寫的非官方 ChatGPT 客戶端:https://github.com/transitive-bullshit/chatgpt-api
  • 一個ChatGPT macOS桌面客戶端:https://github.com/vincelwt/chatgpt-mac
  • 一個使用rust編寫的 ChatGPT 桌面客戶端,支持macOS, Windows, Linux:https://github.com/sonnylazuardi/chatgpt-desktop

編輯器插件

  • 一個 VSCode ChatGPT 插件:https://github.com/mpociot/chatgpt-vscode

瀏覽器插件

  • 一個為ChatGPT添加web訪問能力的Chrome瀏覽器插件:https://github.com/qunash/chatgpt-advanced
  • 一個ChatGPT Chrome 插件,把ChatGPT集成到互聯(lián)網(wǎng)上的每個文本框中:https://github.com/gragland/chatgpt-chrome-extension
  • 可以讓ChatGPT回答在谷歌搜索結果頁面旁邊顯示的瀏覽器插件,支持Chrome/Edge/Firefox瀏覽器:https://github.com/wong2/chat-gpt-google-extension
  • 集成在谷歌搜索結果的瀏覽器插件:https://github.com/ZohaibAhmed/ChatGPT-Google
  • 一個Chrome瀏覽器插件,可以導出你的ChatGPT歷史到PNG、 PDF,或生成一個可共享的鏈接:https://github.com/liady/ChatGPT-pdf

微信機器人

  • ChatGPT 微信機器人:https://github.com/AutumnWhj/ChatGPT-wechat-bot
  • 基于開源的微信對話機器人SDK Wechaty 編寫的 ChatGPT 微信機器人:https://github.com/fuergaosi233/wechat-chatgpt
  • 為個人微信接入ChatGPT:https://github.com/869413421/wechatbot

QQ機器人:

  • 一個Python編寫的基于**Nonebot2**的一個閑聊機器人:https://github.com/Quan666/ELFChatBot
  • 一個基于 OpenAI GPT-3 和 Mirai 的 QQ 聊天機器人:https://github.com/Byaidu/QChatBot-GPT
  • ChatGPT for Mirai QQ 機器人:https://github.com/lss233/chatgpt-mirai-qq-bot
  • 基于OpenAI ChatGPT 開發(fā)的QQ對話機器人,調用Completion API,支持QQ私聊和群聊,mirai+ChatGPT+MySQL實現(xiàn):GitHub - RockChinQ/QChatGPT: 基于OpenAI ChatGPT 開發(fā)的QQ對話機器人,調用Completion API,支持QQ私聊和群聊,mirai+ChatGPT+MySQL實現(xiàn)

電報機器人

  • 一個基于 ChatGPT 的 Telegram 機器人:https://github.com/m1guelpf/chatgpt-telegram
  • 一個 ChatGPT Telegram 機器人:https://github.com/altryne/chatGPT-telegram-bot

GIT版本工具

  • 使用ChatGPT自動生成commit提交信息:https://github.com/RomanHotsiy/commitgpt

其他

  • 非官方的ChatGPT Raycast 擴展:https://github.com/abielzulio/chatgpt-raycast
  • ChatGPT藍鳥機器人:https://github.com/transitive-bullshit/chatgpt-twitter-bot
  • 一個基于 ChatGPT 的 AI 對話 Koishi (聊天機器人框架)框架插件:https://github.com/koishijs/chatgpt-bot
  • ChatGPT 黑魔法書,中文提問魔法指令:https://github.com/del-xiong/awesome-chatgpt
責任編輯:武曉燕 來源: 嵌入式與Linux那些事
相關推薦

2022-08-02 08:11:41

監(jiān)控埋點埋點方式插樁

2023-03-20 15:44:00

科研AI

2024-01-24 18:55:56

ChatGPT聊天機器人

2023-10-10 09:08:50

2020-12-04 07:49:54

AICtrl C代碼

2023-07-04 20:15:00

2023-07-03 22:31:40

2021-01-25 12:34:36

網(wǎng)絡IT架構

2023-10-10 08:00:00

2023-04-07 09:12:11

2023-12-21 07:10:43

2023-09-02 11:21:54

代碼ChatGPT

2023-05-30 18:05:00

chatgpthtml

2023-05-19 06:53:58

GPT分析報告

2023-05-05 19:29:41

2023-04-25 10:24:00

代碼AI

2022-12-07 10:02:17

ChatGPTAI免費試用

2021-04-25 15:17:29

代碼軟件程序員

2017-06-28 16:18:22

編程程序員開發(fā)

2023-03-01 20:18:05

ChatGPTPython
點贊
收藏

51CTO技術棧公眾號