返回顶部

随笔分类 -  杂货堆

摘要:visual studio 全选后,ctrl+m+m 折叠/展开所有 vscode ctrl+k+0 折叠所有 ctrl+k+j 展开所有 notepad++ alt + 0 折叠所有 shift + alt + 0 展开所有 qtcreator ctrl + alt + 0 折叠/展开所有 阅读全文
posted @ 2023-04-20 10:55 Zcb0812 阅读(75) 评论(0) 推荐(0)
摘要:Python编程规范 包名命名为 aaa-bbb-ccc 例如 orange-widget-base 模块名命名 aaabbbccc 例如 orangewidget utils name_lookup 传入字符串 返回Python对象 字符串可以是 点 分的包路径 def name_lookup(q 阅读全文
posted @ 2022-10-03 17:48 Zcb0812 阅读(119) 评论(0) 推荐(0)
摘要:https://www.howtogeek.com/673729/heres-why-the-new-windows-10-terminal-is-amazing alt shift 和 - 水平分割 + 垂直分割 alt 和 up down left right 移动焦点 alt shift 和 阅读全文
posted @ 2022-06-26 17:46 Zcb0812 阅读(34) 评论(0) 推荐(0)
摘要:汉诺塔问题 次数问题 #include <iostream> using namespace std; /* 将n个盘子从x搬到z 可以转化为 先n上方n-1个盘子搬到y,再把n这个盘子搬到z,最后将n-1个盘子从y搬到z。依次类推。 即f(n) 的问题可以转化为f(n-1)的问题,...,f(1) 阅读全文
posted @ 2022-05-03 16:06 Zcb0812 阅读(47) 评论(0) 推荐(0)
摘要:模式 VIM中分为三种模式: 1,普通模式 2, 编辑模式 3,命令模式 平时所说的快捷键指的是在普通模式下 普通模式-快捷键-光标导航 光标按位移动 下上左右 j k h l 光标按字移动 前后 w b 光标回到第一行第一字符 gg 光标回到最后一行第一字符 G 光标移动到指定行第一字符 <行号> 阅读全文
posted @ 2021-11-29 11:47 Zcb0812 阅读(33) 评论(0) 推荐(0)
摘要:学习资料 https://www.bilibili.com/video/BV1Ji4y1g7Kf 常用快捷键 旋转平移操作 鼠标中键 旋转 alt + 鼠标中键 每隔45度旋转 shift + 鼠标中键 平移 模型操作 shift + a 添加新物体 按住shift 选择两个点,然后按F就可以画一条 阅读全文
posted @ 2021-11-19 13:53 Zcb0812 阅读(144) 评论(0) 推荐(0)
摘要:首先修改源 为国内源 software & updates -> ubuntu software -> download from 中选择,本人使用的是tsinghua 源 安装VIM sudo apt install vim vi中 .vimrc 配置set nuset tabstop=4set 阅读全文
posted @ 2021-05-01 21:15 Zcb0812 阅读(567) 评论(0) 推荐(0)
摘要:git 基础 git 分为三个区域: 1,工作代码区 work 2,暂存区 stage 3,最终仓库 repository git常用配置: git config --global user.name 'zxxxxx' # 设置用户名git config --global user.email '1 阅读全文
posted @ 2021-03-28 17:16 Zcb0812 阅读(58) 评论(0) 推荐(0)
摘要:import re pattern1 = re.compile('<link rel="stylesheet" href="(.*?)">') #pattern2 = re.compile('<script src="plugins/bootstrap/js/bootstrap.bundle.min 阅读全文
posted @ 2020-11-08 19:19 Zcb0812 阅读(138) 评论(0) 推荐(0)
摘要:将所有网页都变为黑色 https://agirls.aotter.net/post/56218 指令: chrome://flags/#enable-force-dark 阅读全文
posted @ 2020-09-10 12:46 Zcb0812 阅读(366) 评论(0) 推荐(0)
摘要:参考资料: b站视频:https://www.bilibili.com/video/BV1YW411e7n5?p=1 聚焦图片路径: %localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\Loca 阅读全文
posted @ 2020-07-08 21:01 Zcb0812 阅读(218) 评论(0) 推荐(0)
摘要:js如何实现深拷贝: 简单易用的深拷贝(不能拷贝对象中的方法): let obj = {name:'tom',age:18}; let newObj = JSON.parse(JSON.stringify(obj) ); https://www.jb51.net/article/162551.htm 阅读全文
posted @ 2020-04-16 15:55 Zcb0812 阅读(447) 评论(0) 推荐(0)
摘要:中国省份的名字: d = ['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', ' 阅读全文
posted @ 2020-04-04 09:32 Zcb0812 阅读(136) 评论(0) 推荐(0)
摘要:https://www.helplib.com/Linux/article_13479 常用的快捷键: 显示和隐藏播放列表:ctrl + l 切换全屏: f 阅读全文
posted @ 2020-03-29 20:41 Zcb0812 阅读(555) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/yq_forever/article/details/79558855 阅读全文
posted @ 2019-11-19 12:50 Zcb0812 阅读(158) 评论(0) 推荐(0)
摘要:快速 调到行尾和行首: ctrl +[ :跳到行首 ctrl +] :跳到行尾 函数参数提示: ctrl + p 阅读全文
posted @ 2019-11-02 20:38 Zcb0812 阅读(148) 评论(0) 推荐(0)
摘要:注释颜色: 0C2112 护眼色: File->Seting->Editor-Colors->General->Text->Default text->BackGround设置为E1F4E4 阅读全文
posted @ 2019-10-22 00:10 Zcb0812 阅读(121) 评论(0) 推荐(0)
摘要:Ubuntu 18.04: http://mirrors.aliyun.com/ubuntu-releases/18.04/ https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/18.04/ Ubuntu 20.04: http://mirror 阅读全文
posted @ 2019-09-24 21:28 Zcb0812 阅读(10077) 评论(1) 推荐(3)
摘要:https://jingyan.baidu.com/article/ea24bc39ebefadda62b33180.html 阅读全文
posted @ 2019-09-20 15:38 Zcb0812 阅读(161) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/zhuyinglong2010/article/details/88830255 阅读全文
posted @ 2019-09-15 22:07 Zcb0812 阅读(548) 评论(0) 推荐(0)