01 2018 档案

摘要:1. 94 brew install mongodb 95 cd ~ 96 cd Desktop/web/ 97 ls 98 mkdir mongo 99 cd mongo/ 100 ls 101 mkdir -p data/db 102 chown `id -u` data/db 103 ls d 阅读全文
posted @ 2018-01-31 16:51 lianhuaren 阅读(126) 评论(0) 推荐(0)
摘要:1. 于是尝试用easy_install 安装, sudo easy_install matplotlib http://blog.csdn.net/iloveyin/article/details/51074388 阅读全文
posted @ 2018-01-27 20:50 lianhuaren 阅读(156) 评论(0) 推荐(0)
摘要:1. 运行脚本时出现了这样一个错误,打开之后并没有找到所谓的^M,查了之后才知道原来是文件格式的问题,也就是linux和windows之间的不完全兼容。。。具体细节不管,如果验证:vim test.sh:set ff?如果出现fileforma=dos那么就基本可以确定是这个问题了。:set fil 阅读全文
posted @ 2018-01-26 10:27 lianhuaren 阅读(108) 评论(0) 推荐(0)
摘要:1. 正确的处理方法 1)设置标头的高度为特小值 (不能为零 为零的话苹果会取默认值就无法消除头部间距了) UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 0.001)] 阅读全文
posted @ 2018-01-25 10:08 lianhuaren 阅读(155) 评论(0) 推荐(0)
摘要:1. find . -type f -exec echo {} \; find src -type f -exec sh -c "iconv -f GB18030 -t UTF8 {} > {}.txt" \; find src -name "*.cpp.txt" | awk -F '.txt' ' 阅读全文
posted @ 2018-01-24 14:41 lianhuaren 阅读(130) 评论(0) 推荐(0)
摘要:1. grep --after-context=2 "Binary Images:" *crash xcrun atos -o zhiniao_adhoc_stg1.app.dSYM/MLPlayer.app.dSYM/Contents/Resources/DWARF/MLPlayer -l 0x1 阅读全文
posted @ 2018-01-23 12:36 lianhuaren 阅读(91) 评论(0) 推荐(0)
摘要:1.phpstudy设置-端口常规设置 E:\phpStudy\Apache\bin>httpd.exeAH00526: Syntax error on line 14 of E:/phpStudy/Apache/conf/vhosts.conf:DocumentRoot must be a dir 阅读全文
posted @ 2018-01-18 21:50 lianhuaren 阅读(167) 评论(0) 推荐(0)
摘要:1. http://blog.csdn.net/yuanpeng1014/article/details/70888584 阅读全文
posted @ 2018-01-17 17:19 lianhuaren 阅读(92) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-01-16 15:04 lianhuaren 阅读(1) 评论(0) 推荐(0)
摘要:1. https://tokoik.github.io/opengl/libglut.html https://github.com/wistaria/wxtest/tree/master/C http://www.opengl-tutorial.org/cn/ 阅读全文
posted @ 2018-01-15 19:28 lianhuaren 阅读(107) 评论(0) 推荐(0)
摘要:1. 阅读全文
posted @ 2018-01-12 16:49 lianhuaren 阅读(163) 评论(0) 推荐(0)
摘要:1. void TCPServer::start() { poco_assert (_stopped); _stopped = false; _thread.start(*this); } https://codeload.github.com/JetMeta/ZPoco/zip/master 阅读全文
posted @ 2018-01-10 12:27 lianhuaren 阅读(136) 评论(0) 推荐(0)
摘要:1.glCltDispatchTable 2.ntstubs.c 3.CreateThread 阅读全文
posted @ 2018-01-09 14:04 lianhuaren 阅读(269) 评论(0) 推荐(0)
摘要:1.NSInvocation存储 http://blog.sina.com.cn/s/blog_4beb28f30100qask.html 2.函数指针 https://segmentfault.com/a/1190000000578532 3.runtime http://justsee.itey 阅读全文
posted @ 2018-01-08 14:47 lianhuaren 阅读(242) 评论(0) 推荐(0)
摘要:1. //_lseek(file_handle, -(int)pbitmap->bitmapinfoheader.biSizeImage, SEEK_END); SetFilePointer((HANDLE)file_handle, -(int)(pbitmap->bitmapinfoheader. 阅读全文
posted @ 2018-01-06 15:34 lianhuaren 阅读(150) 评论(0) 推荐(0)
摘要:1. //不延时,可能会导致界面黑屏并卡住一会 [self performSelector:@selector(startScan) withObject:nil afterDelay:0.3]; - (void)viewWillDisappear:(BOOL)animated { [super v 阅读全文
posted @ 2018-01-05 10:33 lianhuaren 阅读(184) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-01-03 14:06 lianhuaren 阅读(5) 评论(0) 推荐(0)