最近研究的,我用的是python3.3,
用matplotlib画图,下面代码演示分析pcm文件,如果是wave文件,把wave的文件头去掉就是pcm文件了。代码如下 1 # -*-
coding:utf-8 -*- 2 3 import array 4 import os 5 from matp....
分类:
编程语言 时间:
2014-05-28 04:39:05
阅读次数:
495
按需求修改一个报表,本想按照打印出来的报表内容搜索rml文件,找到需要修改的rml问加。但是发现搜索不到,后来查询报表动作,确认对应的rml文件中,没有发现
“报表中” 的字串。猜测可能是rml直接存入数据库了,果然在表ir_act_report_xml 中找到了report_rml_content...
分类:
其他好文 时间:
2014-05-28 04:21:33
阅读次数:
270
1.对序列进行分组的函数(摘自web.py源码utils.py文件中) 1 def
group(seq, size): 2 """ 3 Returns an iterator over a series of lists of length
size from iterable. ...
分类:
编程语言 时间:
2014-05-28 04:21:00
阅读次数:
365
Have we missed some critical information from
this article? Are you a company, organisation or research group operating in
this region and feel you wa...
分类:
其他好文 时间:
2014-05-28 04:06:31
阅读次数:
337
SQL
Server自定义函数,以前只在书上看过,没有动手去敲一敲,今天刚好接触到,看了几篇博文学习了下。做好备忘很重要!! (@_@)YLearn
from:http://www.cnblogs.com/lideng/archive/2013/04/15/3022418.html自定义函数分为:标...
分类:
数据库 时间:
2014-05-28 03:05:21
阅读次数:
482
Situations in Which Direct Path Load Is Not UsedIf
any of the following conditions exist for a table, then Data Pump uses external
tables rather than ...
分类:
数据库 时间:
2014-05-28 03:03:56
阅读次数:
361
原题地址:https://oj.leetcode.com/problems/minimum-path-sum/题意:Given
amxngrid filled with non-negative numbers, find a path from top left to bottom
right w...
分类:
编程语言 时间:
2014-05-28 03:03:13
阅读次数:
320
这是个挺有意思的小问题,给定一组直线(至少两条不平行),希望能找到和这组直线尽可能垂直的直线。打个比方,比如在三维空间中,如下图(forked from
wiki)a和b分别是在一个平面上不平行的两条直线上,那么显而易见与a和b所在直线垂直程度最高的就是与a和b俩俩垂直的竖线,也就是叉积axb方向平...
分类:
其他好文 时间:
2014-05-28 02:42:17
阅读次数:
437
好友列表好友列表,在 XMPP 中被称为 roster,花名册?获取 roster
需要客户端发送 标签向 XMPP 服务器端查询一个 IQ 请求: type 属性,说明了该 iq 的类型为 get,与 HTTP
类似,向服务器端请求信息from 属性,消息来源,这里是你的 JIDto 属性,消息目...
分类:
移动开发 时间:
2014-05-28 02:37:31
阅读次数:
354
用管理员身份运行CMD> cd C:\Program
Files\mongodb\bin> C:\Program Files\mongodb\bin>mongod --dbpath
"C:\Program Files\mongodb\data\db" --logpath "C:\Program Fi...
分类:
数据库 时间:
2014-05-27 16:12:25
阅读次数:
337