1.获得项目中info.plist文件的内容1> [NSBundle mainBundle].infoDictionary2> 版本号在info.plist中的key:kCFBundleVersionKey2.沙盒的数据存储及读取1> 数据存储: [[NSUserDefaults standardU...
分类:
移动开发 时间:
2014-07-12 00:04:05
阅读次数:
348
一、gdb 多线程调试GDB多线程调试的基本命令。1. info threads 显示当前可调试的所有线程,每个线程会有一个GDB为其分配的ID,后面操作线程的时候会用到这个ID。 前面有*的是当前调试的线程。(gdb) info threads 4 Thread 1099119552 (LWP ....
分类:
数据库 时间:
2014-07-11 22:13:21
阅读次数:
355
Error info:Gen already exists but is not a source folder.Workaround-1:1. Right click project, and select "Properties"2. Select "Java Build Path"3. Ope...
分类:
其他好文 时间:
2014-07-09 19:29:27
阅读次数:
182
i2c_devinfo全局链表:__i2c_board_list用来挂接 i2c_board_info,这个信息用来生成 i2c_clienti2c_client 链表:i2c_bus_type->p->klist_devicesi2c_driver 链表:i2c_bus_type->p->klis...
分类:
其他好文 时间:
2014-07-09 15:11:22
阅读次数:
271
//函数原型:版本linux-3.0.8
struct task_struct *__switch_to(structtask_struct *,
struct thread_info *, struct thread_info *);
#define switch_to(prev,next,last) ...
分类:
其他好文 时间:
2014-07-09 09:28:09
阅读次数:
362
TiQuery 是一个基于JQuery 的在Titanium上使用的 javascript 库TiQuery 为TI 提供了很快捷的方法:// Utilities$.info('My message');$.error('my error message');$.include('path/to/f...
分类:
其他好文 时间:
2014-07-08 22:11:01
阅读次数:
239
1. git send-email is included in an individual package, named "git-email":$ sudo apt-get install git-email2. Configure the SMTP server info after the ...
分类:
系统相关 时间:
2014-07-08 14:49:13
阅读次数:
413
it is much easier to get the same result through PHP because the PHP language offers some global constant variables and built-in functions....
分类:
Web程序 时间:
2014-07-08 12:48:07
阅读次数:
196
一.WEB-INFO下的*.tld自定义标签描述文件PAFTaglib.tld<?xmlversion="1.0"encoding="UTF-8"?><taglibxmlns="http://java.sun.com/xml/ns/javaee"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://..
分类:
Web程序 时间:
2014-07-08 10:03:44
阅读次数:
246
(1)取消将日志记录在/var/log/messages目录中默认会也将haproxy日志记录在/var/log/message中,要去掉。#vi/etc/rsyslog.conflocal3.*/var/log/haproxy.loglocal0.*/var/log/haproxy.log*.info;mail.none;authpriv.none;cron.none;local3.none/var/log/messages(2)haproxy..
分类:
其他好文 时间:
2014-07-08 08:20:44
阅读次数:
478