function guid(){ if (function_exists('com_create_guid')){ return com_create_guid(); }else{ mt_srand((double)microtime()*10000);//optional for php 4......
分类:
其他好文 时间:
2014-11-19 14:09:46
阅读次数:
204
Hilbert 零点定理: 设 $\bbF$ 是一个代数闭域, $L$ 是 $\bbF[x_1,\cdots,x_n]$ 的一个真理想, 则 $$\bex \exists\ (a_1,\cdots,a_n)\in\bbF^n\ra f(a_1,\cdots,a_n)=0,\quad\forall\ ...
分类:
其他好文 时间:
2014-11-19 12:08:37
阅读次数:
221
UPDATE FROM update ? a ? set ? aa ? =(select ? bb ? from ? b ? where ? a.cc ? = ? b.cc) ? ? where ? exists ? (select ? b.cc ? from ? a.cc ? =b.cc)?? ? 1. 建立数据库DB2_GCB CRE...
分类:
数据库 时间:
2014-11-19 11:36:38
阅读次数:
290
通过SQL语句访问远程数据库 1、得建立链接服务器: --删除链接服务器if exists(select * from master.dbo.sysservers where isremote=0 and srvname='ITSV') exec sp_dropserver 'ITSV','drop...
分类:
数据库 时间:
2014-11-19 00:08:15
阅读次数:
240
drop database if exists STOREDB;create database STOREDB;use STOREDB;create table CUSTOMERS ( ID bigint not null auto_increment primary key, NAME var.....
分类:
数据库 时间:
2014-11-18 17:32:28
阅读次数:
192
DELIMITER//drop PROCEDURE if EXISTS test.express;create PROCEDURE test.express()BEGIN select count(1) into @a from test.test_user where userid='user'....
分类:
数据库 时间:
2014-11-18 17:27:37
阅读次数:
319
(1). Let $\sed{A_\al}$ be a family of mutually commuting operators. Then, there exists a common Schur basis for $\sed{A_\al}$. In other words, there e...
分类:
其他好文 时间:
2014-11-18 13:08:29
阅读次数:
168
先上效果图:借鉴了[Cocos2d-x让精灵图像变灰的方法]。但这个方法在Quick-Cocos3.2下不能完美实现变灰效果-变灰了的对象的位置会跳到屏幕右上角。百思不得其解,搜一下有没有人发现这个问题,果然有:[关于Sprite的setShaderProgram后坐标改变的问题]发现4楼的仁兄的回复有亮..
分类:
其他好文 时间:
2014-11-18 11:59:13
阅读次数:
273
#!/usr/bin/python# -*- coding: utf-8 -*-import osimport shutildef move_logs(path,filename): destPath = path + '/../log' if os.path.exists(destPa...
分类:
其他好文 时间:
2014-11-17 20:57:38
阅读次数:
182
今天又踩了一个坑,想对图片进行缓存,用以前2.2.5的接口,提示访问失败。后来去看源码发现3.3rc0中改变了!!!2.2.5的接口:display.addSpriteFramesWithFile(数据文件名,材质文件名)3.3rc0的接口:display.addSpriteFrames(数据文件名,材质文件名)只是名字变了。2.2.5版的:..
分类:
其他好文 时间:
2014-11-17 19:40:16
阅读次数:
171