Wednesday, August 20, 2008

how to print routing table in macosx

$ sudo netstat -rn

Sunday, August 17, 2008

Internet Explorer does not read my "hosts" file


If you experience this problem, you should try to restart Windows!

how to burn cd image in mac os x

  1. Insert a blank disc.
  2. Start Disk Utility.
  3. From the File menu, choose Open Disk Image and select the ISO to be burned.
  4. In the list of volumes, you will now see an item representing the ISO file. Select it.
  5. Click the Burn button and follow the instructions.

Monday, August 11, 2008

.app downloaded from torrent site does not work in MacOSX


Sometimes you might encounter a problem that you double click .app file in your MacOSX and nothing happens.  Mostly, the .app you download from a torrent site.  Those torrent files sometimes don't have proper file permissions.

Try this:

# cd ActiveState\ License\ Installer\ \[Intel\].app/Contents/MacOS
# chmod +x License

Related Resources:
http://www.demonoid.com/files/details/1529559/6976998/

Sunday, August 10, 2008

house music by dj caffeine

Try it!


this music playlist contains purely music from dj caffeine!

features:
  • Fuck On Cocaine
  • On The Floor
  • Give It To Me Harder
  • ...

Ignore Files and Directories in Subversion

svn propedit svn:ignore ./some_path

It will pop up a text editor for you to enter a list of files or directories you want to tell Subversion to ignore. An example of the list is:
  • *.class
  • access.log
note that the propedit can apply only on directory but not file

Friday, August 8, 2008

software for macosx

If you own a mac, you should try:


There are tons of software for MacOSX.

Download at your own risk!

Wednesday, August 6, 2008

Friday, August 1, 2008

Advanced Bash-Scripting Guide

Advanced Bash-Scripting Guide

by

Mendel Cooper

This is a must! For those who are coming to the *N*X world!

You should know how to write advanced BASH Script!!! No Excuse!

http://tldp.org/LDP/abs/html/

Thanks to The Linux Documentation Project

Apache user in Ubuntu Linux

Apache user (or web user) in Ubuntu Linux is: www-data

Normally, for any system, you can know which user is by:

$ ps aux | grep apache

root 5721 0.0 0.1 23324 1528 ? Ss Aug01 0:00 /usr/sbin/apache2 -k start
www-data 5798 0.0 0.0 23324 444 ? S Aug01 0:00 /usr/sbin/apache2 -k start
www-data 5799 0.0 0.0 23324 444 ? S Aug01 0:00 /usr/sbin/apache2 -k start
www-data 5800 0.0 0.0 23324 444 ? S Aug01 0:00 /usr/sbin/apache2 -k start
www-data 5801 0.0 0.0 23324 444 ? S Aug01 0:00 /usr/sbin/apache2 -k start
www-data 5802 0.0 0.0 23324 444 ? S Aug01 0:00 /usr/sbin/apache2 -k start
unsigned_nerd 15968 0.0 0.0 3008 776 pts/1 R+ 01:37 0:00 grep apache

You see? It is "www-data" in Ubuntu Linux...

What is it in your system?