- 浏览: 411019 次
- 性别:
- 来自: 深圳
-
最新评论
-
huxin889:
第三四张图片裂了
ant 打包 jar 可执行 -
leichenlei:
user.hashCode() 会出现负数,怎么处理?
mysql merge分表 -
niaoqq1:
不好使。来看看我的方法。js:var NodeArr=getS ...
java中如何在ajax发送参数的时候,参数以数组的方式传递到后数组台 -
zhijiandedaima:
为什么我的defaultCache是空,空指针异常啊
spring 整合memcache -
lt26i:
帮了大忙了向楼主学习
java中如何在ajax发送参数的时候,参数以数组的方式传递到后数组台
文章列表
public class EuclidExtend {
public int gcd(int a ,int b)
{
int temp=0;
//System.out.println("start:");
if(b!=0){
int i=1;
for(i=1;a-b*i>=0;i++)
{ ; }
temp=b;
b=a-b*(i-1);
a=temp;
//System.out.println("next step:"+a+","+b);
...
import sun.net.www.content.text.plain;
public class Vigenere
{
//维吉尼亚加密算法的实现,主要问题是如何构建一个2唯的矩阵表
int num = 26*26;
public static int data[][]= new int[26][26];
public static String key = "BEST";
public static String plainText = "HELLO WORLD";
public static String cipherText = ...
public class Node {
public int value;
public Node left;
public Node right;
public void store(int value)
{
if(value<this.value)
{
if(left == null)
{
left = new Node();
left.value=value;
}
else
{
left.store(value);
}
}
else if(value>this.value)
{
...
CSS的Position 4个值的详解
CSS中主要难以理解的属性包括盒型结构,以及定位。正如positioniseverything,本文将主要讲述关于position的理解,力求让您看完本文后对position有着最全面的认识。
position的四个属性值:
relative
absolute
fixed
static
下面分别讲述这四个属性。
<div id="parent">
<div id="sub1">sub1</id>
<div ...
java写的一个简易的浏览器
import java.awt.*;
import java.awt.event.*;
import java.io.IOException;
import java.net.*;
import javax.swing.*;
import javax.swing.event.HyperlinkEvent;
import javax.swing.event.HyperlinkListener;
public class HTTPBrowserDemo extends JFrame {
private JLabel jlAddress,jlInfo ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Transitional//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
< ...
//一个工具的类,用来校验表单中一些常用的表单元素
var errMsg = {
/*
requied:{
//校验必填字段
msg: "this filed is required!",
test: function(obj,load){
return obj.value.length>0||load||object.value==object.defaultValue;
}
}, */
username:{
msg:"Not a valid username,it must be ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb ...
<html>
<head>
<title>悬浮窗口示例</title>
<script type="text/javascript">
window.onscroll = function () {
var div = document.getElementById("divSuspended");
div.style.top = document.body.scrollTop;
}
window.onresize = window.onscroll;
function i ...
导入dmp备份文件
- 博客分类:
- oracle学习笔记
首先创建一个用户school ,密码为school,并且给予相应的权限
create user school identified by school;
grant create session,resource,dba to schoo;
其次就导入dmp文件
可以直接用 imp在linux的终端输入
$imp
回车后就会要你输入用户名和密码,就是上面创建的
下面按照要求就可以完成导入
第2中方法是通过在linux字符界面输入命令的方式
imp userid=school ignore=y fromuser=school touser=school file=/home/oracle/ ...
Installing Oracle 10g On Ubuntu Karmic 64 Bit or Otherwise PDF Print E-mail
Written by Josh B
Thursday, 07 January 2010 18:31
Tags: oracle | ubuntu
Why Oracle 10g on Ubuntu...?
Oracle doesn't officially currently support its database on Ubuntu. However, I think that Ubuntu, especially the cu ...
OpenStack Nova code:https://bugs.launchpad.net/nova
OpenStack Blog:http://planet.openstack.org/
OpenStack 官方文档:http://docs.openstack.org/cactus/openstack-compute/admin/content/ch_getting-started-with-openstack.html
OpenStack 中国门户:http://blu001068.chinaw3.com/bbs/portal.php
在 Ubuntu 上安装和配置 O[url]penSt ...
shutdown -h now //立刻关机
shutdown -r now
reboot //重新启动
pwd 显示当前工作的目录
ls -a 显示隐藏文件
ls -l 显示详细文件信息
mkdir 建立目录
rmdir 删除空目录
touch 建立空文件
cp -r dir1 dir2
rm -rf 删除文件
ln -s /etc/inittab inittab //建立符 ...
经过3个星期的尝试怎么成功搭建了属于自己的私有云平台。在这里首先谢谢vpsee这个网站,我主要参考的是这个上面的内容。
现在介绍一下我的搭建环境,我用的操作系统是ubuntu-11.04-desktop-amd64.iso 。64位的操作系统,注意你的机器如果不支持64位的,那么请安装32位的,因为在后面发布镜像的时候要和你的操作系统的位数匹配。
笔者的网络是172.16.200.128/25 ,笔者的ip是172.16.200.187,子网掩码是172.16.200.192,网关是172.16.200.190,后面在配置nova的网络的时候要用到
安装完基本的 Ubuntu 11.04 S ...