双曲线有点麻烦,因为它是两条线,而我的程序逻辑中对于渲染只是处理一条线,所以在图形中会有多余的线出现,这不太漂亮,容我以后解决.而且双曲线上的顶点容易过大,造成无效的浮点数,这也要特殊处理.双曲线(东西开口)vertices = 12000t = from 0 to (2*PI)a = rand2(...
分类:
其他好文 时间:
2014-07-06 23:09:54
阅读次数:
520
Learn from:http://yige.org/p/91一般遇到这样的问题,有两个方法:1、如果有服务器权限,直接把服务器上的php.ini的配置改了,改成不输出Warning和Notice级别的报错。修改php.ini的error_reporting 配置参数值为:error_reporti...
分类:
Web程序 时间:
2014-07-06 23:07:07
阅读次数:
283
先检查有没有数据select dqlx,hqlxfrom cpndjx where jxnd = '2014' and ocid = '101';如果有数据,把数据更新到CPYB的ndjxje中去select sum(dqlx)+sum(hqlx) from cpndjx where jxnd = ...
分类:
其他好文 时间:
2014-07-06 23:02:22
阅读次数:
270
//*********写入文件,传入要保存的信息*********//保存xml-(void)saveXml:(NSString*)data{//创建文件管理器NSFileManager*fileManager=[NSFileManagerdefaultManager];//获取路径//参数NSDo...
分类:
移动开发 时间:
2014-07-06 22:52:52
阅读次数:
521
It’s a major release this time, Horizon 6.0 is out. You can get to the downloadshere. As always, here’s theWhat’s New from the release notes:This rele...
分类:
其他好文 时间:
2014-07-06 22:43:46
阅读次数:
244
主要备忘:DATE_FORMAT 函数1:微博对比图(按日统计)SELECT DATE_FORMAT(tw.article_publish_time, '%Y-%m-%d'),count(page_id) FROM `tab_weibo` tw where tw.page_id =100206507...
分类:
数据库 时间:
2014-07-06 22:37:48
阅读次数:
291
var itemsPerPage = 20;
var combo;
//创建数据源store
Ext.define('recordStore', {
extend : 'Ext.data.Store',
// autoLoad : {
// start : 0,
// limit : itemsPerPage
// },
start : 0,
limit :...
分类:
Web程序 时间:
2014-07-05 10:53:34
阅读次数:
412
select to_char(sysdate, 'yyyy-mm-dd hh24:mi:ss'),
to_char(trunc(sysdate), 'yyyy-mm-dd hh24:mi:ss')
from dual t;--sysdate和trunc(sysdate)是不一样的 sysdate在当天的零时零分零秒等于trunc(sysdate)
select trun...
分类:
数据库 时间:
2014-07-05 10:37:23
阅读次数:
416
??
PAC成本更新事务处理
DECLARE
l_itfs_rec mtl_transactions_interface% ROWTYPE;
BEGIN
--插入接口表
SELECT mtl_material_transactions_s.nextval
INTO l_txn_header_id
FROM dual;
v_date ...
分类:
其他好文 时间:
2014-07-04 09:28:03
阅读次数:
791
Oracle 分割字符查询
select *
from view_psbaseinfo
where DECODE('410782001125,411100000043',
'',
NULL,
'410782001125,411100000043') IS NULL
or PSCODE in
...
分类:
数据库 时间:
2014-07-04 07:20:34
阅读次数:
349