上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 一.脚本下载 init.sh #!/bin/bash cd code for dir in $(ls) do cd $dir git config --local receive.denycurrentbranch ignore echo $dir cd .. done gitShare.sh #! 阅读全文
posted @ 2020-03-26 21:34 Lunais 阅读(179) 评论(0) 推荐(0)
摘要: git本地共享的时候,客户端可以用。 1. git log //找到commit的版本号 2.git reset --hard <版本号> //撤回到需要的版本 3.git push --force //强制覆盖之前提交的版本 阅读全文
posted @ 2020-03-26 21:25 Lunais 阅读(500) 评论(0) 推荐(0)
摘要: 转载自:https://blog.csdn.net/u012515915/article/details/46942745 原文:C++ unit test start guide, how to set up Google Test (gtest) in Eclipse? 原文链接:http:// 阅读全文
posted @ 2019-12-28 16:47 Lunais 阅读(648) 评论(0) 推荐(0)
摘要: 转载仅用于学习: https://blog.csdn.net/ipmux/article/details/17334099 enum型用于定义常量集合,相比#define有一些优势,如:enum是一种数据类型,使用时会检查类型匹配;enum增加了范围约束,避免变量赋值和使用时超出定义范围。但enum 阅读全文
posted @ 2019-11-28 15:16 Lunais 阅读(1832) 评论(0) 推荐(0)
摘要: https://cloud.tencent.com/developer/doc/1023 阅读全文
posted @ 2019-11-16 15:43 Lunais 阅读(338) 评论(0) 推荐(0)
摘要: 编码规范的基本原则是 高内聚,低耦合设计原则:SOLID原则 单一职责原则 SRP 某个代码的功能,保证只有单一明确的执行任务。 开放封闭原则 OCP 对扩展(继承)开放,对修改封闭 里氏替换原则 LSP 在继承中,子类必须实现父类的抽象方法,但不能覆盖父类的非抽象方法。 接口隔离原则 ISP 接口 阅读全文
posted @ 2019-11-06 15:28 Lunais 阅读(1084) 评论(0) 推荐(0)
摘要: 转载:https://blinkfox.github.io/2018/11/24/ruan-jian-she-ji/ruan-jian-cheng-xu-she-ji-yuan-ze/ (原文更漂亮,转载此处,仅为了方便自己阅读) 一、前言 软件也像人一样,具有生命力,从出生到死亡,会经历多种变化。 阅读全文
posted @ 2019-11-04 16:44 Lunais 阅读(1110) 评论(0) 推荐(0)
摘要: https://docs.python.org/zh-cn/3/faq/ https://docs.python.org/zh-cn/3/faq/programming.html 阅读全文
posted @ 2019-10-28 11:20 Lunais 阅读(337) 评论(0) 推荐(0)
摘要: IndentationError: unindent does not match any outer indentation level in notepad++, 在菜单中选择视图 –> 显示符号 –> 显示空格与制表符 可以看到缩进符,python中缩进符应该保持一直,2 Blank spac 阅读全文
posted @ 2019-10-28 11:09 Lunais 阅读(173) 评论(0) 推荐(0)
摘要: sed -i '/Student/i UCHAR rsvtem[4];' "${relative_path}abc/def/ooo.h" sed -i '/UCHAR rsvtem/d' "${relative_path}abc/def/ooo.h" 阅读全文
posted @ 2019-10-25 15:33 Lunais 阅读(117) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 12 下一页