最初没有注意到结果是要求最小的步数,那么就成了最基本的迷宫找到一条出路的问题并记下找到出路时,所花的步数,那么很容易得到代码如下: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 #define MAX 10...
分类:
其他好文 时间:
2014-07-01 23:44:18
阅读次数:
242
一个GO语言 的文档中文译本网站:1、《学习Go语言》中文版:http://mikespook.com/learning-go/2、GITHUB :https://github.com/mikespook/Learning-Go-zh-cn
分类:
Web程序 时间:
2014-07-01 22:13:48
阅读次数:
293
Git配置1. 用户信息你个人的用户名称和电子邮件地址,用户名可随意修改,git 用于记录是谁提交了更新,以及更新人的联系方式。$ git config --global user.name "Donly Chan"$ git config --global user.email donly@exa...
分类:
其他好文 时间:
2014-07-01 21:18:41
阅读次数:
287
override def preStart() { logInfo("Starting Spark master at " + masterUrl) webUi.bind() //绑定WEBUI masterWebUiUrl = "http://" + masterPubli...
分类:
其他好文 时间:
2014-07-01 20:21:15
阅读次数:
251
1、初始化:方式一、git clone,将远程的Git版本库,克隆到本地一份。方式二、git init和git remote2、git pull:将其他版本库代码更新到本地。例如:git pull origin master,将origin这个版本库的代码更新到本地的master主枝,类似于SVN的...
分类:
系统相关 时间:
2014-07-01 12:42:54
阅读次数:
262
/*EXEC master..xp_cmdshell 'BCP "select * from NBZA_Live_20140613.dbo.StoreList for xml Raw " queryout D:\XML\my_StoreList_20140630001.xml -c -U"sa" -...
分类:
其他好文 时间:
2014-07-01 12:23:38
阅读次数:
313
声明:由于本人对于Git的学习还处于摸索阶段,对有些概念的理解或许只是我断章取义,有曲解误导的地方还请见谅指正!
一、分支
1.1分支的概念。
对于的分支的理解,我们可以用模块化这个词来解释;在日常工作中,一个项目的开发模式往往是模块化,团队协作式的开发。这样我们项目的进度可以称得上多核并发式的开发了。这种模块化的开发要求我们尽可能的高内聚低耦合以免造成一只胳膊没了整个人都废了的局面...
DirectIO: The SRIO DirectIO
transfer class is similar to a memcopy transfer between two SRIO devices. One of the devices is the master that initiates the transfer. The second deviceis
the slave th...
分类:
其他好文 时间:
2014-06-30 19:46:54
阅读次数:
215
作为一个oracle dba有时候不得不管理一下mysql数据库,当为主从库时需要阶段性清理mysql binary log,清楚方式如下:
首先查看mysql 的当前日志组
show master status;
确定当前日志组后删除日志文件
purge binary logs to 'mysql-bin.000795';
删除000795之前的日志...
分类:
数据库 时间:
2014-06-30 17:16:01
阅读次数:
240