<?php //初始化变量 $cookie_file = tempnam('./','cookie'); $ip1 = mt_rand(1,127) . '.' . mt_rand(1,127) . '.' . mt_rand(1,127) . '.' . mt_rand(1,127); $head...
分类:
Web程序 时间:
2014-08-05 00:04:28
阅读次数:
269
#!/usr/bin/env python# -*- coding:utf-8 -*- 'python核心编程例子3.1:makeTextFile.py -- create text file'import os import sys ls = os.lines...
分类:
编程语言 时间:
2014-08-05 00:02:38
阅读次数:
294
参考文献:
Harley Hahns:Guide to Unix and Linux, Chap 24
——》首先要有的关键概念:the amount of "disk space" used by a file is not the same as the amount of data in the file.
——》其次,理解在file system和disk(or ot...
分类:
其他好文 时间:
2014-08-04 21:37:08
阅读次数:
223
今天我遇到了一个问题,就是直接输入http://localhost:8080/xxx-admin/,不是跳转到index.html,而是报404找不到的错误,根据错误信息看明显是没有跳转到index.html,意思就是说welcome-file-list根本就木有起作用。只有我输入确切路径htt.....
分类:
其他好文 时间:
2014-08-04 21:27:57
阅读次数:
352
String keyStoreFilePassword = System .getProperty("keystore.file.password");/usr/java/jdk1.6.0_25/bin/keytool -genkey -keystore SrvKeystore -key...
分类:
其他好文 时间:
2014-08-04 21:24:48
阅读次数:
312
>>> from django.template import Template>>> t = Template("My name is {{ my_name }}.")Traceback (most recent call last): File "C:\Python33\lib\site-pac...
分类:
其他好文 时间:
2014-08-04 21:09:40
阅读次数:
242
编辑/etc/selinux/config,找到这段:# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELin...
分类:
其他好文 时间:
2014-08-04 21:09:17
阅读次数:
296
1. 上传文件(1) controller@RequestMapping(value={"/uploadFile"},method={RequestMethod.POST}) public String upload(@RequestParam(value = "file", require...
分类:
其他好文 时间:
2014-08-04 21:01:27
阅读次数:
345
package com.cn.javaSE.dom4j;import java.io.File;import java.io.FileWriter;import java.io.IOException;import java.sql.Connection;import java.sql.Prepar...
分类:
其他好文 时间:
2014-08-04 20:58:47
阅读次数:
315