Loading

摘要: 测试驱动开发 TDD Test-Driven Development 测试用例放在测试模块里,完成单元测试。 以测试为驱动的开发模式:确保一个程序模块的行为符合设计的测试用例。 mocha:JavaScript 的一种单元测试框架,特点: 测试简单JavaScript函数 && 异步代码 自动运行所 阅读全文
posted @ 2025-03-12 22:35 一起滚月球 阅读(19) 评论(0) 推荐(0)
摘要: 复选框 复选框组 将一组复选框或单选按钮组合成一组并排放置的Bootstrap按钮 bootstrap.min.css jquery.min.js bootstrap.min.js div.btn-group[data-toggle=buttons] label.btn.btn-default.ac 阅读全文
posted @ 2025-03-12 22:34 一起滚月球 阅读(14) 评论(0) 推荐(0)
摘要: 如何配置IP地址 使用net-tools ifconfig eth1 10.0.0.0/24 ifconfig eth1 up 使用iproute2 ip addr add 10.0.0.1/24 dev eth1 ip link set up eth1 更改配置文件(多数情况) 文件内容:CIDR 阅读全文
posted @ 2025-03-12 22:34 一起滚月球 阅读(114) 评论(0) 推荐(0)
摘要: 1. 使用 找到所有继承 InterfaceC 接口的类 Assembly asm = Assembly.LoadFrom(dllPath); //区别在于 LoadFrom 会将 dll文件相关依赖也加载进来? //Assembly asm = Assembly.LoadFile(dllPath) 阅读全文
posted @ 2025-03-12 22:34 一起滚月球 阅读(17) 评论(0) 推荐(0)
摘要: 什么是AOP AOP为Aspect Oriented Programming的缩写,意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的中统一处理业务逻辑的一种技术,比较常见的场景是:日志记录,错误捕获、性能监控等。AOP的本质是通过代理对象来间接执行真实对象,在代理类中往往会添加装饰一 阅读全文
posted @ 2025-03-12 22:33 一起滚月球 阅读(97) 评论(0) 推荐(0)
摘要: 字体图标 依赖文件 bootstrap/fonts/glyphicons-halfings-regular.eot bootstrap/fonts/glyphicons-halfings-regular.svg bootstrap/fonts/glyphicons-halfings-regular. 阅读全文
posted @ 2025-03-12 22:33 一起滚月球 阅读(9) 评论(0) 推荐(0)
摘要: 配置参考 github地址 插件下载地址 安装 code-server release页面下载安装包。 # 查看安装命令 curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run # 自动安装 curl -fsSL http 阅读全文
posted @ 2025-03-12 22:33 一起滚月球 阅读(72) 评论(0) 推荐(0)
摘要: AE二次开发中,打开本地shp文件后,出现文件锁定状态,即后缀为 .sr.lock。 参考 string dkpath = System.IO.Path.GetDirectoryName(dkPath); string dkname = System.IO.Path.GetFileName(dkPa 阅读全文
posted @ 2025-03-12 22:32 一起滚月球 阅读(14) 评论(0) 推荐(0)
摘要: 常用操作 git init git add [fil] git commit -m ' ' git remote add [origin] [URL] git push -u [origin] [master] git push [origin] [master] git remote -v git 阅读全文
posted @ 2025-03-12 22:32 一起滚月球 阅读(20) 评论(0) 推荐(0)
摘要: 统计字段唯一值 方式支持shp支持geodatabaseIDataStatistics接口√√IQueryDef接口-√ 1,IDataStatistics 接口 sample ICursor pCursor = pFeatureClass.Search(null, true) as ICursor 阅读全文
posted @ 2025-03-12 22:31 一起滚月球 阅读(11) 评论(0) 推荐(0)