创建存储过程:1 delimiter //2 create procedure
printname (id int,out name char(50) )3 begin4 select user into name from user
where id=id;5 end6 //7 delimiter...
分类:
其他好文 时间:
2014-05-23 06:11:51
阅读次数:
184
class SuperClass{ static{ System.out.println("super
class init!"); } static int superInt = 1; static String superString = "supS...
分类:
编程语言 时间:
2014-05-23 04:35:31
阅读次数:
253
1 @echo off2 :loop3 datamaker4 std5 me6 fc std.out
me.out7 if not errorlevel 1 goto loop8 pause9 goto loop对拍模板。
分类:
其他好文 时间:
2014-05-23 03:43:23
阅读次数:
295
static void Main(string[] args) { /*int i,j;
Method1(10,20,out i ,out j ); Console.WriteLine("{0}and{1}", i, ...
分类:
其他好文 时间:
2014-05-23 03:04:48
阅读次数:
276
在查看alert日志的时候发现: 1
*********************************************************************** 2 3
Fatal NI connect error 12170. 4 5 VERSION INFORMATI...
分类:
其他好文 时间:
2014-05-21 20:13:32
阅读次数:
298
一、FIFO简介 FIFO是英文First In First Out
的缩写,是一种先进先出的数据缓存器,它与普通存储器的区别是没有外部读写地址线,这样使用起来非常简单,但缺点就是只能顺序写入数据,顺序的读出数据,其数据地址由内部读写指针自动加1完成,不能像普通存储器那样可以由地址线决定读取或写入....
分类:
其他好文 时间:
2014-05-21 18:57:44
阅读次数:
239
public class setZero {
static void print(int [][]a){
for(int i=0;i<a.length;i++){
for(int j=0;j<a[i].length;j++){
System.out.print(a[i][j]+" ");
}
System.out.println();
}
}
/*stati...
分类:
其他好文 时间:
2014-05-21 16:16:56
阅读次数:
252
在Heat中完全使用aws的语法创建一套autoscaling的template。
流程:
Create LaunchConfig (Create basic instance, send mem status to ALARM) ->
Create ASGroup (Define instance num range) ->
Create ScaleUpPolicy (+1 in...
分类:
其他好文 时间:
2014-05-21 16:01:10
阅读次数:
315
Description
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there exists a ...
分类:
其他好文 时间:
2014-05-21 10:58:39
阅读次数:
237
最近编写Python程序时经常遇见中文相关的问题,这里说一个问题的解决方法。
我在使用json模块的dumps()函数时,因为涉及到中文,报出如下错误:
ascii codec can't decode byte 0xe8 in position 0:ordinal not in range(128)
这是编码相关的问题,在该程序中加入如下代码:
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
这样就可以解决该问题了,希望对大家有所帮助。...
分类:
编程语言 时间:
2014-05-21 09:47:21
阅读次数:
323