首页 > 其他
HDFS Architecture
翻译了Apache官网关于HDFS架构的内容,发现了自己之前认识的很多误区,也更加深入了解了HDFS设计的思想。翻译是一个学习的过程,真心感觉还是原文看起来舒服。...
分类:其他   时间:2014-01-23 10:12:51    收藏:0  评论:0  赞:0  阅读:380
Ubuntu下解压缩
一.命令: .tar 解包:tar xvf FileName.tar 打包:tar cvf FileName.tar DirName (注:tar是打包,不是压缩!) ——————————————— .gz 解压1:gunzip FileName.gz 解压2:gzip -d FileName.gz 压缩:gzip FileName .tar.gz 和 .tgz...
分类:其他   时间:2014-01-23 10:01:51    收藏:0  评论:0  赞:0  阅读:318
DataTable行转列
/// /// DataTable行转列/// /// 需要转换的表/// 转换表表头对应旧表字段(小写)/// public static DataTable DataTableRowtoCon(DataTable dtable, string head){DataTable dt = new D...
分类:其他   时间:2014-01-23 11:10:51    收藏:0  评论:0  赞:0  阅读:386
Node环境Grunt开发流
官网:http://www.gruntjs.org/发觉利用grunt打包压缩代码实在太方便了,以下是一个简单例子,更多实例详见官网/** * Created with JetBrains WebStorm. * User: EX-ZHOULINGFENG001 * Date: 14-1-9 * T...
分类:其他   时间:2014-01-23 11:04:51    收藏:0  评论:0  赞:0  阅读:332
QT的项目管理文件pro的编写
在QT中,有一个工具qmake可以生成一个makefile文件,它是由项目管理文件pro文件生成而来,pro文件的写法见下表。 qmake变量说明举例#xxxx注释, 从“#”开始,到这一行结束#for windowsTEMPLATE模块设置TEMPLATE = appapp(生成应用程序)( 默认...
分类:其他   时间:2014-01-23 11:02:51    收藏:0  评论:0  赞:0  阅读:613
lexical or preprocessor issue file not found in Xcode
The very last suggestion is all I needed to fix this issue. Close & re-open Xcode.
分类:其他   时间:2014-01-23 10:56:51    收藏:0  评论:0  赞:0  阅读:485
龟壳排序
1 #include 2 #include 3 4 char tortName[200][80] = {{0}}; 5 char tortSort[200][80] = {{0}}; 6 7 int find(int x) 8 { 9 int i = 0;10 11 for(i = 0; i p1)...
分类:其他   时间:2014-01-23 10:55:51    收藏:0  评论:0  赞:0  阅读:360
实现跨域资源的共享方法
同源策略在客户端编程语言中,如JavaScript和ActionScript,同源策略是一个很重要的安全理念,它在保证数据的安全性方面有着重要的意义。同源策略规定跨域之间的脚本是隔离的,一个域的脚本不能访问和操作另外一个域的绝大部分属性和方法。那么什么叫相同域,什么叫不同的域呢?当两个域具有相同的协...
分类:其他   时间:2014-01-23 10:50:51    收藏:0  评论:0  赞:0  阅读:370
Linux开发环境必备十大开发工具
Linux是一个优秀的开发环境,但是如果没有好的开发工具作为武器,这个环境给你带来的好处就会大打折扣。幸运的是,有很多好用的Linux和开源开发工具供你选择,如果你是一个新手,你可能不知道有哪些工具可用。本文将介绍其中十个杰出的开源开发工具,它们将帮助你提升自己的开发效率。 1、Bluefish B...
分类:其他   时间:2014-01-23 10:47:51    收藏:0  评论:0  赞:0  阅读:535
《Effective Java》
第1章 引言第2章 创建和销毁对象第1条:考虑用静态工厂方法代替构造器(Consider static factory methods instead of constructors)第2条:遇到多个构造器参数时要考虑用构建器(Consider a builder when faced with m...
分类:其他   时间:2014-01-23 10:40:51    收藏:0  评论:0  赞:0  阅读:319
ad组策略和sharepoint office打开文档关系
组策略管理器组策略继承新建组策略更新组策略 服务器端 1.cmd命令:gpupdate /force 2.更新ad站点与服务,针对多台ad 客户端 1.cmd命令:gpupdate /force 2.验证结果:gpresult /r ---现实在本页 gpresult /h a.html /f --...
分类:其他   时间:2014-01-23 10:39:51    收藏:0  评论:0  赞:0  阅读:428
ashx文件配置常量
private string _oper = string.Empty; private string _resp = string.Empty; /// /// jsoncallback 异步跨域参数 跨域必填!! /// private string strJsonp = string.Empt...
分类:其他   时间:2014-01-23 10:30:51    收藏:0  评论:0  赞:0  阅读:366
Linux操作系统的种种集成开发环境
Linux操作系统的种种集成开发环境随着Linux的逐渐兴起,已经有为数众多的程序在上面驰骋了,许多开发环境(Development Environment)也应运而生。好的开发环境一定是集成了编辑、编译和调试等多项功能并且易于使用。本文介绍了一些在Linux上流行的开发环境。C-ForgeC-Fo...
分类:其他   时间:2014-01-23 10:27:51    收藏:0  评论:0  赞:0  阅读:547
一致性Hash算法在Memcached中的应用
前言 大家应该都知道Memcached要想实现分布式只能在客户端来完成,目前比较流行的是通过一致性hash算法来实现.常规的方法是将server的hash值与server的总台数进行求余,即hash%N,这种方法的弊端是当增减服务器时,将会有较多的缓存需要被重新分配且会造成缓存分配不均匀的情况(有可...
分类:其他   时间:2014-01-23 09:52:51    收藏:0  评论:0  赞:0  阅读:456
LeetCode OJ:Unique Binary Search Trees II
Unique Binary Search Trees II   Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 uniq...
分类:其他   时间:2014-01-23 11:12:51    收藏:0  评论:0  赞:0  阅读:362
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited numb...
分类:其他   时间:2014-01-23 10:31:51    收藏:0  评论:0  赞:0  阅读:417
02 Unity3d脚本功能--《程序员学Unity3d》
脚本功能绝对是Unity3d的一个大亮点。它可以让程序员用编码的思维来控制场景里的各种元素,从而体现出强大的业务处理以及交互功能。想一想,写一个“蹦蹦跳跳”的脚本文件,绑定到某个物体,该物体就实现了“蹦蹦跳跳”的效果,而且还能在脚本里控制指定的物体。当UI与脚本相互独立,那我们就可以直接拿别人写好的脚本或者做好的UI来用,实现快速开发。...
分类:其他   时间:2014-01-23 10:07:51    收藏:0  评论:0  赞:0  阅读:378
ImageView控件设置及特性集合演示
目前ImageView控件仅支持png,jpg,gif,bmp这四种格式的图片显示。 分两个部份记录: 一。代码设置ImageView图片 二。集中展示ImageView控件各属性显示效果的例子 一。代码设置ImageView图片: 方法一:直接从res中取出图片 ImageView imgView = (ImageView)findViewById(R.id.ImageView0...
分类:其他   时间:2014-01-23 10:43:51    收藏:0  评论:0  赞:0  阅读:578
Basic remains
http://poj.org/problem?id=2305 //package poj2305; import java.io.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated me...
分类:其他   时间:2014-01-23 10:52:51    收藏:0  评论:0  赞:0  阅读:436
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combina...
分类:其他   时间:2014-01-23 10:19:51    收藏:0  评论:0  赞:0  阅读:355
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!