上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页
摘要: 主要是非正常关机。把.git给破坏了 参考https://stackoverflow.com/questions/12571557/fixing-a-corrupt-loose-object-as-a-commit-in-git/12583865 直接 git init 重新下载.git 然后重启下 阅读全文
posted @ 2018-12-11 10:24 永远的幻想 阅读(1227) 评论(0) 推荐(0)
摘要: 20200702 大版本没区别时,不要自己编译安装! ubuntu20.04 自带 只有3.8.2 没有2.7了. 而3.9要10月才出.所以,这时候,就别自己编译python3.8.3 了. 一不留神,就各种问题,比如文件管理器打不开...只能重装 基于Ubuntu 18.04 自带了3.6,可惜 阅读全文
posted @ 2018-12-08 11:05 永远的幻想 阅读(1253) 评论(0) 推荐(0)
摘要: opencv4.0 cuda10 对比不带cuda的时候,编译速度太慢,主要卡在cuda的编译上。 参考http://answers.opencv.org/question/5090/why-opencv-building-is-so-slow-with-cuda/?answer=5095#post 阅读全文
posted @ 2018-12-07 14:41 永远的幻想 阅读(3182) 评论(0) 推荐(0)
摘要: 和以前不一样了不再是sources.list而是 ubuntu.sources ubuntu24.04 /etc/apt/sources.list.d/ubuntu.sources Types: deb URIs: https://mirrors.aliyun.com/ubuntu Suites: 阅读全文
posted @ 2018-12-05 15:48 永远的幻想 阅读(4995) 评论(0) 推荐(0)
摘要: 20201017更新 前置条件 vs2019 也就是所谓的vc16. 要检测是否安装了完整的C++功能和cmake支持,用vs 的installer可以选上。 否则cmake的configure都会报错。 参考 https://blog.csdn.net/diaodaa/article/detail 阅读全文
posted @ 2018-11-29 18:32 永远的幻想 阅读(6450) 评论(0) 推荐(0)
摘要: 在bitbucket上把工程改名了,就忘了。 结果同步时报错。 先在本地查看一下 git remote -v 果然是工程的老名字 origin git@bitbucket.org:XXX/oldname.git (fetch)origin git@bitbucket.org:XXX/oldname. 阅读全文
posted @ 2018-11-16 15:37 永远的幻想 阅读(1002) 评论(0) 推荐(0)
摘要: 假设有这样一个工程,是这样设计的: 1整个软件、服务被切分为 由若干独立的多道程序(多个进程/微服务); 2 这些多道程序只是“机制mechanism”,而“策略strategy”写在各自用到的配置文件里。 3各策略配置文件由不同人在不同地方写,而机制部分读取,可以是在服务启动前的编译时,也可以是运 阅读全文
posted @ 2018-11-13 15:24 永远的幻想 阅读(536) 评论(0) 推荐(0)
摘要: 功能需求: 1用browserify把各种js打包成浏览器端的1个bundle.js,含有yml配置文件 约束: 1 yml配置文件不在当前工程里(现在还不知道放哪里,以后也会变),希望在打包时,用命令行参数的方式传入一个路径,形如 --config=D:/dev/kiev1941/overlay. 阅读全文
posted @ 2018-11-13 14:47 永远的幻想 阅读(610) 评论(0) 推荐(0)
摘要: ts-node写ts,启动时习惯在package.json里写 但是当希望启动时传入命令行参数时,ts-node没法接受命令行参数 https://www.npmjs.com/package/ts-node Programmatic You can require ts-node and regis 阅读全文
posted @ 2018-11-12 15:15 永远的幻想 阅读(3402) 评论(0) 推荐(0)
摘要: 注意each里的this,这个文档里说得明白http://rajapradhan.com/blogs/d3-js-v4-essentials/d3-selections/ The each() method The each() method invokes the specified functi 阅读全文
posted @ 2018-11-12 13:34 永远的幻想 阅读(430) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 25 下一页