见代码: 表单对象--获取表单值的7种方式 推荐使用document.write(document.myform.user.value);
分类:
编程语言 时间:
2014-09-13 15:48:45
阅读次数:
146
1.在Ubuntu上安装samba服务 sudo apt-get install samba2.修改配置文件vim /etc/samba/smb.conf[xubu] (共享名) guest account = xubu (共享名) writeable = yes path = /home/sh.....
转载请注明出处:http://write.blog.csdn.net/postedit/39249761昨天更新了sdk的版本后先是出现了sdk要求版本和adt版本不符合的错误,然后解决了之后又出现运行android程序启动模拟器出现以下错误:The connection to adb is dow...
分类:
数据库 时间:
2014-09-13 13:20:35
阅读次数:
220
requestDispatcher对象可以有两中方式获得1.通过request对象的getRequestDispatcher方法获得2.通过ServletContext的getRequestDispatcher方法获得,但是这个方法获得的requestDispatcher对象中的path必须以“/”...
分类:
Web程序 时间:
2014-09-13 13:18:35
阅读次数:
196
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated b...
分类:
编程语言 时间:
2014-09-13 10:34:04
阅读次数:
291
1.简单:相对c/c++ 底层的工作省去了(垃圾回收,空间分配)。2.跨平台(源码)可移植:Write Once,Run Anywhere。 C++ 源码---目标(机器码)---exe可执行文件 Java 源码---字节码(平台无关 结构中立class,字节码传播更安全...
分类:
编程语言 时间:
2014-09-13 09:21:44
阅读次数:
355
背景:由于线上服务器硬盘故障,导致服务,数据失效;目的:保证第一时间发现硬盘信息是否正常;方案:使用Nagios自定义脚本来监控硬盘状态;注意:下面脚本只提供已经安装hpacuclimegacli软件使用;#!/bin/bash
#Marc.wang2014/06/17
exportPATH=$PATH:/usr/sbin/:/sbin/:/u..
分类:
移动开发 时间:
2014-09-13 03:02:15
阅读次数:
416
题意。。。
策略:rt
代码:
#include
#include
#define temp 10003
int ans(int n, int p){
int res = 1;
n %= temp;
while(p){
if(p&1) res = (n*res)%temp;
n = (n*n)%temp;
p /= 2;
}
return res;
}
int ma...
分类:
其他好文 时间:
2014-09-13 00:49:44
阅读次数:
281
#?-*-coding:utf-8-*-
import?os
import?sys
from?bs4?import?BeautifulSoup
reload(sys)
sys.setdefaultencoding("utf-8")
fp?=?open(‘txt.txt‘,‘a‘)
for?i?in?range(3):
????path?=?sys.arg...
分类:
编程语言 时间:
2014-09-12 23:35:24
阅读次数:
582
本文原创自 http://blog.csdn.net/voipmaker 转载注明出处。
要掌握redis的用法,配置文件的重要参数必须掌握,下面是笔者对各个参数的学习笔记,同时会针对特殊参数的使用场景做简短说明。
include /path/to/other.conf
解释:include和c里面的include概念类似,可以把redis的的参数分散到其他文件,当运行多个redis...
分类:
其他好文 时间:
2014-09-12 23:33:04
阅读次数:
396