首页 > 其他
Git撤销操作命令
使用Git的过程中,失误无法避免,虽然Git很强,但是有些失误,无法挽回。在这里我介绍一些Git的撤销命令。1、撤销对文件的修改如下图所示的情况,你修改了文件,但是不想保存对文件的修改。根据具体情况,你可以选择执行下面的命令:git checkout -- #撤销对某个文件的修改git chec.....
分类:其他   时间:2015-08-15 19:49:47    收藏:0  评论:0  赞:0  阅读:190
apk 打包方式
1 项目-->Android tools -->Export Signed Application Package 2 在项目 manifest.xml文件下 单击“use the Export Wizard”
分类:其他   时间:2015-08-15 19:49:37    收藏:0  评论:0  赞:0  阅读:208
7 Types of Regression Techniques you should know!
IntroductionLinear and Logistic regressions are usually the first algorithms people learn in predictive modeling. Due to their popularity, a lot of an...
分类:其他   时间:2015-08-15 19:49:07    收藏:0  评论:0  赞:0  阅读:245
关于extern "C" 的用法
而在C语言的头文件中,对其外部函数只能指定为extern类型,C语言中不支持extern "C"声明,在.c文件中包含了extern "C"时会出现编译语法错误。笔者编写的C++引用C函数例子工程中包含的三个文件的源代码如下:/* c语言头文件:cExample.h */#ifndef C_EXAM...
分类:其他   时间:2015-08-15 19:48:37    收藏:0  评论:0  赞:0  阅读:249
[LeetCode] Maximum Depth of Binary Tree
Well, this problem has the highest acceptance rate among all OJ problems. It has a very easy 1-line reursive solution. I am not sure whether this one ...
分类:其他   时间:2015-08-15 19:48:27    收藏:0  评论:0  赞:0  阅读:215
STL顺序容器总结
顺序容器总结:array:固定大小的数组,支持快速访问,不能添加和删除元素vector:动态数组,支持快速访问,但在尾部之外插入或删除元素会很慢string:与vector相似的容器,用于保存字符deque:双向队列,支持快速随机访问,在头尾位置插入元素速度很快list:双向链表,支持双向访问,在链...
分类:其他   时间:2015-08-15 19:48:17    收藏:0  评论:0  赞:0  阅读:354
VS2010中项目配置引入GDAL
在上一篇文章中,小编介绍了使用VS2010编译GDAL的方法,但是上文中仅仅完成了编译的工作,但是在具体是使用过程中,需要先对VS2010的项目进行配置,引入GDAL的库。配置GDAL的的过程如下:配置VC++目录在项目上右击,选择属性,找到 配置属性 - VC++目录在包含目录里加入上一篇文章安装...
分类:其他   时间:2015-08-15 19:47:37    收藏:0  评论:0  赞:0  阅读:241
hdu 5313 Bipartite Graph(dfs染色 或者 并查集)
Problem DescriptionSoda has a bipartite graph withnvertices andmundirected edges. Now he wants to make the graph become a complete bipartite graph wit...
分类:其他   时间:2015-08-15 19:47:07    收藏:0  评论:0  赞:0  阅读:189
[Leetcode] Construct Binary Tree from Inorder and Postorder Traversal I,II
这两个问题实际上是同一个问题,需要对三种遍历方式的规律非常清楚。对于前序遍历,第一个元素实际上就是root,然后后面的元素前半部分是左树的node,后半部分是右树的node对于中序遍历,一旦我们知道了root节点,那么就可以将其分为两半部分,也就是左树和右树对于后序遍历,我们可以缺点最后一个节点是r...
分类:其他   时间:2015-08-15 19:46:57    收藏:0  评论:0  赞:0  阅读:237
Cassandra 基本操作
Cassandra version: apache-cassandra-2.1.3OS: Ubuntu 14.10进入cassandra命令行$./cassandra-cli查看节点状态$ ./nodetool statusDatacenter: datacenter1===============...
分类:其他   时间:2015-08-15 19:46:27    收藏:0  评论:0  赞:0  阅读:336
[Data Structure] 数据结构中各种树
数据结构中有很多树的结构,其中包括二叉树、二叉搜索树、2-3树、红黑树等等。本文中对数据结构中常见的几种树的概念和用途进行了汇总,不求严格精准,但求简单易懂。
分类:其他   时间:2015-08-15 19:46:17    收藏:0  评论:0  赞:0  阅读:256
ZooKeeper程序员指南 (
zookeeper权限管理概述1、在zookeeperC的API里面,设置ACL的时候需要传入一个类型为struct ACL的结构指针,structACL结构类型的定义如下:structACL_vector { int32_t count; struct ACL *data;};可以看出,该结构包含...
分类:其他   时间:2015-08-15 19:45:57    收藏:0  评论:0  赞:0  阅读:364
document.documentElement.clientWidth
在IE、FireFox、Opera下都可以使用document.body.clientWidthdocument.body.clientHeight即可获得,很简单,很方便。Opera仍然使用document.body.clientWidthdocument.body.clientHeight可是I...
分类:其他   时间:2015-08-15 19:45:47    收藏:0  评论:0  赞:0  阅读:129
vs2010 入门程序
#include int main(){ printf("hello world!\n"); getchar(); //此处避免执行完程序自动退出 return 0;}步骤:第一步,先新建一个项目,这个比linux下的编程繁琐点。点击“新建项目”,在弹出窗口左侧选择“Visual C...
分类:其他   时间:2015-08-15 19:45:17    收藏:0  评论:0  赞:0  阅读:205
[LeetCode] Search Insert Position
The basic idea is to use binary search: keep two pointerslandrfor the current search range, then find the middle elementnums[mid]in this range. Ifnums...
分类:其他   时间:2015-08-15 19:44:47    收藏:0  评论:0  赞:0  阅读:123
BZOJ 1053 [HAOI2007]反素数ant
1053: [HAOI2007]反素数antTime Limit:10 SecMemory Limit:162 MBSubmit:1948Solved:1094[Submit][Status][Discuss]Description对于任何正整数x,其约数的个数记作g(x)。例如g(1)=1、g(6...
分类:其他   时间:2015-08-15 19:44:37    收藏:0  评论:0  赞:0  阅读:219
poj 2251 Dungeon Master(bfs)
DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled...
分类:其他   时间:2015-08-15 19:43:47    收藏:0  评论:0  赞:0  阅读:213
Activtiy
Class OverviewAn activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes c...
分类:其他   时间:2015-08-15 19:43:37    收藏:0  评论:0  赞:0  阅读:265
C以及Objective-C测试题讲解(下)
接前天的博客,今天继续讲解后27题。测试题地址:http://www.eosgarden.com/en/articles/objc-quizz/take/31.Which of the following can be inherited?以下哪些可被继承?答案:protocols,classes。...
分类:其他   时间:2015-08-15 19:43:27    收藏:0  评论:0  赞:0  阅读:180
RTB业务知识2-Open-RTB全景
一个、前言 openrtb这是一套开源的竞价广告系统,来自IAB贡献,井。有许多值太借鉴,提供sdk api接口文档介绍,整理了相关的资料。主要包含其生态图体系、业务流程和基本的对象模型和数据模型。基于接口推导过程。未必准确,但却是很不错的值得參考的资料。另外其对于对象的定义、属性參数的设定、相关....
分类:其他   时间:2015-08-15 19:43:17    收藏:0  评论:0  赞:0  阅读:304
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!