首先查看一个sql1、首先存在一个数据表tmpCREATE TABLE tmp( platform string, channel string, chan_value string, uid string, host int, logtime string, bd_so...
分类:
其他好文 时间:
2014-12-09 22:42:02
阅读次数:
787
1 #include 2 #include 3 using namespace std; 4 int n; 5 int a[30][30]; 6 int c[30]; 7 8 bool pd(int x,int color) 9 {10 for (int i=1;in) return t...
分类:
其他好文 时间:
2014-12-08 00:34:55
阅读次数:
212
select *from ( select event_date, '2014-12-06' as active_date, channel_id, new_user_count as new_user_count, ...
分类:
数据库 时间:
2014-12-07 21:36:02
阅读次数:
220
从Erlang进程看协程思想多核慢慢火了以后,协程类编程也开始越来越火了。比较有代表性的有Go的goroutine、Erlang的Erlang进程、Scala的actor、windows下的fibre(纤程)等,一些动态语言像Python、Ruby、Lua也慢慢支持协程。其实我们听过协程相关很多名词...
分类:
系统相关 时间:
2014-12-06 15:22:17
阅读次数:
234
最近在做opencv 多通道操作时发现网上例子很少,为了方便记忆就自己写了个demo。
例子在vs2010 + opencv 2.4.9 编译通过,只要配置好opencv 的lib路径就可以运行了。
该方法适用于Windows/Linux下的c++ 操作,Windows 和Ubuntu 都试过没问题。
#include
#include
#pragma comment ( lib...
分类:
编程语言 时间:
2014-12-03 15:47:53
阅读次数:
672
OpenCV C++ n-dimensional dense array class The class "Mat" represents an n-dimensional dense numerical single-channel or multi-channel array. It can be used to store real or complex-valued vectors
a...
分类:
其他好文 时间:
2014-12-02 20:53:55
阅读次数:
350
pub相对简单client.PublishMessage("channel", "msg");sub有2种方法方法1var subscription = client.CreateSubscription();subscription.OnMessage = (channel, msg) =>
{ ...
分类:
其他好文 时间:
2014-12-02 18:53:41
阅读次数:
210
// xuhh_go_channel
project
main.go
/*
channel
1. channel 在读取数据的时候,如果此时通道内没有数据,则会阻塞。
在取数据的时候,如果此时通道内没有数据,则也会阻塞。
2. channel 在创建的时候会存在一个数据缓冲,如果通道内存入的数据超过缓冲,则就会崩溃。
ra...
分类:
其他好文 时间:
2014-12-02 15:18:41
阅读次数:
112
DescriptionWhen a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every receiver has a stron...
分类:
其他好文 时间:
2014-12-01 22:11:46
阅读次数:
151
自增1arclist标签下使用[field:global.autoindex/]默认从1开始channel标签下使用[field:global.autoindex/]默认从0开channelartlist标签下使用{dede:global.itemindex/}默认从1开始1 arclist 从0....
分类:
其他好文 时间:
2014-11-28 18:04:48
阅读次数:
372