问题
设置mac地址 11:22:33:44:55:66, 在OpenWrt正在开发的主trunk上就没有SIOCSIFHWADDR: Cannot assign requested address, 这个问题。
但是到attitude adjustment最新的trunk上就出现了,估计是内核版本不同,导致都mac地址的限制不同导致。
最新的反而不严格了?这个不科学啊。
解决方法...
分类:
其他好文 时间:
2014-08-11 21:21:42
阅读次数:
522
//hnldyhy(303882171) 8:54:04#include // poj 1258#include using namespace std; #define N 105int p[N];void init (int n){ for (int i=1;i>n&&n>=3) ...
分类:
其他好文 时间:
2014-08-11 21:17:32
阅读次数:
186
转自:江南烟雨IP哈希初始化IP哈希的初始化函数ngx_http_upstream_init_ip_hash(ngx_http_upstream_ip_hash_module.c):static ngx_int_tngx_http_upstream_init_ip_hash(ngx_conf_t *...
分类:
其他好文 时间:
2014-08-11 21:00:42
阅读次数:
325
博客园都不知道怎么外链图片……- (void)numToString:(double)num{ int iLen,iNum,iAddZero=0; NSMutableString *szChMoney = [[NSMutableString alloc] init]; NSArra...
分类:
其他好文 时间:
2014-08-11 20:47:32
阅读次数:
196
UITableView设置背景图片:即设置tableView的backgroundViewUIView *view = [[UIView alloc] init]; view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imag...
分类:
其他好文 时间:
2014-08-11 20:40:52
阅读次数:
192
安装:sudo yum install automake使用:1 运行autoscan生成两个文件:autoscan.log和configure.scan。将configure.scan重命名为configure.in。 修改configure.in文件:(1) 将AC_INIT中的参数进行填充,如...
分类:
其他好文 时间:
2014-08-11 20:30:22
阅读次数:
169
git提交三步走git addgit commitgit push查看状态git status创建git文件初始化一个文件夹git init [--bare]#括号内可选,为接收提交git log #查看提交记录git clone ssh:// 下载projectgit checkout -br.....
分类:
其他好文 时间:
2014-08-11 20:26:22
阅读次数:
210
用amoeba配合mysql主从构建mysql读写分离1mysql主从配置mysqlmaster192.168.11.177mysqlslave192.168.11.178amoeba主机192.168.11.179俩台虚拟机上yuminstallmysqlmysql-serevrmysql-devel(没有用,防止以后用)/etc/init.d/mysqldstartmysqladmin-urootpassword‘123456‘chkconf..
分类:
数据库 时间:
2014-08-11 18:09:13
阅读次数:
293
VS2010下Cannot find or open the PDB file 问题的解决...
分类:
数据库 时间:
2014-08-11 17:47:12
阅读次数:
212
在实现某些需求的时候会有这样的情况,页面第一次加载显示的时候需要某些操作,而以后就不需要重复执行了,一般这种处理都放在- (void)viewDidLoad或- (id)init因为一般这两个函数除了在第一次显示或初始化以后就不会走了。如果反过来呢页面第一次加载显示的时候不需要某些操作,但是如果是非...
分类:
移动开发 时间:
2014-08-11 17:44:12
阅读次数:
226