parse :[英]pɑ:z[美]pɑ:rs vt.从语法上描述或分析(词句等)https://www.parse.com/apps/quickstart?onboard=#parse_push/ios/existing1.Install the SDK1)Download & unzip the ...
分类:
移动开发 时间:
2014-08-11 20:44:02
阅读次数:
301
git提交三步走git addgit commitgit push查看状态git status创建git文件初始化一个文件夹git init [--bare]#括号内可选,为接收提交git log #查看提交记录git clone ssh:// 下载projectgit checkout -br.....
分类:
其他好文 时间:
2014-08-11 20:26:22
阅读次数:
210
实现一个栈,除了push、pop操作外,还包括函数min实现返回栈中最小值的功能,要求时间复杂度均为O(1)
//思路:增加一个辅助栈,将每次入栈操作后栈的最小元素(之前最小元素和新入栈元素的较小值)都保存在辅助栈里...
分类:
其他好文 时间:
2014-08-11 18:05:02
阅读次数:
193
server推送(Server Push) 推送技术的基础思想是将浏览器主动查询信息改为server主动发送信息。server发送一批数据,浏览器显示这些数据,同一时候保证与server的连接。当server须要再次发送一批数据时,浏览器显示数据并保持连接。以后,server仍然能够发送批量数据,....
分类:
Web程序 时间:
2014-08-11 14:54:32
阅读次数:
248
本次介绍ansible的palybook结合docker进行虚拟机里安装2.6.8版本smokeping(apache版本是2.4.7)。docker版本09:26:53#dockerversion
Clientversion:0.11.1
ClientAPIversion:1.11
Goversion(client):go1.2.1
Gitcommit(client):fb99f99/0.11.1
Serverversion:0.11.1
ServerAPI..
分类:
其他好文 时间:
2014-08-11 12:12:33
阅读次数:
1941
shell随笔一.学好shell编程的知识储备前面讲过,给大家留作业Linux系统命令应用;Vi/vim编辑器的熟练使用,SSH客户端软件的设置;基础的服务,系统服务ntp,crond,网络服务:nfs,rsync,inotify,sersync,ssh,lanmp。补充:清空日志的三种方法:echo“”>filename.log>filen..
分类:
系统相关 时间:
2014-08-11 10:17:32
阅读次数:
399
解题报告
题意:
求逆序数。
思路:
线段树离散化处理。
#include
#include
#include
#include
#define LL long long
using namespace std;
LL sum[2001000],num[501000],_hash[501000];
void push_up(int rt)
{
sum[rt]=sum[rt...
分类:
其他好文 时间:
2014-08-11 00:22:01
阅读次数:
255
遍历树中的节点GetChildNodeId : function(iNode){ if (iNode.isLeaf()) { gTreeLeafNodeIds.push({ 'DEPARTMENTID':'科室ID'(iNode.id), 'ACCOUNT':'账号', 'D...
分类:
其他好文 时间:
2014-08-11 00:06:11
阅读次数:
307
发几个以前写的拓扑排序,回顾一下。拓扑排序,一般不会单独考,主要要求还是掌握好这个概念,有个感性的认识,以及能快速的写出求拓扑排序的程序,进而继续接下来对图的处理,或是比如dp之类的算法,又或者是判断有无环之类。求拓扑序主要就是运用队列,push入度为0的点,删掉它们出去的边,重复这个操作。像要是求...
分类:
其他好文 时间:
2014-08-10 23:50:51
阅读次数:
442
#include //从小到大排列#include#includeusing namespace std;int main(){ int i,x; vectormy ; for(i=1;i>x; my.push_back(x); } sort(my.begin(),my.end()); f...
分类:
其他好文 时间:
2014-08-10 18:34:30
阅读次数:
188