import java.io.IOException;import
org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.Path;import
org.apache.hadoop.io.IntWritable;import...
分类:
其他好文 时间:
2014-05-12 19:55:27
阅读次数:
326
今天一个新手在群里问自己的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
获得临时文件的两种途径
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
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
实际操作: 1.创建一个目录mkdir语法:mkdir[-mp][目录名称] 一般与配合cdtreepwd等命令来实现,整个操作 2.建议一个文件利用touch命令来完成语法:touch[path]/filename &..
分类:
其他好文 时间:
2014-05-11 19:10:30
阅读次数:
357
题目
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