码迷,mamicode.com
首页 >  
搜索关键字:file path    ( 77533个结果
Java实现ftp上传文件、文件夹
1 import java.io.File; 2 import java.io.FileInputStream; 3 import org.apache.commons.net.ftp.FTPClient; 4 import org.apache.com...
分类:编程语言   时间:2014-05-12 01:53:07    阅读次数:456
[leetcode]Sum Root to Leaf Numbers @ Python
原题地址:http://oj.leetcode.com/problems/sum-root-to-leaf-numbers/题意:Given a binary tree containing digits from0-9only, each root-to-leaf path could repre...
分类:编程语言   时间:2014-05-12 01:28:30    阅读次数:440
Ubuntu12.04开机报错:could not update ICEauthority file /home/user/.ICEauthority 解决
产生原因:误将/home/user目录的用户变成了root,所以无法更新ICE导致开机警告解决方法:1.使用guest登录2.打开一个console3.Ctrl + Alt +F1 进入安全模式4.使用你的用户名登录5.sudo chown -R user:user/home/$user/.ICEa...
分类:其他好文   时间:2014-05-12 00:15:41    阅读次数:459
InnoDB log file 设置多大合适?
简介:数据库的东西,往往一个参数就牵涉N多知识点。所以简单的说一下。大家都知道innodb是支持事务的存储引擎。事务的四个特性ACID即原子性(atomicity),一致性(consistency),隔离性(isolation),持久性(durability)。其中原子性,一致性,持久性通过redo...
分类:数据库   时间:2014-05-11 23:51:03    阅读次数:690
input type="file" 取得本地路径是不可能兼容所有浏览器的。
昨天公司需要做个对本地上传图片大小和尺寸的检测,需要用js来判断。经过我一天的研究发现,发现在ie下input的value值是本地的绝对路径,而高端浏览器,如谷歌,火狐却不是绝对路径,也就是说这些高端浏览器出于安全考虑不允许读到本地绝对路径(具体的危险待查)。也就是说只有通过后端来解决这个问题。前端...
分类:其他好文   时间:2014-05-11 22:47:23    阅读次数:332
获得临时文件的两种途径
获得临时文件的两种途径 Path.GetTempPath 方法 [C#]请参见 Path 类 | Path 成员 | System.IO 命名空间  要求 平台: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professi...
分类:其他好文   时间:2014-05-11 22:43:17    阅读次数:433
九度 1351 只出现一次的数
#include #include using namespace std; #ifdef ONLINE_JUDGE #define FINPUT(file) 0 #define FOUTPUT(file) 0 #else #...
分类:其他好文   时间:2014-05-11 20:36:05    阅读次数:337
九度 1201
#include #include using namespace std; #ifdef ONLINE_JUDGE #define FINPUT(file) 0 #define FOUTPUT(file) 0 #else ...
分类:其他好文   时间:2014-05-11 20:30:57    阅读次数:308
ubuntu12.10 cocos2dx 2.2.1 工程移植到安卓
1.到项目文件的proj.android目录下,编辑build_native.sh文件,指定NDK和cocos2dx路径 export NDK_ROOT=/home/liyuchen/dev/android-ndk-r9d export NDK_MODULE_PATH=/home/liyuchen/dev/cocos2d-x-2.2.1/cocos2dx 2.执行脚本 ./b...
分类:移动开发   时间:2014-05-11 20:09:19    阅读次数:399
九度 1205
#include #include using namespace std; #ifdef ONLINE_JUDGE #define FINPUT(file) 0 #define FOUTPUT(file) 0 #else ...
分类:其他好文   时间:2014-05-11 18:36:16    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!