`
雨过天晴0521
  • 浏览: 159539 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
在一些投票之类的场合,我们往往因为公平的原则要求每人只能投一票,在一些WEB开发中也有类似的情况,这时候我们通常会使用COOKIE来实现,例如如下的代码: < % cookie[]cookies = request.getCookies(); if (cookies.lenght == 0 || cookies == null){ doStuffForNewbie(); //没有访问过 }else{ doStuffForReturnVisitor(); //已经访问过了 } % > 这是很浅显易懂的道理,检测COOKIE的存在,如果存在说明已经运行过写入COOKIE ...
Shell: How to determine the exit status of Linux and UNIX command by NIXCRAFT on FEBRUARY 11, 2006 · 14 COMMENTS· last updated at JUNE 1, 2008 Q. Can you explain the exit status of shell and commands under Linux / UNIX operating system? A. All UNIX and Linux command has a several parameters or vari ...
antcontrib提示错误Could not load definitions from resource解决办法 使用Ant过程中,在build.xml 添加<taskdef resource=”net/sf/antcontrib/antlib.xml”/>时候执行 for task时候总是提示错误     [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. 解决办法有2个: 1、AntHome中加入ant-con ...
How to migrate AMX based products to SF. 1. How to make a component type    a. Copy a AMX component type from SFSG 1.0.0.    b. Update all files under domain_type, rename value of property 'name' into new product name.    c. Rename all files under domain_type: domain_type_<product_name>.xml, ...

Profiling with JProfiler

    博客分类:
  • IDE
Install JProfiler Install the JProfiler GUI. It works on either Windows or Linux. The GUI need not be run on the same host as the application you will be profiling, however you will need the agent libs and jar available on the host to be profiled, so you may wish to install JProfiler in both places. ...

about Teradata SQL

http://www.razorsql.com/docs/teradata_alter_table.html Rename table: rename table Samples.p to Samples.ccqa08_p Add Column: ALTER TABLE Samples.address ADD NewCol CHAR(25) ALTER TABLE Samples.address ADD NewCol CHAR(25) DEFAULT '22' NOT NULL Add Primary Key: ALTER TABLE RETAIL.EMPLOYEE ADD PRIMAR ...
Answer:  To change a user's password in Oracle, you need to execute the alter user command. The syntax for changing a password is: alter user user_name identified by new_password; user_name is the user whose password you wish to change. new_password is the new password to assign. For example: ...
http://msdn.microsoft.com/en-us/library/ms189751.aspx Create login sample: CREATE LOGIN qa WITH PASSWORD = 'password01'; GO Modify password of an accnout: ALTER LOGIN qa WITH PASSWORD = 'password01' OLD_PASSWORD = 'password01'; GO Then you should go to security folder on DB tree, right-click t ...
在ant上执行SQL server的存储过程, 事务不会自动提交, </sql> task中autoCommit默认是false, 所以必须设为true才能避免下列问题. 10/30/12 13:44:10.336 INFO: [ProcessWrapper] Executing: D:\DataSynapse\Engine\resources\win64\wrappid.exe,D:\DataSynapse\Engine\work\Jessica-PC-0\antcall.pid,D:/DataSynapse/Engine/work/Jessica-PC-0/tibcoamx/t ...
情景: 当前在trunk目录下, 因为code freeze需要创建一个branch, 把新fix的revison提交到branch上 1. 在本地trunk根目录下, 点右键菜单, 选择'Branck/ Tag', 会弹出'Copy(Branch/Tag)', 'From WC at URL'是你当前trunk下的url, 'To URL'改成你想创建的branch的url, 目录名字可以随便起. 最后点OK. 2. 回到本地trunk根目录下, 点右键菜单, 选择'Switch To Branch/ Tag', 在'To URL'中选择你刚创建的branch url. 点击OK. 本地的 ...
TELECONF Participate. 9537495452 China Toll Free 108006110147 China Beijing Local 861059045005 US 8778069883 If you're in China, find and dial the China Toll Free number, then enter the participate id  9537495452. WEBEX ------------------------------------------------------- To join the telecon ...
This script can drop a SQL Server table. It automaticly remove all the constraints of the table before the drop query. 先删除所有constraints declare @sql varchar(1024) declare curs cursor for select 'ALTER TABLE "'+tab.name+'" DROP CONSTRAINT '+cons.name from sys.objects cons,sys.objects t ...
看父进程PPID和子进程PID [root@silver-ion-ui ~]# ps lax|grep DevNode 0     0  5323  4487  20   0 4337768 437296 futex_ Sl ?          1:40 /root/installation/DSEngine/work/silver-ion-ui-0/tibcoConfigHome/tibcohost/Admin-amxadmin-instanceOne/data_3.2.x/nodes/DevNode/bin/tibamx_DevNode -launchModelFromStream -- ...

正则表达式

http://www.ibm.com/developerworks/cn/education/aix/au-unixtips3/section3.html http://mengzhuo.org/regex/
zipfileset和fileset标签的属性完全兼容, 其中excludes属性应用例子如下: <target name="distribution.package"> <zip destfile="../test2.zip" > <zipfileset dir="D:\tmp\components" prefix="components" exclud ...
Global site tag (gtag.js) - Google Analytics