码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果)
struts2上传的问题
5. 在这里我加一个struts2的一个上传验证的问题上传时我们可以这样来验证//判断上传的文件是否合要求 public boolean filterType(String []types){ //这里用的是 上传的file对象的方法length //上传的类...
分类:其他好文   时间:2014-06-28 16:28:01    阅读次数:223
ccConfig(设置一些底层接口状态:是否支持动作叠加 设置fps更新间隔和位置 是否画边框等。。)
#ifndef __CCCONFIG_H__#define __CCCONFIG_H__#include "platform/CCPlatformConfig.h"/**@filecocos2d (cc) configuration file*//** @def CC_ENABLE_STACKABL...
分类:其他好文   时间:2014-06-28 16:27:23    阅读次数:280
rsync
线上配置/etc/rsyncd.confuid = rootgid = rootuse chroot = yesmax connections = 10pid file=/var/run/rsyncd.pidlist = yesstrict modes = nohosts ...
分类:其他好文   时间:2014-06-28 16:24:42    阅读次数:327
将日期和时间作为 struct tm型的值直接向二进制文件进行读写
#include #include char data_file[]="D:\\%\\datetime.dat";void get_data(void){ FILE *fp; time_t t; if((fp = fopen(data_file,"r")) == NULL) printf("本程序第...
分类:其他好文   时间:2014-06-28 15:25:41    阅读次数:254
PHP 图片水印法
file=$file; $this->save='wm'.basename($this->file).'.jpg'; // new file to save watermarked image as $this->im=$this->open_img($this->file); ...
分类:Web程序   时间:2014-06-28 15:22:38    阅读次数:233
TC1.6SourceCode
/** * @version 2.0 * @author sharks*//** * Instruction * this version will use IO * apply file to store data * it just a table double click table ca.....
分类:其他好文   时间:2014-06-28 14:05:29    阅读次数:300
eclipse构建maven的web项目(转)
使用Eclipse的maven构建一个web项目1、选择建立Maven Project 选择File -> New -> Other,在New窗口中选择 Maven -> Maven Project;点击next 2、选择项目路径Usedefault Workspace location默认工作.....
分类:Web程序   时间:2014-06-28 12:50:22    阅读次数:316
find中的 time 参数
find手册中对time的解释:以 atime 为例:-atime n File was last accessed n*24 hours ago. When find figures out how many 24-hours periods ago the file was last...
分类:其他好文   时间:2014-06-28 12:09:59    阅读次数:222
centos安装php php-fpm
1、下载php源码包http://www.php.net/downloads.php2 、安装phptar -xvf php-5.5.13.tar.bz2cd php-5.5.13./configure --prefix=/usr/local/php --with-config-file-path=...
分类:Web程序   时间:2014-06-28 11:46:15    阅读次数:259
mysql shutdown and kill
--mysqladmin shutdownIf you executemysqladmin shutdownwhen connecting to a local server using a Unix socket file,mysqladminwaits until the server's pr...
分类:数据库   时间:2014-06-28 11:43:06    阅读次数:270
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!