上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页
摘要: 起因 Github Copilot 过期了,找替代品 于是就有了这个codeium 注意: 安装后如果不弹出登录界面 就: 双击shift弹出搜索框,然后输入Provide Auth Token to Codeium,点击进去,会出现url。复制url到浏览器打开并登录,然后复制token粘贴到py 阅读全文
posted @ 2024-02-05 23:45 __username 阅读(198) 评论(1) 推荐(0) 编辑
摘要: 一些fastApi的基础 运行方式一 运行命令:uvicorn main:app --reload 运行方式二 查看接口文档【swagger-ui】:http://127.0.0.1:8000/docs 路径后面加/docs 给服务端发请求 其它知识 Swagger UI Swagger UI 是一 阅读全文
posted @ 2024-02-05 21:00 __username 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 创建一个普通用户 adduser fire9 进入home查看 ls /home 添加sudo权限 usermod -aG sudo fire9 其它 sudo apt update && sudo apt upgrade 阅读全文
posted @ 2024-02-05 13:55 __username 阅读(1) 评论(0) 推荐(0) 编辑
摘要: nohup python3 cf_threads.py & ps aux | grep cf_threads.py 使用ps命令与grep一起来搜索脚本名,以确认它是否正在运行: root@monica:~/chao_code/cf# ps aux | grep cf_threads.py root 阅读全文
posted @ 2024-02-04 20:37 __username 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 设置里面 阅读全文
posted @ 2024-02-03 14:48 __username 阅读(9) 评论(0) 推荐(0) 编辑
摘要: //1.call方法 // 2.apply方法 // 3.arguments对象 function add(a, b){ console.log(a + b); } add(1, 2); // call方法第一个参数是this指针,即调用者,第二个参数开始,就是原函数的实际参数 add.call(n 阅读全文
posted @ 2024-01-26 12:30 __username 阅读(7) 评论(0) 推荐(0) 编辑
摘要: demo import threading import time def print_thread_info(thread_name): """线程函数,打印线程名称和ID以及一些文本""" for i in range(3): time.sleep(1) thread_id = threadin 阅读全文
posted @ 2024-01-24 10:00 __username 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 网上的教程千篇一律,但是我的不成功,于是自己写了个。 环境:ubuntu20 首先安装,参考其它教程【一般ubuntu都自带了】 然后: vim /etc/crontab 回车看到: 最后输入: 32 * * * * root su - root -c "cd /root/chao_code/fg 阅读全文
posted @ 2024-01-21 18:41 __username 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 环境 vs2022 报错 C6031 返回值被忽略:"scanf"解决办法【C语言】 解决 2.在禁用特定警告中 添加 4996 ,6031 原因 因为在ANSI C中没有scanf_s(),只有scanf(),但是scanf()在读取时不检查边界,所以可能会造成内存泄露 阅读全文
posted @ 2024-01-17 17:31 __username 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 解决 pip install crypto pycryptodome pip uninstall crypto pycryptodome pip install pycryptodome 参考链接 https://blog.csdn.net/Ahuuua/article/details/108800 阅读全文
posted @ 2024-01-17 15:57 __username 阅读(271) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 35 下一页

本文作者:DIVMonster

本文链接:https://www.cnblogs.com/guangzan/p/12886111.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。