本来高高兴兴的 升级sdk 到了5.0 结果一打开 eclipse 就发现 可视化界面加载不了。
查了半天 ,有些说是 把 sdk目录下面的 temp 文件夹删除。有些说是升级一下 jdk 的版本, 现在jdk 是 1.6
结果把 jdk 换成了1.7 果真好了呢 ! T T...
分类:
移动开发 时间:
2014-10-28 10:24:38
阅读次数:
146
Switch without a condition is the same asswitch true.This construct can be a clean way to write long if-then-else chains.package main import ( "fmt...
分类:
其他好文 时间:
2014-10-28 08:09:51
阅读次数:
112
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2014-10-28 07:02:27
阅读次数:
171
第一次配置pydot环境,过程还是比较曲折,看来对这种模式还不是很熟悉。断断续续弄了两天弄好了。都是些小要求,小细节问题。
安装的顺序也很重要:
1、安装python-2.7.8.amd64.msi, 选择only for me,否则后面pyparsing解析不出路径;
2、在path中设置 python的路径 如, D:\python27
3、安装graphviz-2.26.3.msi,...
分类:
其他好文 时间:
2014-10-27 23:02:48
阅读次数:
278
0x00 前言: reahat的官网上可以找到编号CVE-2014-8485的漏洞,描述如下: CVE-2014-8485 binutils: lack of range checking leading to controlled write in _bfd_elf_setup_sectio...
分类:
其他好文 时间:
2014-10-27 22:47:53
阅读次数:
434
string path = new directoryinfo("../").fullname;//当前应用程序路径的上级目录获取当前目录可以使用appdomain.currentdomain.basedirectory。获取当前目录的上级目录path.getfullpath("..")代码usin...
学习OS模块:#!/usr/bin/pythonimport osimport timeimport socketdef getsource(): print "[Info]-Please input the absolute path of file or directory which y...
分类:
其他好文 时间:
2014-10-27 22:31:37
阅读次数:
140
问题描述:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
...
分类:
其他好文 时间:
2014-10-27 21:17:54
阅读次数:
165
gnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then outpu...
分类:
其他好文 时间:
2014-10-27 20:57:39
阅读次数:
218
资源介绍:常用资源:file、service、package工具资源:exec、cron、user、group资源总结fileensure=>(指定文件状态)present检查文件是否存在,不存在就创建absent检查文件是否存在,存在就创建directory指定这是目录path=>(文件完整路径,默认与title相同)source=&g..
分类:
其他好文 时间:
2014-10-27 19:46:54
阅读次数:
160