摘要: 查看linux的.so包含哪些函数:nm *.so; readelf -a *.so如果是ndk编译的.so,nm查看不出函数,得用readelf,因为android的.so或者可执行文件使用elf格式- gcc的fvisibility=hidden 可以把*所有*的符号(函数和变量名)强制标记为隐... 阅读全文
posted @ 2015-04-15 18:02 Lcnoctave 阅读(723) 评论(0) 推荐(0) 编辑
摘要: ```#include #include #include bool divby5(int x){ return x % 5 ? 0 : 1;}int square(const int x){ return x*x;}void find_sample(){ int num_find = 6; std... 阅读全文
posted @ 2015-04-15 15:42 Lcnoctave 阅读(153) 评论(0) 推荐(0) 编辑
摘要: - run as admin 启动cygwin- ssh-host-config```\[output\]*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes*** Info: Creating default /etc/s... 阅读全文
posted @ 2015-04-14 11:22 Lcnoctave 阅读(446) 评论(0) 推荐(0) 编辑
摘要: ```// Playground - noun: a place where people can playimport UIKitvar str = "Hello, playground"println(str + " " + str)let a = 1var varDouble: Double ... 阅读全文
posted @ 2015-04-13 17:44 Lcnoctave 阅读(168) 评论(0) 推荐(0) 编辑
摘要: - face detection face alignment verification identification- opencv中的人脸检测是Viola-Jones算法,经典的技术- MSRA14 Joint Cascade Face Detection and Alignment- 框架``... 阅读全文
posted @ 2015-04-08 22:23 Lcnoctave 阅读(600) 评论(0) 推荐(0) 编辑
摘要: ```1. install pip - goto[pip](https://pip.pypa.io/en/latest/installing.html)develop页面,download get-pip.py - python get-pip.py --proxy="[user:passw... 阅读全文
posted @ 2015-04-03 00:13 Lcnoctave 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Linux环境中通常是使用http_proxy和ftp_proxy这两个环境变量来获得代理设置:export http_proxy=proxy_addr:port export ftp_proxy=proxy_addr:port 例如,假设你的代理服务器为192.168.1.1,端口是8080,用户... 阅读全文
posted @ 2015-04-02 23:22 Lcnoctave 阅读(402) 评论(0) 推荐(0) 编辑
摘要: # C++ 11 lamada- ```[capture-list](params)mutable(optional) exception attribute -> ret {body}```- lamada表达式允许捕获局部变量,而类的成员变量则需要捕获this,as:```[this](){}`... 阅读全文
posted @ 2015-04-01 19:22 Lcnoctave 阅读(331) 评论(0) 推荐(0) 编辑
摘要: terminal -> vim ~/.vimrc paste below:```set nocompatibleset nu sts=4 ts=4 sw=4 et si aiset rulerset hlsearchsyntax onfiletype plugin onset whichwrap+=... 阅读全文
posted @ 2015-03-31 22:37 Lcnoctave 阅读(228) 评论(0) 推荐(0) 编辑
摘要: xcodebuild -exportArchive -archivePath .xcarchive -exportPath -exportFormat ipa -exportProvisioningProfile "Name of Provisioning Profile"#export ipa ... 阅读全文
posted @ 2015-03-25 11:25 Lcnoctave 阅读(509) 评论(0) 推荐(0) 编辑