Connection test failed. Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in conn...
分类:
Web程序 时间:
2014-06-25 23:48:58
阅读次数:
387
前端开发很重要,编写脚本也不容易。总结我以前的前端学习经历,基本是一团乱麻:css+javascript是在大三自学的,当时自己做课程设计,逼着自己在一个月之内,写了一个半成品的j2ee网站。当时,真有种:when you burn out, you would loose your enthusi...
分类:
编程语言 时间:
2014-06-25 20:47:45
阅读次数:
197
Android开发环境搭建时遇到问题的解决方法
错误1:
The connection to adb is down, and a severe error has occured.
[2013-08-31 16:11:56 -com.qihoo.subject]
You must restart adb and Eclipse.
[2013-08-31 16:11:56...
分类:
移动开发 时间:
2014-06-24 23:51:52
阅读次数:
514
原型函数,功能很简单,找到时钟的id,计算数值,到达抢购时间时执行任务。
function nwt() {var str=$('#deal_expiry_timer_e3cdcd2a').text(); var out=str.match(/\d+/g);console.log(out);var h=parseInt(out[0]),m=parseInt(out[1]),s=parseInt(o...
分类:
Web程序 时间:
2014-06-24 17:56:43
阅读次数:
229
(1) 两者都是按地址传递的,使用后都将改变原来的数值
(2) ref传进去的参数必须在调用前初始化,out不必
(3) ref传进去的参数在函数内部可以直接使用,而out不可
(4) ref传进去的参数在函数内部可以不被修改,但out必须在离开函数体前进行赋值
(5) ref是有进有出,out是只出不进
string outString = "This is t...
分类:
其他好文 时间:
2014-06-24 17:39:19
阅读次数:
211
If you feel like crying you shouldn’t hold back your tears. You should let it all out while you still can, because when you get bigger sometimes you ....
分类:
其他好文 时间:
2014-06-24 14:53:38
阅读次数:
255
有时希望把刚捕获的异常重新抛出,尤其是在使用Exception捕获的异常的时候。既然已经得到了对当前异常对象的引用,可以直接把它重新抛出:catch(Exception e){ Systyem.out.println(“An exception was thrown”); throw e;}重...
分类:
编程语言 时间:
2014-06-24 13:54:48
阅读次数:
275
原文:.net中用Action等委托向外传递参数 一般我们可以使用ref,out达到向外传递参数目的。 Action是一个特殊的委托,除了常规应用。我们还可以用它来实现简单地向外传递参数。直接看下面的UnitTest代码: 1: [TestMethod] 2: public void PassOut...
分类:
Web程序 时间:
2014-06-24 11:51:50
阅读次数:
330
生产者#include#include#includeusing namespace std; int main(void) { ofstream out; const char ch = '*'; long long k = 0; DWORD64 time = GetTickCount64(); ...
分类:
其他好文 时间:
2014-06-24 11:29:19
阅读次数:
354
Inflate() method can find out a layout defined by xml,as like the findViewById() method,but there have some different between them.
The different are:
If your Activity used other layout,such as...
分类:
移动开发 时间:
2014-06-22 06:41:43
阅读次数:
362