摘要: 链接:https://www.123pan.com/s/qdY9-n3fk3 语法和python2应该是差不多的,曾经提到过 体验: 阅读全文
posted @ 2022-04-16 19:16 Ctrl+c_Ctrl+v程序员 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 改编自 https://bbs.deepin.org/post/182574 下载: https://www.jb51.net/softs/584557.html 安装依赖 libxm4:i386、libxm4、libmrm4、libmotif-common、lsb-common、ksh(原文没讲, 阅读全文
posted @ 2022-02-05 21:32 Ctrl+c_Ctrl+v程序员 阅读(1358) 评论(0) 推荐(0) 编辑
摘要: 网上教程大多数让你 sudo apt install qemu 实际上根本没用!!!! 查了一下debian官网 结果 QEMU is a fast processor emulator. Once upon a time there was only one package named `qemu 阅读全文
posted @ 2022-01-16 10:10 Ctrl+c_Ctrl+v程序员 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 众所周知挂载硬盘只需要加上 -hdb 你的镜像.img 就可以了,注意此时的img是没有格式化的 然后我使用 qemu-system-x86_64 -m 4096 -enable-kvm -hdb c.img -cdrom FirPE.iso -smp 16,threads=4,cores 成功进入 阅读全文
posted @ 2022-01-16 09:59 Ctrl+c_Ctrl+v程序员 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 今天装了debian11,刚换源一堆问题(无语) 例如 E: Unable to correct problems, you have held broken packages. 原因是源有问题貌似没适配…… 目前可用 清华大学 注意选版本bullseye 即可 # 默认注释了源码镜像以提高 apt 阅读全文
posted @ 2021-10-29 23:26 Ctrl+c_Ctrl+v程序员 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 之前在网上找了很多配置教程都没成功,要么只能编译,要么只能运行编译好后的exe,没办法一键运行。 方法: 操作方式: 点击**工具,再选编译系统,再选新建编译系统** 然后,把下面的代码,全部复制,并且,替换掉原来的那些地方。 之后保存就好了。 比如说,我保存的文件名就是CPP.sublime-bu 阅读全文
posted @ 2021-07-26 10:51 Ctrl+c_Ctrl+v程序员 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 打包不支持windows所以可以找一台linux的电脑 或者用win10子系统(推荐) 我用的是Ubuntu 方法:https://www.jianshu.com/p/fcf21d45ea74 我简单说一下两步: 启用 Linux 子系统组件 系统设置 -> 应用 -> 右侧的程序和功能 -> 启动 阅读全文
posted @ 2021-07-12 12:56 Ctrl+c_Ctrl+v程序员 阅读(2391) 评论(0) 推荐(0) 编辑
摘要: 其实毛玻璃很简单 只需要在css中加入 backdrop-filter:blur(8px); 8px是模糊力度 注意:使用该方法前需要设置背景不能是透明(如果是显示这个元素下面的图像记得半透明,例子就是) 完整例子: 例子目录下有一个背景图片 bg.jpg 和css文件 毛玻璃.css HTML: 阅读全文
posted @ 2021-07-05 12:34 Ctrl+c_Ctrl+v程序员 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 先下载 https://gitee.com/dhfhub/HanTTS 然后输入命令 main.py synthesize --text 你的话 --src "syllables/" --dst "./" 感觉有的时候听不清楚 阅读全文
posted @ 2021-06-14 20:18 Ctrl+c_Ctrl+v程序员 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 图片: 使用pygame编写的代码源代码: import pygame pygame.init() canvas=pygame.Surface((4096,4096)) rgb=[0,0,0] x_y=[0,0] for r in range(256): rgb[2]=0 rgb[1]=0 for 阅读全文
posted @ 2021-01-25 20:45 Ctrl+c_Ctrl+v程序员 阅读(216) 评论(0) 推荐(0) 编辑