@Override protected int insert(Card record) { int result = cardMapper.insertSelective(record); return (int) (result == 1 ? rec...
分类:
其他好文 时间:
2014-09-03 19:49:27
阅读次数:
151
一,什么是jsonjson是一种数据结构,易于人阅读和编写,同时也易于机器解析和生成。json建构两种结构:1,“名称/值”成对的集合,不同的语言中,它被理解为对象(object),纪录(record),结构(struct),字典(dictionary),哈希表(hash table),有键列表(k...
分类:
Web程序 时间:
2014-09-02 17:29:35
阅读次数:
180
1 图片播放按钮增加了监听监听事件,控制音乐的播放暂停 2 使用了document的几个重要函数: 3 1.createElement创建标签对象, 4 2.getElementById获取对象以及img对象的src属性 5 3.document.body...
分类:
Web程序 时间:
2014-09-02 13:47:34
阅读次数:
420
时间戳的简单同步算法,便于进一步理解音视频同步概念:博文来源:stone_kingnet的专栏在发送方:对于相同时刻的音频/视频帧,打上相同的时间戳(系统时间)接收方:保存两个队列,audio/video分别用来存放还未播放的音频和视频1。当每接收到音频帧的时候,遍历此时的video队列,将此音频帧...
分类:
其他好文 时间:
2014-08-31 13:12:11
阅读次数:
184
--按日 select sum(consume),day([date]) from consume_record where year([date]) = '2006' group by day([date]) --按周quarter select sum(consume),datename(wee...
分类:
数据库 时间:
2014-08-31 10:23:31
阅读次数:
279
Step 1: Step 2: Step 3: Step 4: You must use the wizard to create the file share. Step 5: to make sure everything works in your test environment, add ...
root@phyCORE-AM335x:~ aplay -l**** List of PLAYBACK Hardware Devices ****card 0: audio [PCM051 audio], device 0: wm8976 wm8976-hifi-0 [] Subdevices: 1...
分类:
其他好文 时间:
2014-08-29 10:51:47
阅读次数:
413
做项目时经常遇到一些函数需要传递很多参数,调用时经常会写漏一些参数,或者参数的顺序搞混乱了。想到的一个方案是使用record来封装这些参数,但这样的函数很多,为每个函数定义一个record不太实际。能否用其他数据结构来代替record呢?查api文档,发现一个平时很少用到的数据结构proplists...
分类:
其他好文 时间:
2014-08-28 21:10:26
阅读次数:
172
Setup the Eclipse + XAMPP + Wordpress debugging system in my Windows Vista system, it takes quite considerable effort to figure out the workable way to all of these, record down the procedure....
MIME消息的头字段 Content-Type Content-Type字段中的内容以“主类型/子类型”的形式出现,主类型有text、image、audio、video、application、multipart、message等,分别表示文本、图片、音频、视频、应用程序、...
分类:
其他好文 时间:
2014-08-28 13:28:09
阅读次数:
155