Elvis Woo

To whom be glory forever and ever. Amen.

Skip to: Content | Sidebar | Footer



Test Flickr Blog Publish

27 March, 2010 (23:05) | Uncategorize | By: admin

Countdown script in Batch file

10 February, 2010 (17:58) | Windows | By: admin

Restart Computer Example:
for /L %%a in (
 15,-1,0
) do (
 echo Your Computer will reboot in %%a seconds…
 ping -n 2 localhost 1>nul 2>nul
)
@echo off
shutdown -r -t 0
PAUSE

Hide CMD Window when running a batch file

10 February, 2010 (17:53) | Windows | By: admin

Open Notepad and enter the following:

Set ws = CreateObject("Wscript.shell")ws.run "your.bat",vbhide

Then save as a vbs file "your.vbs"

Close SELINUX (Needn’t reboot Linux)

17 December, 2009 (14:53) | Linux | By: admin

Edit /etc/sysconfig/selinux

………….
#SELINUX=enforcing
SELINUX=disabled
…..

:wq

Then run commont "setenforce 0"

Batch download FTP files

9 October, 2009 (17:03) | Linux | By: admin

ftp>prompt
ftp>mget *.*
or 
lftp ftp://xxxx.xx
mirror

Apache IndexesDirectory Charset

9 October, 2009 (16:59) | Application System, Linux | By: admin

Create a .htaccess file at the root directory of website
Add "IndexOptions Charset=GB2312"  and save it.
Finished.

Installed ImageVue on CentOS 5

18 July, 2009 (21:03) | Application System, Linux | By: admin

Test

16 May, 2009 (09:05) | Uncategorize | By: admin

Windows Live published a new module that can associate the Windows Live, Flickr, Wordpress, Facebook and so on.

Kill User Connections

30 March, 2009 (11:52) | Linux | By: admin

pkill -kill -t (user’s pts)

Hushlogin

1 March, 2009 (12:33) | Linux | By: admin

touch .hushlogin