Tag Archives: utility

改进的图像校验码生成算法和辅助工具

*******************************************
目的
*******************************************
生成图像校验码

*******************************************    
内容           
                               

*******************************************
包括改进的asp图像检验码生成程序,和一个生成body.fix和head.fix的
辅助工具。该辅助工具基于Qt 4开发,基于GNU/GPL协议(请阅读GPL.txt
文档)。附源码。

*******************************************    
USAGE                                        

*******************************************
1. 制作0.bmp, 1.bmp等10张数字图片,并以0.bmp, 1.bmp这样的规律命名
2. 将图片放在images目录下
3. 运行tool.exe
4. 选定“生成Body.fix”,单击“运行”
5. 选定“生成head.fix”,指定检验码位数,宽度和高度是由上一步骤自动
读取得到,如果正确,保持不变。单击“运行”
6. 这时得到body.fix和head.fix,退出。
7. 用文本编辑器打开 valCode_new.asp,修改digit_width、digit_height、
digit_num 这三个参数,使之与以上步骤使用的参数一致
8. 将test.html, valCode_new.asp, body.fix, head.fix,以及blank.bin
五个文件复制到IIS虚拟目录下
9. 在浏览器里浏览test.html,就可以得到预想效果

NOTE: images目录下已经放了示例数字图片。注意每个图片大小必须严格一
致。将valCode_new.asp整合到某一web程序时,可以使用
Session("ValidationCode")对request值进行检验。

*******************************************
FILE LIST
*******************************************

blank.bin
body.fix      
head.fix      
images         <dir>
msvcp71.dll   
msvcr71.dll   
numCode.asp   
QtCore4.dll   
QtGui4.dll    
README        
src            <dir>
test.html     
tool.exe      
tool_zh.qm    
valCode_new.asp

images
0.bmp
1.bmp
2.bmp
3.bmp
4.bmp
5.bmp
6.bmp
7.bmp
8.bmp
9.bmp

src
GPL.txt
main.cpp
tool.cpp
tool.h 
tool.ico
tool.pri
tool.pro
tool.ui          

*******************************************    
CREDIT                                       

*******************************************
valCode_new.asp在BlueIdea.COM Web Team V37 2003-7-25工作的基础
改善完成(所附的numCode.asp是原文件)。
Qt是Trolltech的trademark。

Pm v2.23

仍没有帮助,有时间的朋友可以帮我写,我目前是补不上了,没有时间
也没有中文界面,既然是帮助大家学英语的,界面上的这点英语不算什么大问题吧,
如果有英语错误请帮我指出来
 
v2.2.3 [Sep-08-05]
# fixed typing a dir path in destination dir of pm tools will activate the Apply button when selecting either the backup or the restore option.
+ new Phrase Memo v2 toolkit, functioning with rebuild, back up and restore backed databases.
 
v2.2.2 [Aug-26-05]
# recompiled QtGui4.dll, to fix a popup menu bug which make menu cannot show on the taskbar.
+ singleton support.
+ double clicking the tray icon will bring up the window.
+ added system tray support. Now minimizing behavior will cause the windows hidden into system tray.
* rearrange the context menu of text edit.
# fixed when reverse selecting an underlined text then move the cursor to unformated text, the underline button will not changed simultaneously.
# fixed the cursor still keeps visible changed to read only mode.
* the cursor keep in the same position on save
 
附两个截图
下载请到 http://503.mygis.org,进去后,进入tags/rls-mmdd/,mmdd表示build的日期,选择离现在最近的日期,进入该目录,请下载 *_setup.exe。如果需要验证其合法性,请下载*_setup_md5.txt,内含该可执行文件的md5 hash码。你如果认为你的朋友也能用,just feel free to distribute it.
用户密码按已知的来,没有的请给我写信 giscn_at_msn[dot]com

pm v2.21

一个用于帮助摘录和回忆英文句子的小软件,占系统资源极小,启动极快。目的单一,就是对研究生撰写英文科技文章有帮助,帮助多少,看你自己的利用程度了,至少对于我本人来讲,很实用的东西。
没有帮助文档,没有中文界面,我只是业余抽空改改这个东西,没有计划整成一个商业的东西,sorry,这些要求概不理会,这么简单的没几个按钮,自己多试试就搞定了。
有Bug和评论的当然可以写信到 giscn_at_msn_dot_com,下载Url也请写信到此地址,自有回复。谢谢大家关心。

v2.2.1 [Jul-17-05]
# fix: when change the screen font size, an asterisk mark will show and save action activated.
# fix: the anno will save as the last line regardless of the last being
blank. Now the anno will be saved as the last non-blank line.
# fixed when closing the app with unsaved modification, clicking no will also exit the app.
# fixed search control cannot type in quote marks (")
+ added a button to adjust the font size
+ added a search functionality in the context menu
* other improvements

pm v22 release

Do you have read many of native English articles, and find many of good
English sentences?  Do you suffer the pain that when you start to
composite your English article, you forget how to express your idea in
a native manner, despite the sentence seems very familiar to you? ok,
this is very you want. this software is specially designed to  back
your English sentences you met during your reading, and will help you
much to article composition.

it’s the first time open to the Internet public.

I have attached some screenshots below. If it’s you are interested,
please drop me an email, or let me know by whatever ways you can, I
will send you an Url for download.

Bug reports , comments , or suggestions, should be send to giscn@msn.com.