Kill a task and exit command line window

Submitted by Anonymous (not verified) on Fri, 12/03/2010 - 00:02

I need a function sometimes: kill a process with cmd, also windows command line (black dos window). I have found a solution:

tskill PROCESSNAME & exit

You can do it with && instead of &. Double & means ignore errors from first command and run second command even if first command was not succesfull.

To open command line window click start>>run or use WindowsKey+r.

Websites offering Alexa Toolbar and manipulation

Submitted by Anonymous (not verified) on Tue, 11/30/2010 - 19:13

Sometimes I see a non-real difference on Alexa between websites. Some of websites advertising for MSIE Alexa Toolbar or Sparky for free. They want get a better place on Alexa ranking using own visitors traffic combined with Alexa Toolbar. Is this legal?

On the other side there a websites with huge traffic, but they get a bad rang because their visitors not using Alexa.

Install Curl on PHP5 Webmin + Debian

Submitted by Anonymous (not verified) on Tue, 11/02/2010 - 20:39

I wrote a script for Twitter with Oauth. After running it I got this error:

Fatal error: Call to undefined function curl_init() in /var/public_html/www

Because Curl wasnt install and couldnt find in php.ini file or in webmin navigation functions.

I wanted to install curl for Apache+PHP on my Linux dedicated server with Debian+Webmin.

This code helped me to install curl:

apt-get clean && apt-get update && apt-get install php5-curl

Multiple Virtual Hosts on Localhost of Apache / WAMP

Submitted by Anonymous (not verified) on Sun, 10/24/2010 - 13:58

You want to test multiple domains/sites on your local computer. Each site need to run on root level without urls without subdirectory. You have to create multiple vhosts. For each virtual host creata an entry in windows host file: hosts
Run a text editor as administrator to have right to make changes under windows.

C:\Windows\System32\drivers\etc\hosts :

127.0.0.1       www.mysite1.example
127.0.0.1       www.example.ku

httpd.conf :

NameVirtualHost 127.0.0.1