Others
maybepossible
这个作者很懒,什么都没留下…
展开
-
Erase-remove 惯用法
从一个向量中删除一个符合特定规则的元素用到了,如下的句式: vec.erase( std::remove_if(vec.begin(),vec.end(),RemovePred), vec.end() ); erase的这种用法是删除一个区间的元素,但现在要删除的原创 2015-03-04 15:12:31 · 906 阅读 · 0 评论 -
学习OpenBlas
学习OpenBlas编译从OpenBlas Home Page 上下载源码,make, make install使用level 1 向量-向量 操作#include <iostream>#include "cblas.h"#include <vector>int main(){ blasint n = 10; blasint in_x =1; blasint in_y原创 2015-03-12 15:56:14 · 1890 阅读 · 0 评论 -
开源许可证GPL、BSD、MIT、Mozilla、Apache和LGPL的区别
本文转载自 http://www.geek-workshop.com/thread-1860-1-1.html首先借用一张图来划分各种协议:开源许可证GPL、BSD、MIT、Mozilla、Apache和LGPL的区别 以下是上述协议的简单介绍:BSD开源协议BSD开源协议是一个给于使用者很大自由的协议。基本上使用者可以”为所欲为”,可以自由的使用,修改源代码,也可以将修改后的代码作为开源或者专有转载 2015-08-11 16:14:41 · 429 阅读 · 0 评论 -
linux使用随用随记
查询网卡Mac地址ubuntuifconfig | awk ‘/eth/{print 1,1,5}’sudo lshw -c network | grep serial原创 2017-05-22 15:42:35 · 532 阅读 · 0 评论 -
pylinkgrammar 在Ubuntu上安装
下载源码安装是比较麻烦的,还不一定成功。 按照pypi上的方法也失败了。但离成功已经很近了。 流程:sudo apt-add-repository ppa:python-pylinkgrammar/getsome sudo apt-get install liblink-grammar4-dev pip install pylinkgrammar原创 2017-07-20 15:28:21 · 823 阅读 · 0 评论 -
本地部署ngrok
安装go语言yum install golang下载ngrok源码git clone https://github.com/inconshreveable/ngrok.git安装ngrok环境配置 cd ./ngrokexport GOPATH=/path/to/ngrok/ #ngrok路径export NGROK_DOMAIN=”ngrok.yourdomain.com” #你的原创 2017-11-25 17:25:46 · 794 阅读 · 0 评论