- 浏览: 16537 次
- 性别:
- 来自: Sydney
最新评论
文章列表
% operator means divide remaining in javacript but i found it does not work with scaling,
so in order to make it work you have to multiply the number by 10*n
for example:
var a = 10
var b = 0.05
var result = (parseFloat(a) * 100) % (parseFloat(b) * 100)
result will be 0 otherwise resu ...
this may not work in your working enviroment, but the core is the same
#!C:\python25\python.exe
from reportlab.lib units import cm
import reportGenerator
import re
form reportlab.lib import pdfencrypt
from reportlab.pdfgen import canvas
from reportlab.testutils import setOutDir,makeSui ...
Currently using this product a lot and I have used Jasper Report Before.
None of them are perfect and i think both of them will do the job
Useful Features of Report Lab:
1. eBrochures tailor-made for each customer
2. Legal contracts, prospectuses and other conditional text documents
3. C ...
RDBMS
Dialect
DB2
org
.hibernate.dialect.DB2Dialect
DB2 AS/400
org
.hibernate.dialect.DB2400Dialect
DB2 OS390
org
.hibernate.dialect.DB2390Dialect
PostgreSQL
org
.hibernate.dialect.PostgreSQLDialect
MySQL
org
.hibernate.dialect.MySQLDialect
...
- 2009-09-03 09:32
- 浏览 588
- 评论(0)
个人认为电信业的未来就是没有电信业 而是被IT业所取代。之所以这么说 是因为看看skype 为什么只那么多钱 就知道了。
市场估价是27亿多美元,我的天呀。 SUN才是区区7亿而已。
Skype这么有价值就是因为:
想象一下 itouch 添加一个麦克 加上现在的WIFI的功能,随着3G的到来 几乎城市里都可以用WIFI上网。澳洲这边2000年左右就开始普及了。可以免费打skype了。在定制个全球通 一切都搞定了。在中国没有WIFI 就用WAP 什么的,反正能上网就行,那里还用的到中国移动 中国联通 等等。
基于上面的说法,没有任何技术障碍,但这些电信公司太有钱了 怎么能接受。我想他们会 ...
- 2009-09-02 07:15
- 浏览 781
- 评论(0)
Maven, a Yiddish word meaning accumulator of knowledge, was originally
started as an attempt to simplify the build processes in the Jakarta
Turbine project. There were several projects each with their own Ant
build files that were all slightly different and JARs were checked into
CVS. We wanted a ...
- 2009-08-24 12:27
- 浏览 736
- 评论(0)
留在这里 省着忘了
1. Match Username
/^[a-z0-9_-]{3,16}$/
2. Match Password
/^[a-z0-9_-]{6,18}$/
3. Match Hex Value
/^#?([a-f0-9]{6}|[a-f0-9]{3})$/
4. Match a slug
/^[a-z0-9-]+$/
5. Match a email
/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/
6. Match a http ...
- 2009-08-14 09:54
- 浏览 780
- 评论(0)
Table 2-4 Default Data Type Mappings Used by Oracle SQL Developer
MySQL Data Type
Oracle Data Type
BIGINT
NUMBER(19, 0)
BIT
RAW
BLOB
BLOB, RAW
CHAR
CHAR
DATE
DATE
DATETIME
DATE
DECIMAL
FLOAT (24)
DOUBLE
...
- 2009-07-21 09:02
- 浏览 4263
- 评论(0)
时态数据库是种以时间为基础的数据库,它所实现的不仅仅是对当前数据库的处理,也可以对过去和未来进行处理。
A temporal database is a database with built-in time aspects, e.g. a temporal data model and a temporal version of structured query language.
1. 在oracle 中创建 Type
CREATE TYPE PeriodType AS OBJECT
(
------------------------------------------ ...
- 2009-05-05 22:00
- 浏览 2481
- 评论(0)
在写这篇文章之前, 我声明我这个博客里的所有内容,想法与代码为LGPL。
LGPL stands for GNU Lesser General Public License.
GPL stands for GNU General Public License.
从图片上看是完全一样的 可是颜色不一样。可不要小看这个颜色的区别。
概括来讲,LPGL版权 允许个人或企业使用,修改,引用而不用考虑对自身产品的影响。
而GPL版权 虽然是免费的,可是如果个人或企业使用,修改,引用了有这样的版权的产品,那么引用的人也必须公开自己产品,就是也必须用GPL的版权。这样一来一些商业用途 ...
- 2009-04-24 16:35
- 浏览 3439
- 评论(0)