首页 > 全部
Linux环境Hadoop单机模式安装详解
一、JDK安装与配置 详情请见:http://www.cnblogs.com/zhangwenjing/p/3580726.html二、Hadoop安装与配置 1、Hadoop下载与安装 地址:http://mirrors.hust.edu.cn/apache/hadoop/common/hadoo...
分类:其他   时间:2014-03-05 17:12:26    收藏:0  评论:0  赞:0  阅读:479
Visual Studio 2013在线文档地址备案
Visual Studio 2013还没有离线的帮助文档,这里做个记录,以备后面使用。地址:http://msdn.microsoft.com/zh-cn/library/dd831853.aspx
分类:其他   时间:2014-03-05 17:10:35    收藏:0  评论:0  赞:0  阅读:458
Java泛型入门
泛型的作用: 1,避免了在操作集合时强制转换的麻烦。 2,将运行时期的ClassCastException转到了编译时期。泛型是JDK1.5才出现的新特性,在此之前,在想集合中存储数据时都会向上提升为Object,再取出时候使用时会十分麻烦 @Test public void test1(){ Ar...
分类:其他   时间:2014-03-05 17:09:04    收藏:0  评论:0  赞:0  阅读:431
构造函数顺序
1 class X 2 { 3 X() 4 { 5 System.out.println("x"); //2 6 } 7 Y y=new Y(); //1 8 } 9 class Y10 {11 12 Y()13 {14 System.out.println("y");15 }16 }17 clas...
分类:其他   时间:2014-03-05 17:07:32    收藏:0  评论:0  赞:0  阅读:464
OpenJudge 2795 金银岛
1.链接地址:http://bailian.openjudge.cn/practice/2795/2.题目:总Time Limit:3000msMemory Limit:65536kBDescription某天KID利用飞行器飞到了一个金银岛上,上面有许多珍贵的金属,KID虽然更喜欢各种宝石的艺术品...
分类:其他   时间:2014-03-05 17:06:01    收藏:0  评论:0  赞:0  阅读:495
在usercontrol里实现导航
(Application.Current.RootVisual as PhoneApplicationFrame).Navigate(new Uri("/NewContent.xaml", UriKind.Relative));
分类:其他   时间:2014-03-05 17:04:29    收藏:0  评论:0  赞:0  阅读:505
启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
原因1:给定目录下jvm.dll不存在。对策:(1)重新安装jre或者jdk并配置好环境变量。(2)copy一个jvm.dll放在该目录下。原因2:eclipse的版本与jre或者jdk版本不一致对策:要么两者都安装64位的,要么都安装32位的,不能一个是32位一个是64位。原因2的概率更大一些,原...
分类:其他   时间:2014-03-05 17:01:23    收藏:0  评论:0  赞:0  阅读:358
poj-3181 Dollar Dayz
完全背包。+实现俩个大数相加。http://poj.org/problem?id=3181Dollar DayzTime Limit:1000MSMemory Limit:65536KTotal Submissions:3431Accepted:1356DescriptionFarmer John ...
分类:其他   时间:2014-03-05 16:59:53    收藏:0  评论:0  赞:0  阅读:513
数据结构回顾
栈结果#include "stdio.h" #include "stdlib.h" #include "math.h" #include "time.h"#define OK 1#define ERROR 0#define TRUE 1#define FALSE 0#define MAXSIZE 2...
分类:其他   时间:2014-03-05 16:58:21    收藏:0  评论:0  赞:0  阅读:522
SGU101
Dominoes – game played with small, rectangular blocks of wood or other material, each identified by a number of dots, or pips, on its face. The blocks...
分类:其他   时间:2014-03-05 16:56:50    收藏:0  评论:0  赞:0  阅读:593
Cannot change network to bridged: There are no un-bridged host network adapters解决方法
首先,在你安装上了虚拟机后要确保你也安装了桥接的协议,这可以通过点击右键“网上邻居”,在其中可以看到有两个虚拟出来的网络一个VMnet1,另一个是VMnet8, 如下图所示。如果没有安装,可以通过下面的方式进行安装,要确保你的网络上了桥接的协议如下图所示:(1).在"VMware Network A...
分类:Web开发   时间:2014-03-05 16:55:18    收藏:0  评论:0  赞:0  阅读:603
140304笔记, mysql 更改自动增长字段值的重新设定
1. 存在同名的或不同的namespace交错情况。Caused by: com.ibatis.sqlmap.client.SqlMapException: There is no result map named TblCuShopcarNw.TblCuShopcarResultMap in th...
分类:数据库技术   时间:2014-03-05 16:53:46    收藏:0  评论:0  赞:0  阅读:694
数据结构关于直接插入排序、冒泡排序、直接选择排序的实现
1 #include 2 #include 3 using namespace std; 4 #define maxsize 100 5 typedef struct 6 { 7 int key; 8 int num; 9 } redtype;10 typedef struct11 {12 redt...
分类:其他   时间:2014-03-05 16:52:12    收藏:0  评论:0  赞:0  阅读:510
Java项目打jar包及外部运行
运行jar文件、批处理
分类:其他   时间:2014-03-05 16:50:41    收藏:0  评论:0  赞:0  阅读:451
[翻译]Django速查表
原文在此:https://code.djangoproject.com/wiki/DjangoCheatSheetDjango速查表Django教程已经非常好了。这个速查表的作用是创建一个快速开始指南,以便在读过一两遍教程之后能有一个更好的手册。创建一个项目…django-admin.py star...
分类:其他   时间:2014-03-05 16:49:09    收藏:0  评论:0  赞:0  阅读:539
Codeforces Round #219 (Div. 2) D题
D. Counting Rectangles is Funtime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is ann?×?mrec...
分类:其他   时间:2014-03-05 16:47:38    收藏:0  评论:0  赞:0  阅读:545
PHP观察者模式
php中没有事件观察者模式的定义为,当主体知道事件发生时,观察者需要被通知到 其实就是在方法中调用对象,或多个对象,或者执行方法,调用的对象在这里叫做观察者。如果需要调用多个对象,可以使用php自带的splobjectStorage对象的attach()方法添加对象,detach()方法删除对象可以...
分类:Web开发   时间:2014-03-05 16:46:06    收藏:0  评论:0  赞:0  阅读:425
SGU100
Read integers A and B from input file and write their sum in output file.InputInput file contains A and B (0 2 #include 3 using namespace std; 4 5 int...
分类:其他   时间:2014-03-05 16:44:34    收藏:0  评论:0  赞:0  阅读:505
poj 2343
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 vector g[6002]; 9 int w[6002],d[6002][2];10 11 __int64 dfs(int i,int...
分类:其他   时间:2014-03-05 16:41:30    收藏:0  评论:0  赞:0  阅读:591
C#尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
安装VS2013后,win7 + .net 4 + c#程序无法连接到SQL Server2000的实例SQLServer2012在登录远程服务器实例时报错:尝试读取或写入受保护的内存。“尝试读取或写入受保护的内存。这通常指示其他内存已损坏。”等错误。解决办法:试一试重置LSP管理员身份运行 cmd...
分类:其他   时间:2014-03-05 16:35:22    收藏:0  评论:0  赞:0  阅读:728
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!