码迷,mamicode.com
首页 > 2017年04月14日 > 全部分享
Git——新手入门与上传项目到远程仓库GitHub(转)
Git概述 什么是Git? 刚开始对这个东西也感到挺迷茫,并且问了好多已经学习android一段时间的同学也是一头雾水,直到了解并使用之后,才体会到Git的好处以及重要意义。 Git:是目前世界上最先进的分布式版本控制系统,一个开源式的分布式版本控制工具。 简单浅显地来说(就我个人而言),就是一个全 ...
分类:Web程序   时间:2017-04-14 23:02:19    阅读次数:216
哈夫曼树
#include #include #include #include #include #include const int maxn=1007; const int INF=0x3f3f3f3f; using namespace std; typedef struct node { char c... ...
分类:其他好文   时间:2017-04-14 23:00:43    阅读次数:191
平衡二叉树
#include #include #include #include #include #include #include using namespace std; const int maxn=107; typedef struct node { node():height(0), lchild... ...
分类:其他好文   时间:2017-04-14 23:00:41    阅读次数:210
jdbc与odbc的差别,感悟,学习。。。
什么是JDBC? JDBC, 全称为Java DataBase Connectivity standard, 它是一个面向对象的应用程序接口(API), 通过它可訪问各类关系数据库。JDBC也是java核心类库的一部分。 JDBC的最大特点是它独立于详细的关系数据库。与ODBC (Open Data ...
分类:数据库   时间:2017-04-14 23:00:42    阅读次数:308
二十三种设计模式之原型模式的C#实现
原型模式就是通过拷贝快速创建一个新的对象 本例UML如图 ColorBase RGBAColor ColorManager Main方法中进行测试 执行结果 ...
分类:Windows程序   时间:2017-04-14 23:01:15    阅读次数:229
vuejs2+axios设置
http://www.cnblogs.com/wisewrong/p/6402183.html 1 当前项目安装axios 2 import axios from 'axios'; ...
分类:移动开发   时间:2017-04-14 23:00:28    阅读次数:292
js获取判断苹果手机机型
原先获取不了苹果系列的型号,但转换思路,先判断是否是苹果,再用分辨率获取型号 //获取手机型号函数beginfunction getPhoneType(){ //正则,忽略大小写var pattern_phone = new RegExp("iphone","i");var pattern_andr ...
分类:移动开发   时间:2017-04-14 22:59:54    阅读次数:2242
ZooKeeper客户端原生API的使用以及ZkClient第三方API的使用
ZooKeeper客户端原生API的使用以及ZkClient第三方API的使用 ...
分类:Windows程序   时间:2017-04-14 22:59:58    阅读次数:233
前序和中序+后序和中序
/**由前序遍历和中序遍历得到层次遍历序列**/ #include #include #include #include #include #include using namespace std; const int maxn=107; int T[maxn], n; int preorder[m... ...
分类:其他好文   时间:2017-04-14 22:59:34    阅读次数:161
模拟投掷硬币100次
/*模拟投掷硬币*/#include<stdio.h>#include<stdlib.h>#include<time.h>int flip();/*声明函数*//*主函数*/int main(void){ int n,i,front,back; front=0; back=0;/*初始化*/ tim ...
分类:其他好文   时间:2017-04-14 22:59:02    阅读次数:209
spring boot启动原理步骤分析
spring boot最重要的三个文件:1.启动类 2.pom.xml 3.application.yml配置文件 一.启动类->main方法 spring boot启动原理步骤分析 1.spring boot通过fat jar方式用jdk命令java -jar jarname.jar启动的。 fa ...
分类:编程语言   时间:2017-04-14 22:58:53    阅读次数:1786
QPS、RT、PV、UV之间的关系
QPS: 每秒查询率(Query Per Second) ,每秒的响应请求数,也即是最大吞吐能力。 QPS = req/sec = 请求数/秒 QPS统计方式 [一般使用 http_load 进行统计] QPS = 总请求数 / ( 进程总数 * 请求时间 ) QPS: 单个进程每秒请求server ...
分类:其他好文   时间:2017-04-14 22:57:21    阅读次数:191
树的遍历
#include #include #include #include #include #include using namespace std; typedef struct node { node():data(' '), lchild(NULL), rchild(NULL) {} char ... ...
分类:其他好文   时间:2017-04-14 22:57:46    阅读次数:178
Android中使用SoundPool来播放音频
今天找素材重做FlappyBird时学习了一下怎样为应用设置背景音频,发现通过封装SoundPool类就能够非常好的做到这一点。 SoundPool类比較适合播放一些类似游戏音效这样的比較短促并且较小的音频流,并且它支持同一时候播放多个音频流,而比較大的音频更适合用MediaPlayer来播放。 大 ...
分类:移动开发   时间:2017-04-14 22:56:39    阅读次数:257
Spark1.0.0 生态圈一览
Spark生态圈,也就是BDAS(伯克利数据分析栈),是伯克利APMLab实验室精心打造的,力图在算法(Algorithms)、机器(Machines)、人(People)之间通过大规模集成,来展现大数据应用的一个平台,其核心引擎就是Spark,其计算基础是弹性分布式数据集,也就是RDD。通过Spa ...
分类:其他好文   时间:2017-04-14 22:56:06    阅读次数:195
Servlet之javaweb应用(二)
一、 使用 JavaEE 版的 Eclipse 开发动态的 WEB 工程(JavaWEB 项目) 1). 把开发选项切换到 JavaEE 2). 可以在 Window -> Show View 中找到 Package Explorer, 并把其拖拽到开发区的左边 3). 在 Servers 面板中新 ...
分类:编程语言   时间:2017-04-14 22:56:47    阅读次数:230
2016湖南省赛----A 2016 (同余定理)
2016湖南省赛 A 2016 (同余定理) Description 给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量: 1. 1≤a≤n,1≤b≤m; 2. a×b 是 2016 的倍数。 2016湖南省赛 A 2016 (同余定理) Description 给出正整数 n ...
分类:其他好文   时间:2017-04-14 22:55:16    阅读次数:224
1463条   上一页 1 ... 3 4 5 6 7 8 9 ... 87 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!