1、在uboot需要做的是:
①usb reset
②fatload usb 0:1 0x80c00000 root_uImage
③bootm 0x80c00000
启动内核参数
CONFIG_CMDLINE="console=ttyS1,57600n8 mem=32m ip=off noinitrd root=8:2 rw rootfstype=ext2 rootdelay=...
分类:
系统相关 时间:
2014-07-22 23:54:16
阅读次数:
792
在开发的过程中由于调试的原因,在代码中加入console.info("xxxx"),而未进行删除在IE8下测试该代码所在的页面报错,如下:...
分类:
其他好文 时间:
2014-07-22 23:48:07
阅读次数:
608
1.首先打开终端,cd到cocos2d-x-3.2目录下,运行命令./setup.py ,根据提示设置相应的ndk路径NDK_ROOT,sdk路径ANDROID_SDK_ROOT,ant路径ANT_ROOT,cocos2d路径COCOS_CONSOLE_ROOT
= “cocos2d-x-3.2/tools/cocos2d-console/bin”,也可以用open -t ~/.bash_pr...
分类:
其他好文 时间:
2014-07-22 22:33:54
阅读次数:
185
==========================================第一种(普通排序)string[]s={"zhangsan","lisi","wangwu","liumazi"};
Array.Sort(s);//排序
foreach(stringitemins)
{
Console.WriteLine(item);
}==========================================第二种(自定义类排序)-----------..
分类:
其他好文 时间:
2014-07-22 14:57:14
阅读次数:
300
在tnsnames.ora文件中检查设置好像没什么问题,用sqlplus也可以正常操作orcl问题找到了,其实可简单,https://localhost:1158/em/console/logon/logon#,我用的是IE8打开这个地址,后来注意到左下角的状态栏里显示有“网页上有错误”的提示,于是...
分类:
数据库 时间:
2014-07-22 08:07:35
阅读次数:
276
用过pry,就会觉得之前使用的debugger的使用方法如此的复杂和烦恼重起rails s 的苦恼,以及为irb的增强功能而花费时间,默认pry配置已经够用了,以致rails console也可以歇歇了。安装:在Gemfile中添加gem 'pry', :group => :developme...
分类:
其他好文 时间:
2014-07-22 00:35:34
阅读次数:
300
1.工厂模式 工厂模式是一种常用的创建对象的模式,可以使用以下函数封装创建对象的细节:function CreatePerson(name,age){var p=new Object(); p.name=name; p.age=age; p.speak=function(){ console...
分类:
编程语言 时间:
2014-07-22 00:11:38
阅读次数:
275
varmysql=require(‘mysql‘);varclient=mysql.createConnection({host:‘112.124.54.74‘,port:3306,user:‘yin‘,password:‘691331‘,database:‘hu‘});client.connect(function(error,results){if(error){console.log(‘ConnectionError:‘+error.message);return;}console.log(‘Conne..
分类:
数据库 时间:
2014-07-21 19:48:22
阅读次数:
263
111var a= function (){var bb = 12; this.aa ="xxx"}; a.aa="www"; a.prototype.cc="eee"; var b = new a; for (var i in b){ console.log(b[i]); }...
分类:
其他好文 时间:
2014-07-21 08:01:30
阅读次数:
275
定义类
Ext.define('Cookbook.Vehicle', {
Manufacturer: 'Aston Martin',
Model: 'Vanquish',
getDetails: function(){
alert('I am an ' + this.Manufacturer + ' ' + this.Model);
}
}, function(){
Console.log('C...
分类:
Web程序 时间:
2014-07-20 22:35:23
阅读次数:
312