码迷,mamicode.com
首页 >  
搜索关键字:console    ( 13968个结果
数组排序
==========================================第一种(普通排序)string[]s={"zhangsan","lisi","wangwu","liumazi"}; Array.Sort(s);//排序 foreach(stringitemins) { Console.WriteLine(item); }==========================================第二种(自定义类排序)-----------..
分类:其他好文   时间:2014-07-22 14:57:14    阅读次数:300
Oracle Enterprise Manager 11g 输入用户名和口令 点击“登录”按键后没反应,也不报错,是什么原因?
在tnsnames.ora文件中检查设置好像没什么问题,用sqlplus也可以正常操作orcl问题找到了,其实可简单,https://localhost:1158/em/console/logon/logon#,我用的是IE8打开这个地址,后来注意到左下角的状态栏里显示有“网页上有错误”的提示,于是...
分类:数据库   时间:2014-07-22 08:07:35    阅读次数:276
rails 调试工具pry 换掉debugger 和 rails c
用过pry,就会觉得之前使用的debugger的使用方法如此的复杂和烦恼重起rails s 的苦恼,以及为irb的增强功能而花费时间,默认pry配置已经够用了,以致rails console也可以歇歇了。安装:在Gemfile中添加gem 'pry', :group => :developme...
分类:其他好文   时间:2014-07-22 00:35:34    阅读次数:300
读javascript高级编程05-面向对象之创建对象
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
node mysql
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
如何从NFS文件系统启动
笔记,备忘!步骤: 1、设置好NFS服务器 2、修改uboot启动参数bootarg setenv bootargs console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.102:/home/student/root_qtopia i...
分类:其他好文   时间:2014-07-21 10:20:41    阅读次数:220
JS魔法堂:属性、特性,傻傻分不清楚
一、前言 或许你和我一样都曾经被下面的代码所困扰var el = document.getElementById('dummy');el.hello = "test";console.log(el.getAttribute('hello...
分类:Web程序   时间:2014-07-21 09:30:35    阅读次数:402
关于对象
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
ExtJS学习笔记:定义extjs类
定义类 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
centos卸载console-kit-da
最近发现系统多出来 很多console-kit-da 及它的子进程 占用了不少资源whichconsole-kit-da(很奇怪 为什么找不到执行文件)rpm -qa | grep -i console(找到rpm包)yum erase ConsoleKit-libs-0.4.1-3.el6.x86...
分类:其他好文   时间:2014-07-20 22:00:28    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!