搬家,这里废弃

爱骂的你们就对着空门骂吧

我辛辛苦苦写文章也不是为了给你们那些没素质的人看的,你们牛你们怎么不写,wiki 上你们提交了几篇文献

我不过是没写完留空居然三番五次的被网络流氓骂,我图什么啊

blog 关了完事,去别的地方了玩了,爱骂的自己想办法吧

你们一辈子都只会拾人牙慧,还真当自己是大家了,骂家

Posted in 不行,我快溢出来了 | Leave a comment

SciTE 1.75 发布

* Released on 22 November 2007.
* Some WordList and PropSet functionality moved From Scintilla to SciTE. Projects that link to Scintilla's code for these classes may need to copy code From SciTE.
* Borland C++ can no longer build Scintilla.
* Invalid bytes in UTF-8 mode are displayed as hex blobs. This also prevents crashes due to passing invalid UTF-8 to platform calls.
* Indentation guides enhanced to be visible on completely empty lines when possible.
* The horizontal scroll bar may grow to match the widest line displayed.
* Allow autocomplete popups to appear outside client rectangle in some cases.
* When line state changed, SC_MOD_CHANGELINESTATE modification notification sent and margin redrawn.
* SciTE scripts can access the menu command values IDM_*.
* SciTE's statement.end property has been implemented again.
* SciTE shows paths and matches in different styles for Find In Files.
* Incremental search in SciTE for Windows is modeless to make it easier to exit.
* Folding performance improved.
* SciTE for GTK+ now includes a Browse button in the Find In Files dialog.
* On Windows versions that support Unicode well, Scintilla is a wide character window which allows input for some less common languages like Armenian, Devanagari, Tamil, and Georgian. To fully benefit, applications should use wide character calls.
* Lua function names are exported From SciTE to allow some extension libraries to work.
* Lexers added for Abaqus, Ansys APDL, Asymptote, and R.
* SCI_DELWORDRIGHTEND added for closer compatibility with GTK+ entry widget.
* The styling buffer may now use all 8 bits in each byte for lexical states with 0 bits for indicators.
* Multiple characters may be set for SciTE's calltip..parameters.start property.
* Bash lexer handles octal literals.
* C++/JavaScript lexer recognises regex literals in more situations.
* Haskell lexer fixed for quoted strings.
* HTML/XML lexer does not notice XML indicator if there is non-whitespace between the "

http://scintilla.sourceforge.net/SciTEDownload.html

Posted in 不行,我快溢出来了 | Leave a comment

发现了有趣的现象

http://index.baidu.com/main/word.php?word=mp3%2C+%CA%D6%BB%FA

在一年中 mp3 和手机的关注度近似成正比,比值为 1

下面是火影与动画+漫画的关系,足见其火爆

http://index.baidu.com/main/word.php?word=%BB%F0%D3%B0%2C+%C2%FE%BB%AD%2B%B6%AF%BB%AD

Posted in 不行,我快溢出来了 | Leave a comment

utf-8正确显示中文电子邮件格式

文件头:
Content-Type:text/html; charset=UTF-8
Content-Transfer-Encoding: base64

主题:=?编码格式?B?base64(主题内容)?=

内容:base64(内容)

Posted in 不行,我快溢出来了 | Leave a comment

新的 scite 扩展

在字符左侧按 "(" 的话自动用 "(" 和 ")" 把从字符到行尾包起来

Posted in 不要告诉他 | Leave a comment

把空白当做一个词处理

给编辑器写个新插件

Posted in 不要告诉他 | Leave a comment

MyEclipse 注册码算法 Java 版

算法只做技术交流,使用与否是您自己的问题

KeyMaker

密码是 nettok.yo2.cn

Posted in 盗版是偷窃 | Tagged , , , , | Leave a comment

在 open cms 中加入自己的数据库

Using OpenCms's Database connection pool
From OpenCms Wiki
Jump to: navigation, search

OpenCms delivers a mechanism to include additional databases, that can be accessed From within OpenCms via the Opencms-SqlManager, the database connection pool. The pool contains all the information to access the database and an identifier, that is used in your jsp's to access the the database.
[edit]
Configuration of the database connection pool

Instead of setting up and configuring your own database connection pool, you can use OpenCms's version of the database connection pool management. After succesfully setting up OpenCms, the pool already contains the connection, it uses to store and retrieve itself in the configured database.

First, you must add your database pool to the config file, located: %jsp-container folder%\webapps\opencms\WEB-INF\config\opencms.properties.

Copy over the default pool, and modify it for your database pool, paying special attention to the sections: "Declaration of database pools", "Configuration of the {poolname} database pool", and "Configuration for statement pooling".

Your changes will look something like this:

 #
 # Declaration of database pools
 #################################################################################
 db.pools=default,yourdb


# # Configuration of the default database pool ################################################################################# ...


# # Configuration of the yourdb database pool ################################################################################# # name of the JDBC driver - this one is for MsSQL db.pool.yourdb.jdbcDriver=net.sourceforge.jtds.jdbc.Driver


# URL of the JDBC driver db.pool.yourdb.jdbcUrl=jdbc:jtds:sqlserver://yourSQLserver.com/yourDB


# optional parameters for the URL of the JDBC driver # db.pool.yourdb.jdbcUrl.params=?characterEncoding\=UTF-8


# user name to connect to the database db.pool.yourdb.user=youruser


# password to connect to the database db.pool.yourdb.password=yourpassword


# the URL to make the JDBC DriverManager return connections From the DBCP pool db.pool.yourdb.poolUrl=opencms:yourdb


# the maximum number of objects that can be borrowed From the pool db.pool.yourdb.maxActive=25


# the maximum amount of time before throwing an exception when the pool is exhausted db.pool.yourdb.maxWait=2000


# the minimum number of objects that will kept connected db.pool.yourdb.minIdle=3


# the maximum number of objects that can sit idled in the pool db.pool.yourdb.maxIdle=10


# action to take when the pool is exhausted {grow|block|fail} db.pool.yourdb.whenExhaustedAction=block


# connections will be validated before they are borrowed From the pool db.pool.yourdb.testOnBorrow=true


# connections will be validated by evictor thread db.pool.yourdb.testWhileIdle=false


# number of milliseconds to sleep between runs of the evictor thread # -1 means no idle connection evictor thread will be run db.pool.yourdb.timeBetweenEvictionRuns=-1


# number of connections tested in a run of the evictor thread db.pool.yourdb.numTestsPerEvictionRun=3


# minimum amount of time in milliseconds a connection may be idle in the pool before it is eligable for eviction db.pool.yourdb.minEvictableIdleTime=1800000


# the query to validate connections # MSQL version (also MS SQL): SELECT 1 # Oracle version : SELECT 'validationQuery' From DUAL db.pool.yourdb.testQuery=SELECT 1
Posted in 心技一体 | Tagged , , | Leave a comment

随笔#

黑暗也许环绕着我们,但造就罪恶的是冷漠

Posted in 不行,我快溢出来了 | Leave a comment

someone saids - I trust them

Web 项目的表应该散,太大影响效率

尽量减少数据库访问次数,并发 300 就能 down 掉两个服务器

失败超过 30% 就认为系统失败(压力测试)

广告不能超过版面的 1/8

由于生理及心理因素,人类的注意力最多集中 3 秒

Leave a comment