.bat内容如下,使用powershell执行打开e盘文件夹,并执行python代码 @echo off powershell -Command "cd E:\python; python .\test.py" pause...【查看原文】
打算用百度网盘备份本地一些文件,但怕文件上传百度网盘后被和谐,打算上传前调用7-ZIP进行了压缩,让chatgpt写了个power shell脚本。 我要大声喊:chatgpt确实解放生产力!#调用7-ZIP压缩文件的脚本,请将脚本保存为***.ps1# 定义源文件夹路径和目标压缩文件路径$sourceFolder = "F:\图"$targetArchive = "F:\BaiduNetdisk\图\archive.7z"$logFile = "F:\BaiduNetdisk\图\压缩日志.log"#
百度ChatGPT
破晓zm 2023-06-07
api参考资料:https://platform.openai.com/docs/api-reference/chat/create测试使用环境:win10, powershell7 (不建议使用系统自带的powershell,解析json、字符编码会有一些奇怪的问题)function chatgpt { param ( # 输入内容 [Parameter(Mandatory,ValueFromPipeline)] [string] $content ) $apiKey = '*********(替换成你
ChatGPTOpenAI
时间鸟 2023-03-04
自2022年11月30日 OpenAI 发布 ChatGPT 以来,虽然时有唱衰的声音出现,但在OpenAI不断推陈出新,陆续发布了OpenAPI、GPT-4、ChatGPT Plugins之后,
ChatGPTGPT-4OpenAI
程序猿DD 2023-03-30
用Rust实现免费调用ChatGPT的命令行工具,大家可以看看个效果,希望大家能够给我个star,谢谢
ChatGPT
路奇老师 2024-04-20
首先感谢ChatGPT,拯救了我的人生,延长了我的生命。我不知道有多少人会认真的去研究powershell的语法,没有chatgpt,为了解决这个问题得花我不知道多少时间。以下是CMD里执行Powershell命令:powershell -Command "& {echo y; echo y; echo y; echo y; echo y; echo y; echo y; echo y} | & '你的命令'"再次感谢ChatGPT。
UncleZan 2024-01-19
2024年天津大学暖通空调专业考研经验贴(天大本校优秀学长带你搞定850暖通空调专业课复习)各位考研的同学们,你们好!首先,非常荣幸能被求实学长邀请来向有意报考天津大学暖通空调专业的同学们分享我的考研经验。我本科就是天津大学就读,2024考研报考资源与环境-供热、供燃气、通风及空调工程方向,专业课是850暖通空调。对于本方向而言,天津大学不仅有环境学院开设此方向,未来技术学院(智能建筑方向二)、佐治亚理工深圳学院以及福州联合学院均有开设,但专业课考试内容均为850暖通空调。我今年报考的学院为天津大学环境学
天大求实学长 8小时前
想来也是有点可笑,在iPhone 16发布之前,就有人在炒作“微信、iPhone二选一”的传言。甚至声称iOS 18.2后,微信将无法使用,搞得果粉们人心惶惶。只要苹果还要中国市场,就不可能对微信重拳出击。事实胜于雄辩,近日,iOS端微信发布了8.0.52最新版,并预计带来两大重磅功能。第一,朋友圈支持发实况照片。实况照片是iPhone的特性之一,简单来说就是“会动的照片”,可以展现照片拍摄前后的实时动态,让照片栩栩如生。第二,根据网友反馈,微信8.0.52更新后,好友的社交资料里,会显示添加好
休门说 8小时前
[图片] 千千静听曾经是非常受欢迎的本地播放歌曲的工具,知道千千静听这款音乐播放器的用户,年龄应该不小了吧。 这次带来的是千千静听非常简洁的经典老版本,纯绿色不需要安装,去掉了广告,修正了歌词服务器不能用的问题,使用的是第三方的歌词服务器。 这款本地音乐播放器的界面简洁优雅,看到了这个界面,一下子就想到了以前的使用它的日子,免费好用,确实比其它的播放器要好用,而且占用资源非常少。 这款老版本工具下载:https://pan.quark.cn/s/39b9f215b685
冰夏可 8小时前
[图片] 添加老师微信 领取专转本备考流程 [图片] 1.播放设备支持电脑、手机、平板三选一,请选择一台设备播放。 2.课程内容请看内容介绍,或添加老师详细咨询、服务到你大三考试结束。(可提供购买票据凭证)。 3.支持:微信、支付宝、蚂蚁花呗等等。 默默学课程全套包括:专转本基础知识点视频讲解、章节重点难点视频讲解、章节习题讲解、历年真题讲解、考前名师原创模拟卷、名师QQ群实时答疑、学霸学习方法交流、成功学员传授经验、名师考前志愿点拨等 课程报名方式:备注年级+需要科目名称(如大二+数学)谢谢配
江苏转本高数老杨 8小时前
[图片] 以“感恩相伴 梦想同行”为主题的东风汽车感恩6000万用户相伴暨全新岚图梦想家上市发布会于武汉成功举办,全新岚图梦想家正式上市并公布价格,其中,全新岚图梦想家四驱卓越鲲鹏版PHEV 32.99万元、EV 34.99万元;全新岚图梦想家四驱尊贵鲲鹏版PHEV 35.99万元、EV 37.99万元;全新岚图梦想家四驱旗舰鲲鹏版PHEV 39.99万元、EV 41.99万元;全新岚图梦想家四驱旗舰乾崑版PHEV 42.99万元、EV 44.99万元。 [图片] 东风汽车集团有限公司董事长杨青致辞 作
myauto 8小时前
9月20日,五菱汽车再次发力,推出了全新大空间五座纯电车——五菱缤果SUV五座版。这款新车以7.58万元的起售价,正式进入市场,为消费者带来了更多的选择。五菱缤果SUV五座版不仅价格亲民,更在空间、动力、安全、舒适等方面表现出色,为用户提供了全方位升级、多场景适配的出行体验。五菱缤果SUV五座版的上市,无疑是对当前市场需求的精准把握。随着消费者出行方式的日益多元化,一款A0级纯电车型已不仅仅满足于日常通勤和接送家人的需求,而是需要承担更多乘员、更多出行场景的需求。五菱汽车正是洞察到了这一市场变化,倾力打造
一直评 8小时前
如非必要,勿增实体。一颗全新的按键,采用电容式触摸和压力感应设计,就为了方便操作相机?目前iPhone16系列已经发布上市了,从实际产品来看,全系新增的一颗按键,也就是Camera Control(相机控制)按键,依然不是传闻中的固态按键设计,而是电容式触摸+压力感应混合设计的按键。当然,苹果对它的描述里,处处引导着用户,这种操作方式是“触”、“滑”、“按”、“轻按”,绝口不提“重压”等其他错误描述方式。苹果官网对相机控制按钮的引导式操作描述当然实际体验下来,它的按压体验也确实很轻巧,不需要很大的按压力度
前数码玩家 8小时前
给网友解决了一个不常见的需求,在基于springboot的架构下使用yaml接收参数和响应信息,springboot的Web开发是springMVC为我们提供的,但是springMVC使用较多的是将JSON请求体和XML请求体类型参数解析为对象,对应的实现类为RequestResponseBodyMethodProcessor,MappingJackson2XmlHttpMessageConverter,并没有为我们单独提供Yaml的参数解析器和消息转换器,既然没有,我们就单独实现一个Yaml参数解析器和
坏_蛋_丹 8小时前
显然,中国在尖端的航天领域所取得的成就是有目共睹的,而中国的空间站科技含量可谓首屈一指,那是中国科研教授钱学森卧薪尝胆一步一步攻坚克难,最终才水到渠成。同时也为将来的国际空间站合作奠定了坚实基础,从两弹一星到现在的空间站和成功登陆火星的(天问一号)火星车无不见证中国科技屈指可数的飞跃,尤其是这次成功登陆火星的天问一号火星车不但技术储备优势无与伦比,而且超高难度的缓冲和悬停及降落更是克服了前所未有的挑战,最终才完成了历史性的壮举!厉害了我的国!!
影像物语 8小时前
玄派玄意星星耀14出厂自带的固态,新机用了一周才想着跑些常规软件简单测试下。 CrystalDiskInfo信息: [图片] CrystalDiskMark8 1G测试: [图片] CrystalDiskMark8 16G测试: [图片] CrystalDiskMark8测试写入速度约3500MB/s,读取速度约2200MB/s 。 白眼硬盘跑分 全盘测试: [图片] 由曲线图可知,建兴CL4 512G模拟缓存大小约60G; 白眼全盘测试缓内写入速度约为1900MB/s,缓外写入速度约为435MB/s;读
Kapppa-D 8小时前
Copyright © 2024 aigcdaily.cn 北京智识时代科技有限公司 版权所有 京ICP备2023006237号-1