上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 61 下一页
摘要: def matrixMul(matrix1, matrix2): if (len(matrix1[0]) != len(matrix2)): return False final = [[0 for j in range(len(matrix2[0]))] for i in range(len(matrix1))] for i in range(len(m... 阅读全文
posted @ 2018-12-12 11:08 jiu~ 阅读(184) 评论(0) 推荐(0) 编辑
摘要: #显示所有列 pd.set_option('display.max_columns', None) #显示所有行 pd.set_option('display.max_rows', None) #设置value的显示长度为100,默认为50 pd.set_option('max_colwidth',100) 阅读全文
posted @ 2018-11-23 15:34 jiu~ 阅读(3104) 评论(0) 推荐(0) 编辑
摘要: 1)缓存机制介绍在Linux系统中,为了提高文件系统性能,内核利用一部分物理内存分配出缓冲区,用于缓存系统操作和数据文件,当内核收到读写的请求时,内核先去缓存区找是否有请求的数据,有就直接返回,如果没有则通过驱动程序直接操作磁盘。缓存机制优点:减少系统调用次数,降低CPU上下文切换和磁盘访问频率。C 阅读全文
posted @ 2018-10-26 10:04 jiu~ 阅读(8596) 评论(0) 推荐(2) 编辑
摘要: git remote -v 查看现有远程仓库的地址url 1. 修改命令git remote set-url origin <URL> 更换远程仓库地址。把<URL>更换为新的url地址。 2.先删后加git remote rm origin git remote add origin git@gi 阅读全文
posted @ 2018-10-16 09:58 jiu~ 阅读(4299) 评论(0) 推荐(0) 编辑
摘要: 问题描述git上已经有人建立分支branch170628_foo,希望在本地切换到该分支。但使用git命令切换分支时报错。 $ git checkout branch170628_fooerror: pathspec 'branch170628_foo' did not match any file 阅读全文
posted @ 2018-10-16 09:56 jiu~ 阅读(5756) 评论(0) 推荐(0) 编辑
摘要: 看错误内容: stackoverflow上一个友人的解释: 这个错误是在我把gcc4.8编的工程迁移到ubuntu16.04(gcc5.4)上编译时候发生的。这是C++ ABI一个错误,gcc4升gcc5时,std::string库接口做了迁移,而我工程中用了三方库tensorflow和protob 阅读全文
posted @ 2018-10-12 19:41 jiu~ 阅读(3537) 评论(0) 推荐(0) 编辑
摘要: 我在ubuntu16.04上迁移工程,遇到了这个错误。 pthread库不是Linux系统默认的库,链接时需要添加-pthread参数。 这里注意是链接那一步添加-pthread,而不是编译选项。 阅读全文
posted @ 2018-10-12 19:28 jiu~ 阅读(4876) 评论(0) 推荐(0) 编辑
摘要: 文件/etc/ssh/ssh_config末尾加上: 阅读全文
posted @ 2018-10-09 10:58 jiu~ 阅读(2651) 评论(0) 推荐(0) 编辑
摘要: file=open('6230hand.log','r') result=list() for c in file.readlines(): c_array=c.split(" ") # result.append(c_array[0]) print(c_array[0]) #print(result) 阅读全文
posted @ 2018-09-18 20:20 jiu~ 阅读(12876) 评论(0) 推荐(1) 编辑
摘要: git branch 和 git checkout经常在一起使用,所以在此将它们合在一起 1.Git branch 一般用于分支的操作,比如创建分支,查看分支等等, 1.1 git branch 不带参数:列出本地已经存在的分支,并且在当前分支的前面用"*"标记 1.2 git branch -r 阅读全文
posted @ 2018-09-18 10:02 jiu~ 阅读(253) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 61 下一页