function bianli(path)
'initiate
path = server.mappath(path)
set fso=server.CreateObject("scripting.filesystemobject")
set objFolder=fso.GetFolder(path)
set objfiles = objfolder.files
'把文件名及文...
分类:
其他好文 时间:
2014-05-12 14:54:44
阅读次数:
261
1.加载JSON文件a.JSON文件的路径NSString *path = [[NSBundle
mainBundle] pathForResource:@"XXXX.json" ofType:nil];b.加载JSON文件 获取Data数据NSData
*data = [NSData dataWi...
分类:
Web程序 时间:
2014-05-12 09:20:20
阅读次数:
284
今天一个新手在群里问自己的Eclipse打不开,然后我是属于那种热心肠的人,一般自己知道的就会告诉他们,看了下,是环境变量没有配好,反正我觉得配环境比较简单,现在就教大家简单的环境变量配法path
----- 输入jdk里面bin的目录,例如D:\mtools\win32-x86\java\jdk1...
分类:
编程语言 时间:
2014-05-12 04:16:40
阅读次数:
369
ind是一个基于查找的功能非常强大的命令,相对而言,它的使用也相对较为复杂,参数也比较多,所以在这里将给把它们分类列出,它的基本语法如下:find[PATH][option][action]#与时间有关的参数:-mtimen:n为数字,意思为在n天之前的“一天内”被更改过的文件;-mtime+n:列...
分类:
其他好文 时间:
2014-05-12 02:01:20
阅读次数:
327
原题地址: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
MyEclipse 中各种 libraries 的含义
JRE System Library , java EE 5 Libraries , Referenced Libraries这三个都是各种JAR包(库文件)的集合名称,可以任意取,只不过是Eclipse的默认名字罢了.
JRE System Library: 指Java SE 的常用库文件集合,建立普通的J...
分类:
系统相关 时间:
2014-05-11 13:08:00
阅读次数:
541
题目
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,...
分类:
其他好文 时间:
2014-05-11 03:25:24
阅读次数:
298
1.给root账户授权所有sql权限
grant all privileges on *.* to root@"%" identified by ".";flush privileges;
2.建立bat批处理文件
@echo off
set path=%path%;D:\Program Files\MySQL\MySQL Server 5.5\bin
set y=%date:~0,4%
s...
分类:
数据库 时间:
2014-05-11 03:11:33
阅读次数:
406
本文地址:http://blog.csdn.net/a_ran/article/details/25250583
在学习linux系统编程的时候,实现了rmdir命令的特别版本。
因为rmdir只能删除空文件夹,而我实现的功能相当于 rm -rf path...
实现的功能:
递归删除指定文件夹的所有文件
程序说明:
1. my_rmdir(): 即为递归删除动作的自定义函...
分类:
系统相关 时间:
2014-05-11 01:56:33
阅读次数:
538
1 void copyFile() 2 { 3 NSString
*home=NSHomeDirectory(); 4 NSString *path=[NSString
stringWithFormat:@"%@/desktop/oc.mp4",home]; 5 NSStr...
分类:
编程语言 时间:
2014-05-10 21:12:51
阅读次数:
368