Archive

Archive for April, 2008

Free image hosting !

April 29th, 2008 No comments

Hi everyone, I have launched a FREE Image hosting at http://upload.throx.net . Feel free to upload your pictures and get hosted !

throx image hosting

Categories: Throx.net Tags: , ,

Free color picker software

April 27th, 2008 1 comment

Sometimes you may want to match a color in your design or configuration but it is very hard to figure out what is the color code. With ColorPic, you can easily retrieve color codes by pointing your mouse arrow to anywhere on your monitor.

ColorPic

Categories: Software Tags: , ,

Jay Chou – 千山万水 Olympic Competition Song

April 27th, 2008 No comments

Radio Version:

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

千山萬水 無數黑夜 等一輪明月
夢的邊陲 風吹不滅 從不感疲憊
東方無愧 第一是誰 讓我們追求完美
我態度堅決 面朝北 平地一聲雷

做好準備 這一回 起跑後絕不撤退
痛快一起努力的感覺
我們擁有同樣的機會

夢想挾帶眼淚 鹹鹹的汗水
你我同個世界 愛從中穿越

夢與希望在飛 我向前去追
有目標就不累 等著我超越
超越 千山萬水 無數黑夜 等一輪明月
夢的邊陲 風吹不滅 從不感疲憊
東方無愧 第一是誰 讓我們追求完美
我態度堅決 面朝北 平地一聲雷
東方無愧 第一是誰 讓我們追求完美
我態度堅決 面朝北 平地一聲雷

做好準備 這一回 起跑後絕不撤退
痛快一起努力的感覺
我們擁有同樣的機會
夢想挾帶眼淚 鹹鹹的汗水
你我同個世界 愛從中穿越

夢與希望在飛 我向前去追
有目標就不累 等著我超越

夢想挾帶眼淚 鹹鹹的汗水
你我同個世界 愛從中穿越
夢與希望在飛 我向前去追
有目標就不累 等著我超越

Categories: Music Tags: , ,

cp -Rf still promt for confirmation ?

April 26th, 2008 No comments

I was getting so frustrated when I try to copy and overwrite files in my CentOS linux, it keeps asking for confirmation even I added the -f (force) command.

# cp -Rf * backup/
cp: overwrite ‘index.php?’ y

Then I search around and finally found a solution ! It was an alias preset for the c, which alias -i to ask for confirmation.

#alias
alias cp= ‘cp -i’
alias l.=’ls -d .* –color=tty’
alias ll=’ls -l –color=tty’
alias ls=’ls –color=tty’
alias mv=’mv -i’
alias rm=’rm -i’
…….

Remove the cp alias

#unalias cp

Done, you should be able to cp -f without the confirmation now.

Categories: Linux Tags: ,

WordPress 2.5.1

April 26th, 2008 No comments

WordpressVersion 2.5.1 of WordPress is now available after just about a month of the previous releases of version 2.5. Some of the changes including bug fixes, performance enhancements, and security fix.

Main highlights:

  • Performance improvements for the Dashboard, Write Post, and Edit Comments pages.
  • Better performance for those who have many categories
  • Media Uploader fixes
  • An upgrade to TinyMCE 3.0.7
  • Widget Administration fixes
  • Various usability improvements
  • Layout fixes for IE

Categories: Wordpress Tags: ,

Vsftpd passive mode ports problems with apf firewalls

April 26th, 2008 4 comments

If you have an apf firewall setup on your linux box and running vsftpd as your ftp server. You might have problem when accessing to your ftp server via ftp client. Most of the ftp client transferring data via passive mode which used a big range of ports which usually blocked by your firewall by default. Users will get an error message and wont be able to get the dir listings “LIST”.

Example:

Command: LIST
Error: Transfer channel can’t be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error: Could not retrieve directory listing

There is a way to overcome this matter, first is to define a range of ports will be used for passive mode in vsftpd config file. Secondly, open the defined tcp port in your firewall setting.

1. Create vsftpd passive ports

#vi /etc/vsftpd/vsftpd.conf

Scroll down to the bottom and add the followings lines:

pasv_enable=YES
pasv_max_port=9000
pasv_min_port=9050

pasv_max_port=9000
pasv_min_port=9050

Save the config file and restart vsftpd

#service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]

2. Firewalls rules (APF Firewall)

Open your apf firewall configuration file:

#vi /etc/apf/conf.apf

Add the ports range of 9000 to 9050 into IG_TCP_CPORTS

IG_TCP_CPORTS=”20,21,22,25,26,53,80,110,143,……,9000_9050″

Save it and restart your apf firewall

#apf -r

Now you should be able to access your ftp server in passive mode.

Categories: Linux Tags: , ,

Earthday

April 22nd, 2008 No comments

Google Earthday22nd is the Earthday celebration, there are actually two observances held in spring and autumn in both northern hemisphere and southern hemisphere respectively. The main reason of holding this event is to inspire the public for the awareness of Earth’s environment. Since January 1970, Earthday is celebrated every year around the world on 22nd April. Source: Wiki

If you are aware, Google search engine logo has been changed to Earthday logo to celebrate Earthday today.

Categories: Throx.net Tags: , ,

Free up more ram space, use more swap space with Swappiness

April 18th, 2008 No comments

This tip is useful either for ppl with lots of RAM or less RAM. There is a way to set how your linux control the utilization of RAM and SWAP space called “swappiness”.

There is a range from 0 to 100 in swappiness setting, higher value means the system will move idle memory usage to SWAP file more often. Please note that by setting to “0″ does not men it disabled the SWAP space, this will just make the system write to the SWAP space as little as possible.

To check your current swappiness setting type:

#cat /proc/sys/vm/swappiness
60

You will see 60 by default, you can change it to other value to try out the effect before permanently change it in the configuration file:

#sysctl -w vm.swappiness=10
vm.swappiness = 10

Put a value between 0 to 100 above and then run a some high resources program to try out the different. After you hve found the best setting then you can set it to your server configuration.

#vi /etc/sysctl.conf
add the line: “vm.swappiness=10″ without the quote to the end of the file.

This way your swappiness will be set to 10 after the next reboot.

Categories: Linux Tags: , , ,

Google Talk, Labs Edition

April 17th, 2008 No comments

Google Talk, Labs Edition is another version of google talk with additional features such as group chat, google calendar and Orkut notifications. If you use web googletalk before, you notice it can transform or rotate your smillies to a nice looking one. Previously this feature is not supported in the normal googletalk client, now the labs edition will have this feature included. However, in the Labs Edition, voice chat and file transfer is not included grrrrr.

If you are google calendar users and rely heavily on it for notifications, google talk labs edition is for you. You can customize how it notifies you and even snoop it. Yes, just like how you snoop your morning alarm clock.

Categories: Software Tags: , , , ,

New F1 Store at Formula 1.com

April 16th, 2008 No comments

This official Formula One Online Store has finally got their website redesigned. It looks better now and easier to navigate. This store sells genuine caps, shirts, wallets, DVDs and other accessories such as key rings, writing pad and mousepad.

I personally think that the mouse pad is pretty cool, its made of carbon fibre. But the price of $413.76 is too steep for a mousepad, and due to the sleek and glossy surface its only suitable for a ball mouse.

Undeniably, the finished products are really in high quality and gorgeous. If you are a F1 enthusiast and want to wear exactly the same like F1 team members, cant go wrong with the official products.

Categories: Formula One Tags: , , ,