批命令名称:delfile.bat

内容:

attrib -s -h -r %1\*.* && del %1\QZ*.* /q
dir %1 /ad /b /s >del.txt
for /f %%i in (del.txt) do del %%i\QZ*.* /s /q

使用:

delfile.bat e:\temp

民航网站推荐

[不指定 2009/11/15 13:11 | by fubin ]
http://www.xmyzl.com/know/z5.htm
国内民航机队信息(民航休闲站)
http://www.xmyzl.com/know/search.asp
国内民航机队各飞机资料的搜索
http://www.edinavtn.co.uk/assets/files/PDFs/
多种世界上主要的机型的详细生产流水号
http://www.seattle-deliveries.com/deliveries.htm
波音飞机交付的网站(非官方)
http://gc.kls2.com/
查询世界任意两个机场航程
http://www.seatguru.com/
多家外籍航空公司的客舱布局介绍和评论
http://www.seatexpert.com/
另一个客舱布局的介绍
http://www.world-airport-codes.com/
世界机场代码查询
http://www.airfleets.net/home/index.php
世界大部分航空公司机队资料
http://fids.baiyunport.com/airline/depart.aspx
广州白云机场实时航班查询(附有飞机号)
http://www.hongkongairport.com/gb/flightinfo/chkfltarr.html
香港国际机场实时航班查询
http://www.flyertalk.com/
全球多家航空公司飞行常客的论坛
http://www.v-flyer.com/aircraft.asp
英国维珍航空飞机动向(每个航班每天由哪架飞机执行都有详细记录)
http://www.airliners.net/search/?
全球最有影响力的航空图片网站之一,也就是ANET
http://www.jetphotos.net/

任务管理器

[不指定 2009/11/10 21:13 | by fubin ]
这是非常重的一个功能,它可以实现定时执行某个类,也可以让某个方法在一定时间后反复执行,是服务器端管理工具的基础,线程安全的,你可以完全可以放心使用他。经过我的测试承压能力非常强,也非常稳定。

下载文件
这个文件只能在登入之后下载。请先 注册登入

分割线

[不指定 2009/11/09 21:31 | by fubin ]
点击在新窗口中浏览此图片
图片说明:
On a recent visit to Scotland I caught this shot of my son standing in the doorway of our house, waiting for me to come inside out of the rain. I really liked how the frame splits the subjects, and while at first he seems so removed from the natural setting you then glimpse the sky behind him through the window.

这是摄影师在苏格兰拍下的,画片中摄影师的儿子在门口站着,等待着他从雨中回到屋子里。画片中白线将小孩和自然界隔开的情景给人的视觉冲击很强烈。

压缩文件目录的线程方法

[不指定 2009/11/04 21:46 | by fubin ]
import javax.swing.Timer;
import java.io.File;
import java.io.FileInputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import javax.swing.JOptionPane;
import javax.swing.JProgressBar;

public class ZipThread implements Runnable {
   String sDir,zipFileName;
   JProgressBar jp;
   int totalFiles=0;
   Timer busyIconTimer;
   public ZipThread(){}
   public ZipThread(Timer busyIconTimer,JProgressBar jp,String sDir,String zipFileName){
       this.zipFileName=zipFileName;
       this.sDir=sDir;
       this.jp=jp;
       this.busyIconTimer=busyIconTimer;
   }
   public void run(){
       try{
           File d = new File(sDir);
           String[] entries = d.list();
           totalFiles=entries.length;
           jp.setVisible(true);
           jp.setMaximum(totalFiles);
           jp.setValue(0);
           busyIconTimer.start();
           byte[] buffer = new byte[4096];
           int bytesRead;
           ZipOutputStream out = new ZipOutputStream(new java.io.FileOutputStream(zipFileName));
           for (int i = 0; i < entries.length; i++) {
               jp.setValue(i);
               File f = new File(d, entries[i]);
               if (f.isDirectory())
                   continue;
               FileInputStream in = new FileInputStream(f);
               ZipEntry entry = new ZipEntry(f.getPath());
               out.putNextEntry(entry);
               while ((bytesRead = in.read(buffer)) != -1)
                   out.write(buffer, 0, bytesRead);
               in.close();
          }
           out.close();
           jp.setValue(totalFiles);
           jp.setVisible(false);
           busyIconTimer.stop();
           JOptionPane.showMessageDialog(null,"Done!!!");
       }
       catch(Exception ee){
           JOptionPane.showMessageDialog(null,"Critical problem!!!" +ee.toString());
                     
       }
   }
}

修改任意用户密码为:WELCOME

[不指定 2009/11/03 22:25 | by fubin ]
rem
rem Alters given user's password to "WELCOME", and creates script to revert password to
rem original setting
rem

set heading  off
set verify   off
set feedback off

prompt
accept username char prompt 'Enter username to hack into: '

prompt  
prompt Creating revert.sql in the current working directory
prompt

set termout off
spool       revert.sql

select 'alter user &&username identified by values '||
      ''''||
      password||
      ''''||
      ';'
from   sys.dba_users
where  username = upper('&&username')
/

spool       off
set termout on

prompt  
prompt Altering user password to 'welcome'
prompt

set termout off

alter user    &&username
identified by welcome
/

set termout on
prompt
prompt *************************************************
prompt   The file revert.sql is in the current working  
prompt   directory.  Run it to reset the password.  
prompt *************************************************
prompt
prompt

查看Oracle备份文件

[不指定 2009/11/02 22:08 | by fubin ]
select   b.file#                                "File No"
,        d.name                                 "File Name"
,        d.bytes                                "Size (bytes)"
,        b.status                               "Backup Status"
,        to_char(b.time,'DD-MON-YY HH24:MI:SS') "Start Time"
from     v$backup   b
,        v$datafile d
where    b.file# = d.file#
order by b.time

查看Oracle JOB的状态

[不指定 2009/11/02 20:11 | by fubin ]
select   job
,        to_char(last_date, 'DD-MON-YY HH24:MI') last_date
,        trunc(last_date)                        hidden_last_date
,        to_char(this_date, 'DD-MON-YY HH24:MI') this_date
,        to_char(next_date, 'DD-MON-YY HH24:MI') next_date
,        broken
,        failures
,        what
from     sys.dba_jobs
order by 2

尼泊尔-Kathmandu(加德满都)

[不指定 2009/11/01 23:52 | by fubin ]
点击在新窗口中浏览此图片
Kathmandu has become such a chaotic place. The streets are crowded and everyone is doing their own thing. This image depicts the activities on the street, which juxtaposes with the stillness of the mother and child on the street.

加德满都依然是繁忙的景象,街道上所有的人都忙着自己的事情。这张给我们展示在忙碌的街道上安静的母女两人。

Halloween(万圣节)

[不指定 2009/10/29 22:19 | by fubin ]
点击在新窗口中浏览此图片
Halloween's origins date back more than 2,000 years. On what we consider November 1, Europe's Celtic peoples celebrated their New Year's Day, called Samhain (SAH-win).

The night before Samhain—what we know as Halloween—spirits were thought to walk the Earth as they traveled to the afterlife. Fairies, demons, and other creatures were also said to be abroad.

万圣节的历史可以追诉到2000年前。11月1日是欧洲柯尔特人庆祝他们新年的日子,他们叫Samhain (SAH-win). 那么在Samhain之前的一个晚上就是万圣节。这是一个幽灵出来活动的日子。仙子,恶鬼,还有其他生物齐聚一堂的夜晚。
分页: 7/110 第一页 上页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下页 最后页 [ 显示模式: 摘要 | 列表 ]