码迷,mamicode.com
首页 >  
搜索关键字:sub    ( 10221个结果
使用Spring Data Redis操作Redis(二)
上一篇讲述了SpringDateRedis操作Redis的大部分主题,本篇介绍Redis的订阅和发布功能在Spring应用中的使用。1.Redis的Pub/Sub命令Redis的订阅和发布服务有如下图6个命令,下面分别对每个命令做简单说明。publish:向指定的channel(频道)发送message(消息)subscribe:订阅指定chann..
分类:编程语言   时间:2015-04-02 06:47:54    阅读次数:253
离散化
离散化离散化离散化:对于一组数:1 2 3 6 15 … 999如果我们要用 bool[] 型数组去标记他们,如下1 1 1 0 0 1 0 0 0 0 0 0 0 0 1 ……..1如果我们定义个结构体struct node { int v; int sub;};struct node p[500...
分类:其他好文   时间:2015-04-01 21:40:59    阅读次数:119
Linux SVN安装所需创建的文件夹(转)
分类:LinuxLinux SVN安装还是比较常用的,于是我研究了一下Linux SVN安装,在这里拿出来和大家分享一下,希望对大家有用。1. Linux SVN安装所需module:#yum install mod_dav_SVN安装完毕之后发现,在/etc/httpd/conf.d下多出了sub...
分类:系统相关   时间:2015-04-01 10:53:19    阅读次数:189
我的一些算法
Private Sub Form_Load()'‘newexcel. '---- 对象的属性赋值代码'获取磁盘序列号 Dim file1 As Object Dim txt1 As Object Set FSO = CreateObject("Scripting.FileSyst...
分类:编程语言   时间:2015-03-31 17:49:25    阅读次数:181
(三)Unity5.0新特性------State Machine Behaviours
State machine behaviours are scripts that can be attached to animator states or sub-state machines in an Animator Controller. These can be used to add all sorts of behaviour that is state dependent su...
分类:编程语言   时间:2015-03-31 10:58:08    阅读次数:268
【VBA研究】方法quit作用于IWebBrowser2失败怎么办
作者:iamlaosong 用VBA编程实现自动读取网页数据,在读取过程中关闭网页时遇到这样一个错误:“ 方法quit作用IWebBrowser2失败”,无法执行quit方法,但其它属性没有问题,百思未得其解,其源代码如下: Sub login3() Dim ie1 As Object lineno = [A65536].End(xlUp).Row '行数 ...
分类:编程语言   时间:2015-03-31 10:56:49    阅读次数:641
[Leetcode][Python]53: Maximum Subarray
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'53: Maximum Subarrayhttps://leetcode.com/problems/maximum-subarray/Find the contiguous sub...
分类:编程语言   时间:2015-03-30 22:30:08    阅读次数:195
Dynamics CRM 2013 Homepage Ribbon 按钮引用多个Javascript资源
在CRM的开发中ribbon的开发是比较重要的一环,很多客制化的功能都需要动用ribbon区,CRM2013中的名字已经改叫command bar了,但从老版本过来的人都还是习惯叫他ribbon。      Ribbon区加按钮后往往会关联一系列的webresources,javascript就是其中的一种,一般的ribbon开发都是基于form的,要动用home或者Sub-grid的并不太多。...
分类:编程语言   时间:2015-03-30 18:52:50    阅读次数:244
数学之路-vb.net并行计算(6)
Imports SystemImports System.ThreadingImports System.DiagnosticsImports System.Diagnostics.ThreadStateModule Module1    Sub Main()        Dim mythread1 As Thread        Dim mythread2 As Thread        ...
分类:Web程序   时间:2015-03-30 16:26:36    阅读次数:194
vb listview 的常用操作
常用操作:获取当前行数和列数:MsgBox "行数:" & ListView1.ListItems.Count & "列数:" & ListView1.ColumnHeaders.CountPrivate Sub ListView1_MouseMove(Button As Integer, Shif...
分类:其他好文   时间:2015-03-29 12:08:21    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!