wireless-regdb是一个开源的工程,它编译会生成regulatory.bin文件,这个实际是一个加密后的数据库,它记录各个国家可用的无线频段。
下载wireless-regdb有两个方法:
1. git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
2. http://wirele...
分类:
数据库 时间:
2014-05-07 07:51:49
阅读次数:
622
In file included from mod_shib_20.cpp:68:
mod_shib.cpp:118: warning: deprecated conversion from string constant to 'char*'
mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::get...
分类:
其他好文 时间:
2014-05-07 06:04:50
阅读次数:
363
unsigned long get_free_page(void)
{
register unsigned long __res asm("ax");
repeat:
__asm__("std ; repne ; scasb\n\t"
"jne 1f\n\t"
"movb $1,1(%%edi)\n\t"
"sall $12...
分类:
系统相关 时间:
2014-05-07 05:38:18
阅读次数:
515
全网最全的Android游戏源码汇总
http://neast.cn/forum.php?mod=viewthread&tid=5080&fromuid=5
AndroidUI设计之高仿系列
http://neast.cn/forum.php?mod=viewthread&tid=5293&fromuid=5
全网最全的Android源码汇总—几百个Androi...
分类:
移动开发 时间:
2014-05-07 05:26:22
阅读次数:
432
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?).
原来它是采用hook设置,如下所示
(add-hook 'eshell-mode-hook
(lambda ()
(local-set-key (kbd "C-j") 'switch-to...
分类:
其他好文 时间:
2014-05-07 05:25:39
阅读次数:
253
为了方便说明和更加直观的展示jquerymobile的页面初始化过程以及各个事件的触发过程,我绘制了一幅流程图:图中用红色框圈起来的是界面中的事件,测试代码如下:
练习
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=0;...
分类:
移动开发 时间:
2014-05-07 04:40:07
阅读次数:
450
tm结构体的定义在time.h里面
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
/*...
分类:
系统相关 时间:
2014-05-06 22:26:46
阅读次数:
474
大型的客户端应用一般都很难开发、很难组织、也很难维护。随着项目的进展,会发现整个工作在走向失控——需要为项目添加更多的功能、补充更多的开发人员。ExtJS4带来了一种新的应用结构。这种结构不止用于组织代码,也能有效的减少必要的代码量。这次ExtJS4的应用结构采用了MVC的形式。在这种形式下,Mod...
分类:
Web程序 时间:
2014-05-06 18:03:14
阅读次数:
395
#servicemysqlstop#servicemysqlstart--skip-grant-tables//跳过授权表启动MySQL服务程序#mysql-uroot//不需要密码登录mysql>updatemysql.usersetpassword=password(‘123456‘)wherehost="localhost";//通过修改mysql库中user表的相关记录重置密码QueryOK,0rowsaffected(0.38..
分类:
数据库 时间:
2014-05-06 16:52:46
阅读次数:
439
将文件的每行读取到字典中文件每行内容格式为:cui:123456789f=open(‘user.txt‘)
d=f.readlines()
f.close()
mydict={}
foriind:
user=i.split(‘:‘)[0]
info=i.split(‘:‘)[1].rstrip()
mydict[user]=info
分类:
编程语言 时间:
2014-05-06 16:40:26
阅读次数:
362