Archive for the ‘技术文章’ Category

UltraEdit使用入门(转)

三月 31st, 2007

UE copy后就可以使用,但是没有右键点击后用UE打开的功能,这个注册表是以前收集的,copy一下,修改
@=”D:\\Prog\\UltraEdit\\ue32ctmn.dll”
为你的系统值,令存为.reg文件,导入注册表即可。
» More: UltraEdit使用入门(转)

Popularity: 27%

perl常用环境变量(转贴)

三月 29th, 2007

先来一个例子吧
#!/usr/bin/perl
use warnings;
@array = qw(a b c d);
foreach (@array) {
print $_,”\n”;
}
例子的作用就是定义一个数组并把其中的元素打印出来,这里需要注意的是foreach循环部分,foreach循环的标准格式应该是:
foreach $element (@array){
……
}
其中数组@array将其中的元素依次赋值给$element,但是在上面那个程序中,我并没有这样做,在程序中,我就使用到了perl中内置的一个特殊变量 $_ 。
» More: perl常用环境变量(转贴)

Popularity: 21%

中国软件项目管理,开发之现状

三月 29th, 2007

看图说话
Pm

Popularity: 18%

推荐一个多种数据库sql语法参考网站

三月 29th, 2007

http://sqlzoo.net

忘了oracle的rename的写法了,google的时候,无意搜到的。

示例:
如果想知道oracle的rename怎么写
选右边的
CREATE and DROP:
最下面一排是
rename column
选择右边的oracle
出来code

CREATE TABLE a(x INTEGER);
INSERT INTO a VALUES (2);
ALTER TABLE a RENAME COLUMN x TO y;

Popularity: 19%

java tips

三月 26th, 2007

取头信息中的Referer

request.getHeader("Referer")

Popularity: 16%

php tips

三月 26th, 2007

怎么样修改php运行时的时区

<?
echo "Original Time: ". date("G:i:s")."\n";
putenv("TZ=US/Eastern");
echo "New Time: ". date("G:i:s")."\n";
?>

其中TZ的值请参看附件
时区列表

Popularity: 16%

IBM常见软件进程(转贴)

三月 23rd, 2007

在使用IBM THINKPAD原装系统时觉得系统进程太多影响机器速度,下面就列出了IBM常见软件进程,可以参考对比删除一下不必要的进程来释放一些系统资源:
  下面进行解析:
  1、S3tray2,对应的是s3tray2.exe,S3 Video card task tray utility. Not specifically required for Windows to operate.看来可以不启用。
  2、bluetoothauthenticationAgent,这个是蓝牙所用,可以临时不用,需要时启用即可。
  3、TpShocks,IBM特有的硬盘防护的,必须启用。
  4、tphotkey,IBM的特殊功能键的驱动,必须启用。
» More: IBM常见软件进程(转贴)

Popularity: 20%

javascript 代码收藏

三月 21st, 2007

可以对页面重排版的代码,打开网站,复制粘贴到地址栏

  1. javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

退出编辑状态

  1. javascript:document.body.contentEditable='false'; void 0

图片散花

  1. javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

兼容ie,firefox,Opera的添加到收藏夹的代码

<script type="text/javascript">
 
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at
http://www.dynamicdrive.com/ for full source code
***********************************************/

 
/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
    
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
    
var elem = document.createElement('a');
    
elem.setAttribute('href',url);
    
elem.setAttribute('title',title);
    
elem.setAttribute('rel','sidebar');
    
elem.click();
}
else if(document.all)// ie
    
window.external.AddFavorite(url, title);
}
<
/script>

使用方法

<a href="javascript:bookmarksite('百变贝贝', 'http://www.juyimeng.com')">添加到收藏夹</a>

Popularity: 11%

推荐一个google page rank 查询的工具

三月 21st, 2007

google page rank查询的工具

点击查看本网站pagerank

2007-05-12日

再补充一个,digpagerank,号称可以从超过700个数据中心取数据。

点击查看本网站pagerank

Popularity: 23%

oracle如何返回随机数据

三月 15th, 2007
  1. select *
  2. from(
  3. select * from tab
  4. order by dbms_random.random
  5. )
  6. where rownum <10

Popularity: 19%