Uncategorized
How to delete a table in word 2007
In Word 2003, you can delete a table by click on it and select Table->Delete->Table;
But in 2007, there’s no Delete Table in the options, and if you only select the table, you can only delete the content; you can delete the table if you select the table and the Newline note after the table, but [...]
blog模版设置和访客流量的关系发现
以前选模板都是因为自己喜欢,没考虑过流量的关系。
有天在blogbus的聚会上认识前blogbus的员工,就是做模板的。后来一次更换模板的时候就看到了他设计的模板,我以前用过的众多blogbus模板之一,界面时尚另类,蛮喜欢的。2年前用过,怀旧一下,就换上了。
2天后看google analytics,发现不对劲了,已经连续一个月在20-40之间,而且大部分都在40左右,最近两天却突然跌到20以下。开始以为是blogbus出问题,但那应该会完全没有流量啊。想了一下,只有模板更改过。难道是模板的问题?
回到首页一看,就明白了。以前很多人也许是搜索某些文章搜到了我的首页,而这个模板虽然美观,但是首页只有标签、分类,没有正文,自然不能被搜到。偏偏blogbus又开始换新版,直到今天才能换模板。再看看analytics,果然证明我的推测。这几天都是低于20的流量。
看来以后选择模板不仅要出于美观的考虑,流量问题也要考虑哦~
Read Full Post | Make a Comment ( None so far )FREE SnagIt 7.2.5 Downloads and register超强抓屏软件SnagIt官方免费下载注册方法
Although this is the previous version, it’s free. Register at TechSmith.com for a free softwarekey for SnagIt 7.Techsmith.comDownload a copy of the latest version Version 7.2.5 from OldApps.com.Download 7.2.5
SnagIt被称作最强的截屏软件。今天同事推荐我用,很方便快捷,功能很多,除了用于技术文档插图是常用的加注释非常方便漂亮以外,边角各种淡色、撕裂的效果还可以用来做照片的特殊处理呢:) 简直是文档编辑必备啊~~~
现在最新的版本应该是8.2.3 但是7.2.5有官方提供的注册码。只需在Techsmith.com注册后就可以一直合法使用。对于公司的文档撰写非常方便。
Download 7.2.5这里可以下载英文版。华军等网站也有汉化补丁下载。
键盘上的各种符号读法 详尽版
键盘符号的英文读法
http://www.epubcn.org/read.php?tid=64823
http://bbs.chinaunix.net/archiver/?tid-665794.html
# hash/sharp
* asterisk
+ plus/positive
- minus/negative/dash
/ slash/slant
\ backslash/escape
整理参考了一下,
贴出来大家看看
键盘符号的英文读法
` backquote 反引号
~ tilde
! exclam
@ at
# numbersign,英语国家是hash,美语是pound,音乐里作sharp,如C#
$ dollar
% percent
^ caret
& ampersand
* asterisk,star(美语),数学公式中作multiply
( parenleft,opening parentheses
) parenright,closing paretheses
- minus;hyphen连字符,不读
_ underscore
+ plus
= equal
[ bracketleft,opening bracket
] bracketright,closing bracket
{ braceleft
} braceright
; semicolon
: colon
‘ quote
” doublequote
/ slash
\ backslash 反斜杠
| bar
, comma
greater
. period
? question
space 空格
下面是一些特殊符号的英文读法,
主要是数学符号
< is less than
> [...]
Dreamweaver中sql注入式攻击的防范 zz
转载自: http://www.secnumen.com/technology/sql011.htm
Dreamweaver+ASP可视化编程门槛很低,新手很容易上路。在很短的时间里,新手往往就已经能够编出看来比较完美的动态网站,在功能上,老手能做到的,新手也能够做到。那么新手与老手就没区别了吗?这里面区别可就大了,只不过外行人很难一眼就看出来罢了。界面的友好性、运行性能以及网站的安全性方面是新手与老手之间区别的三个集中点。在安全性方面,新手最容易忽略的问题就是SQL注入漏洞的问题。用NBSI 2.0对网上的一些ASP网站稍加扫描,就能发现许多ASP网站存在SQL注入漏洞。
所谓SQL注入(SQL injection),就是利用程序员对用户输入数据的合法性检测不严或不检测等设计上的漏洞,故意从客户端提交特殊的代码(SQL命令),收集程序及服务器的信息,获取想得到的资料而进行的攻击。
可见Sql注入攻击得逞的主要原因没有对用户输入的数据进行验证,可以从客户端动态生成Sql命令。 一般的http请求不外乎get 和 post,所以只要我们在程序中过滤所有post或者get请求的参数信息中非法字符,即可实现防范SQL注入攻击。
遗憾的是DW并没有提供相关代码,因此要想防范SQL注入式攻击就需要手工修改, 只要将下面的程序保存为SQLinjection.asp,然后在需要防注入的页面头部调用 <!–#Include File=”SQLinjection.asp”–> 就可以做到页面防注入.
如果想整站防注,就在DW生成的Connections目录下的数据库连接文件中添加头部调用或直接添加下面程序代码,需要注意的是,在添加到数据库连接文件中,可能在后台表单添加文章等内容时,如遇到SQL语句系统会误认为SQL攻击而提示出错。
通用程序代码(引自网络做适当更改)如下:
<% ‘——–定义部份—————— dim sql_injdata SQL_injdata = “‘|and|exec|insert|select|delete|update|count|*|%|chr|mid|master|truncate|char|declare|1=1|1=2|;” SQL_inj = split(SQL_Injdata,”|”
‘——–POST部份—————— If Request.QueryString<>”” Then For Each SQL_Get In Request.QueryString For SQL_Data=0 To Ubound(SQL_inj) if instr(Request.QueryString(SQL_Get),Sql_Inj(Sql_DATA))>0 Then Response.Write “<Script Language=JavaScript>alert(‘系统提示你!\n\n请不要在参数中包含非法字符尝试注入!\n\n’);window.location=”&”‘”& “index.htm”&”‘”&”;</Script>” Response.end end if next Next End If
‘——–GET部份——————- If Request.Form<>”” Then For Each Sql_Post In Request.Form For [...]
Winrunner的Test GUI出现"already exists in the GUI map"
用winrunner跑回归测试的时候,出了个already exists “GUIwindowName” in the GUI map的错误。找了半天,终于让我搜到,原来是GUI mao editor把我在它报不认识GUI窗口时点击的窗口给录进去了,这样就和GUI map里面的窗口名字重复,于是不能load GUI map文件。
解决很简单,把winrunner->tool->GUI map editor里面有GUIwindowName(就是报错时说的那个对象)那条给删掉,就可以了。
If you run a regression test for a test GUI, there’s an prompt windows telling: already exists “GUIwindowName” in the GUI map, that’s probably because there’s a temp GUI file stored by your manually record, which has the same windowName with the [...]
Eclipse的java环境配置 When Eclipse cannot be started, only shows a startup picture
When open Eclipse, it shows a picture without enabling the program.Type java -version in command window, which shows 1.3.1
We tried to change the environment variable, didn’t work.
We tried to add a -vm “C:\jre1.6.0_1\bin\javaw.exe” to Eclipse’s short cut, but a dialogue window prompt out.But it works when change the short cut path to J2SDK:
C:\…\eclipse\eclipse.exe -vm “C:\j2sdk1.4.2_14\bin\javaw.exe”
上次写过一篇JAVA [...]
Patent Application
Some website of the existed patent:
Google->Patent –all the US patent applied
US Patent Office-USPTO
European Patent Office
State Intellectual Property Office of the P.R.C.
Patent Apply Process: before submit
使用专利
外观专利
发明专利 — 最有商业价值
1. Get an idea
2. Prove it works and keep the records
– Prior Art Search- How do others solve the problem? Compare is needed!
- Lab book (Important! A Patent submitted [...]


