Sunday, January 28, 2007

Running more than one Firefox instance in the same X

It's sometimes really handy to run two or more Firefox instances simultaneously for testing purposes or the likes. This seems to be impossible since Firefox allows only one instance of it per user session. Running multiple "firefox" commands just creates new windows which share the same session data (cookies, authenticated sessions...)

Thanks to Linux, SSH and the X architecture which together make running multiple instances of Firefox in the same screen possible.

Step 1: Start your X and login with an account, start the first Firefox instance.
[dgthanhan@localhost ~]$ firefox&
Step 2: SSH to your own localhost using another account with X tunneled
[dgthanhan@localhost ~]$ ssh -X monkeya@localhost
monkeya@localhost's password:
Last login: Sat Jan 13 02:11:45 2007
/usr/bin/xauth: creating new authority file /monkeya/.Xauthority

Step 3: Start the second Firefox instance by invoking "firefox". Enjoy :)
[monkeya@localhost ~]# firefox&
(Note: This guide is only for *nix user)

Friday, January 12, 2007

Them cai thu hai

Cai thu hai dung hinh khac, ad khac

Test them mot lan nua

Test thu ne

Đây là kết quả

Đoạn quảng cáo sau có hình không thể copy static URL được nà

Testing the blogger API for Picscout

Foo!

This is a test post

Thursday, January 11, 2007

Testing the Ad for Picscout

Hic hic, hôm nay phải viết một chương trình "demo" cho Picscout để thử khả năng post quảng cáo trực tiếp vào các dịch vụ Blog. Mình post thử cái này lên để thử nghiệm..

Không biết có chạy được hông nữa :-s
Còn đây là cái quảng cáo tạo ra từ Javascript. Cái này là căng thẳng nhất nè. Hy vọng chạy được :-ss

Chạy được hông ta...