依照mathjax-basic-tutorial-and-quick-reference,总结mathjax的基本用法。...
分类:
其他好文 时间:
2015-07-05 09:41:30
阅读次数:
699
详细API:https://github.com/kriskowal/q/wiki/API-Reference Q提供了promise的一种实现方式,现在在node中用的已经比较多了。因为没有中文的api,我就简单翻译下吧。鄙人不才,欢迎拍砖。。。一、Core Promise Methods1、p....
在程序开发过程中,程序员经常用到的一个功能就是查找引用(Find Reference),Visual Studio里面的对应功能是“查找所有引用”(Find All References)。
本人在使用notepad++写代码的时候一直因为找不到类似的功能和苦恼。只好每次使用“在文件中查找”(Find in files)来找到所有引用。
但是这样每次查找都需要遍历目标目录的整个文件...
分类:
编程语言 时间:
2015-07-04 18:28:13
阅读次数:
1061
错误一:undefined reference to `dlopen'undefined reference to `dlerror'undefined reference to `dlsym'对dlopen, dlerror, dlsym 未定义的引用, 缺少链接库, 链接时加上选项 -ldl参考...
分类:
系统相关 时间:
2015-07-04 18:19:54
阅读次数:
266
1.Petapoco基本用法1.1.创建示例工程首先创建一个工程文件,为了便于展示数据这里创建一个类型为:WindowsApplication的工程文件。命名为:PetapocoTest。程序最终布局及功能预览如下:1.2.添加petapoco包在项目文件的Reference上右键, 选择“管理Nu...
分类:
其他好文 时间:
2015-07-04 15:24:13
阅读次数:
167
Google开发者文档
http://developer.android.com/reference/android/app/Activity.html应用的每个页面都是一个Activity,这些Activity都存放在一个Activity栈中,每次进入某个应用或者应用的某个界面时,新界面这个Activity就压入到Activity栈的顶部;退出或返回的时候就把栈顶的Activity弹出,之前的A...
分类:
移动开发 时间:
2015-07-03 23:28:32
阅读次数:
217
我们都知道在防止如block的循环引用时,会使用__weak关键字做如下定义:__weak typeof(self) weakSelf = self;后来,为了方便,不用每次都要写这样一句固定代码,我们定义了宏:#define WeakSelf __weak typeof(self) weakSelf = self;之后,我们可以比较方便的在需要的地方:WeakSelf;
...
[weakSelf...
分类:
移动开发 时间:
2015-07-03 12:25:31
阅读次数:
279
1.捕捉@interfaceViewController ()//声明仿真器属性 保命啊@property(nonatomic,strong)UIDynamicAnimator *animator;@property (weak, nonatomic) IBOutlet UIImageView *i...
分类:
其他好文 时间:
2015-07-03 00:01:29
阅读次数:
294
AS an old question, this is more like info or reminder about vertical margin or padding in % that takes parent's width as reference .If you use a pseu...
分类:
Web程序 时间:
2015-07-02 17:15:11
阅读次数:
197
Reference:http://saiyaren.iteye.com/blog/19432071. Shell 读取文件和写文件 for line in $(>top30000.url.utf-8.http_server_front_hphp_mul_port.txt;tmp_port=$[t.....
分类:
系统相关 时间:
2015-07-02 06:27:03
阅读次数:
242