Wednesday, December 23, 2009

Wapakman New Movie Trailer Video

Wapakman New Movie Trailer Video - Here's a follow-up video to the previous Wapakman Movie Teaser. It's the full trailer for the December 25, 2009 film.

The latest picture from Topel Lee, Wapakman stars real life boxing champ Manny Pacquaio as a normal man who becomes a superhero and must battle - in this trailer alone - a woman with supersonic breasts, a man made of lava and, of course, a giant crab. Goofy? Hell, yes. Fun? You bet.

Wapakman New Movie Trailer Video

Manny Pacquiao Certificate of Candidacy Filed

Manny Pacquiao Certificate of Candidacy Filed

Manny Pacquiao Certificate of Candidacy Filed - Manny Pacquiao stands beside wife Jinky as he shows the certificate of candidacy for congress which he filed at the provincial capitol in Sarangani province, southern Philippines on Tuesday Dec. 1, 2009.

"If he has to run against an opponent, then he'll have to start campaigning for the May 10 election on March 25," Pacquiao promoter Bob Arum told The Los Angeles Times. "If that's the case, then Mayweather would have to be willing to fight March 13."

Pacquiao's opponent for the congressional seat is Roy Chiongbian, son of the former provincial governor and brother of the incumbent legislator for the district, Erwin Chiongbian. The rival's family built its fortune on domestic shipping.

Pacquiao-Mayweather bout set March 13, 2010


For the latest Philippine news stories and videos, visit GMANews.TV

Story Source – GMANews.TV

Pacquiao starts training January for fight vs. Mayweather


For the latest Philippine news stories and videos, visit GMANews.TV

Story Source – GMANews.TV

Arum starts considering Plan B for Pacquiao

With the issue on blood-testing becoming a mess and both sides not budging, promoter Bob Arum of Top Rank is already considering a "Plan B" for Filipino ring icon Manny Pacquiao’s next fight.

Bob Arum
Arum virtually admitted that the Pacquiao-Mayweather megafight is practically off over disagreement with the Mayweather camp’s proposal to get blood samples from the fighters as part of Olympic-style dope-testing for the planned March 13 card.

Asked point-black by boxing site Max Boxing if he thinks Pacquiao-Mayweather will still take place on March 13, Arum said: "No. Because Manny is not going to be subjected to blood testing while he’s in training and they (Mayweather camp) are going to insist on it because they never really wanted to do the fight."

The veteran promoter was reacting to a press statement from Golden Boy Promotions' Richard Schaefer, who is representing Mayweather in the negotiations that had previously gone rather smoothly. The Mayweather camp said the superfight is in jeopardy due to Pacquiao’s supposed refusal to have his blood tested within 30 days of the showdown.

At this point, Arum is already in the lookout for a possible new gig for the pound-for-pound king, although he refused to elaborate.

"Absolutely, but I don’t want to discuss it till I talk to Manny," he said when asked by Max Boxing if he's begun the process of finding another fight."

Prior to formal talks with the Mayweather camp, the Pacquiao group had previously considered the winner of the Jan. 30 duel between welterweight champions Shane Mosley and Daniel Berto, and WBA super welterweight champion Yuri Foreman.

The blood test clause was proposed by Floyd's camp purportedly to "protect" their fighter, as the unbeaten American’s father Floyd Senior has accused Pacquiao of taking performance-enhancing substances in his ascent in weight.


No (Pacquiao-Mayweather will not take place on Mar. 13). Because Manny is not going to be subjected to blood testing while he’s in training and they (Mayweather camp) are going to insist on it because they never really wanted to do the fight.
Promoter Bob Arum
Pacquiao has denied the allegations and actually tested negative for such in his latest fight against Miguel Cotto and all other previous outings.

Team Pacquiao has maintained they are not totally refusing to undergo blood testing but only wants it done outside training proper.

"We’re willing to do all kinds of urine analysis. We’re willing to do blood testing before the press conference (scheduled early January) and after the fight. We’re not willing to do blood testing while he’s in training because he (Pacquiao) claims it weakens him. And one major doctor we’ve talked to says that blood testing is absolutely, totally irrelevant. Totally irrelevant," Arum said.

The two superstars have previously agreed in principle to battle it out on March 13, giving their thumbs up on the purse split, fight weight, and glove sizes - items considered major concerns.

But the blood testing clause now derailed the talks, a move that Team Pacquiao considers Mayweather’s psy-war tactics and possible way out of the much-anticipated fight.

"Of course they are (playing mind games). And they can go screw themselves!. I don’t care if this fight doesn’t happen." an irate Arum said. - GMANews.TV

Story Source – GMANews.TV

Boxing buzz: Mayweather dumps Pacquiao

A close aid of seven-division world champion Manny Pacquiao said that the camp of Floyd Mayweather Jr. had allegedly pulled out of their scheduled March 13 mega-fight.

This was according to Michael Koncz, Pacquiao's Canadian adviser and liaison officer to Top Rank promoter Bob Arum.

Koncz, in a breaking news by Sports Saksi Chino Trinidad, said that he just talked to Arum who already floated the names of WBA super welterweight king Yuri Foreman and former world champion Paul Malignaggi as Pacquiao’s next opponent in March 13.

This could be taken as a confirmation that the Mayweather camp had already withdrawn from the deal.



For the latest Philippine news stories and videos, visit GMANews.TV
Foreman, an aspiring rabbi, defeated Daniel Santos via unanimous decision in the undercard of Pacquiao's blockbuster fight with Miguel Cotto.

Mayweather's demand for Pacquiao to undergo blood testing, in order to look for traces of performance-enhancing substances, is the alleged reason that the proposed mega-fight between both fighters would no longer push through.

Mayweather’s camp is demanding Pacquiao to undergo drug testing where blood samples would be taken from the Filipino ring icon two days before their scheduled March 13 bout.

Pacquiao, however, declined to give in to their demand saying that he is not hiding something and he believes that he has done nothing wrong.

Pacquiao said his performance inside the ring would be affected if blood is taken out from him two days before the fight.

Story Source – GMANews.TV

Pacquiao-Mayweather fight in jeopardy

(Update) LAS VEGAS — The proposed megafight between Manny Pacquiao and Floyd Mayweather Jr. was thrown into jeopardy Tuesday with a demand by Mayweather's camp that both fighters be subjected to Olympic-type drug testing in the weeks leading up to the bout.

Mayweather's manager said the fight would not go on if Pacquiao didn't agree to blood testing under standards followed by the United States Anti-Doping Agency.

"There is no fight without Olympic-style random drug testing," Leonard Ellerbe said.

Mayweather's camp claims it was told Pacquiao would not agree to have his blood tested within 30 days of the fight because of personal superstitions. But Pacquiao's trainer, Freddie Roach, said he could live with some testing, as long as it wasn't too close to the fight and wasn't overly intrusive.

"I will not let my fighter take a blood test the day before a fight," Roach said. "If they give me a five-day window or something like that I have no problem with it."

Roach said he hoped the issue wasn't brought up as a way to get Mayweather out of the fight.

"He's looking for a back door out," Roach said. "We're eager to fight."

The fight, which promises to be the richest ever, had widely been expected to be formalized this week, with an official announcement Jan. 6. It was expected to be held at the MGM Grand hotel, with the biggest live gate ever.

But neither fighter has signed formal contracts and there have been disputes between representatives of the two fighters ever since Mayweather's promoter pulled out at the last minute of a trip to Texas, where Dallas Cowboys owner Jerry Jones was to make a proposal to host the bout.

I will not let my fighter take a blood test the day before a fight. If they give me a five-day window or something like that I have no problem with it.
– Trainer Freddie Roach

But Mayweather's promoter, Richard Schaefer, said all other issues have been agreed upon.

"The good news is we have agreed on all the other points," Schaefer said. "Depending on what MannyPacquiao decides to do we either have a fight or we don't have a fight."

Schaefer said he is still hopeful of the fight happening, based on the fact Pacquiao himself has not publicly said he would not accept blood testing.

"I am still hopeful because I really believe this decision didn't come from Manny Pacquiao, it came from somebody else," Schaefer said. "It's up to Manny Pacquiao to prove me right or wrong."

Pacquiao has never failed a post-fight urine test in Nevada, including his last fight when he stopped Miguel Cotto. Mayweather also has passed urine tests in the state after his fights.

Fighters, though, are not routinely tested before bouts for performance-enhancing drugs, and there are no blood tests done for those drugs.

Mayweather's father, Floyd Sr., said after the Cotto fight that he suspected Pacquiao was using performance-enhancing drugs to move up and win titles in so many weight classes. Ellerbe did not make that claim, but said that for a fight of such magnitude fans deserve to be confident neither fighter is cheating.

"If it's good enough for LeBron James, Kobe Bryant, Michael Phelps and Lance Armstrong why isn't it good enough for MannyPacquiao?" Ellerbe asked. "The fans and sports deserve a level playing field."

Travis Tygart, executive director of the USADA, said he had talked to representatives of both fighters about providing testing. Tygart said he welcomed the request as he would for any sport that does not have stringent Olympic-type testing.

"I think every sport that wants to have clean athletes it's a sign of a step forward to have out of competition testing," Tygart said. "It's an essential thing to do if you want to protect the integrity of the sport. Clean athletes want a level playing field."

Tygart noted Olympic athletes are tested often and without notice. He said less than a teaspoon of blood is removed out of an average of 380 teaspoons in the normal human and that it regenerates within an hour of being withdrawn.

Blood tests, he said, can find things urine tests can't, like the use of human growth hormone, synthetic hemoglobin or blood transfusions, all of which "certainly would aid in an endurance-type event."

Ellerbe said he couldn't imagine why Pacquiao wouldn't agree, especially considering both fighters would likely make more than $25 million for the bout.

"Only Manny Pacquiao can answer that question," Ellerbe said. "The ball is in his court." - AP


Story Source – GMANews.TV

Sunday, November 8, 2009

Apache-error: (98)Address already in use: make_sock: could not bind to address 80

***********************************

# /etc/init.d/httpd restart

Stopping httpd: [ OK ]

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

***********************************

Solution:

Comment out listen 80 in your /etc/httpd/conf/httpd.conf or /ect/apache2/ports.conf, it depends on your linux distro. try to use "locate" command.

example:

#Listen 80

IfModule mod_ssl.c
Listen 443
IfModule

Kill process in Linux or terminate a process in UNIX or Linux systems

Q. How do I kill process in Linux?

A. Linux and all other UNIX like oses comes with kill command. The command kill sends the specified signal (such as kill process) to the specified process or process group. If no signal is specified, the TERM signal is sent.

Kill process using kill command under Linux/UNIX

kill command works under both Linux and UNIX/BSD like operating systems.

Step #1: First, you need to find out process PID (process id)

Use ps command or pidof command to find out process ID (PID). Syntax:
ps aux | grep processname
pidof processname



For example if process name is lighttpd, you can use any one of the following command to obtain process ID:
# ps aux | grep lighttpd

Output:

lighttpd 3486 0.0 0.1 4248 1432 ? S Jul31 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
lighttpd 3492 0.0 0.5 13752 3936 ? Ss Jul31 0:00 /usr/bin/php5-cg



OR use pidof command which is use to find the process ID of a running program:

# pidof lighttpd

Output:

3486

Step #2: kill process using PID (process id)


Above command tell you PID (3486) of lighttpd process. Now kill process using this PID:

# kill 3486

OR

# kill -9 3486

Where,

killall command examples

DO NOT USE killall command on UNIX system (Linux only command). You can also use killall command. The killall command kill processes by name (no need to find PID):

# killall -9 lighttpd

Kill Firefox process:

# killall -9 firefox-bin

As I said earlier killall on UNIX system does something else. It kills all process and not just specific process. Do not use killall on UNIX system (use kill -9).

* -9 is special Kill signal, which will kill the process.



Source

Show All Running Processes in Linux

How do I see all running process in Linux?

You need to use the ps command. It provide information about the currently running processes, including their process identification numbers (PIDs). Both Linux and UNIX support ps command to display information about all running process. ps command gives a snapshot of the current processes. If you want a repetitive update of this status, use top command.
Task: Use ps command

Type the following ps command to display all running process

# ps aux | less


Where,

* -A: select all processes
* a: select all processes on a terminal, including those of other users
* x: select processes without controlling ttys

Task: see every process on the system


# ps -A
# ps -e


Task: See every process except those running as root

# ps -U root -u root -N


Task: See process run by user vivek

# ps -u vivek


Task: Use top command

The top program provides a dynamic real-time view of a running system. Type the top at command prompt:

# top


Output:




To quit press q, for help press h.

Task: display a tree of processes
pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted. If a user name is specified, all process trees rooted at processes owned by that user are shown.

$ pstree



Output:


Task: Print a process tree using ps


# ps -ejH
# ps axjf


Task: Get info about threads

# ps -eLf
# ps axms


Task: Get security info

# ps -eo euser,ruser,suser,fuser,f,comm,label
# ps axZ
# ps -eM


Task: Save Process Snapshot to a file

# top -b -n1 > /tmp/process.log


Or you can email it to yourself:

# top -b -n1 | mail -s 'Process snapshot' you@example.com






Task: Lookup process
Use pgrep command. pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria to screen. For example display firefox process id:


$ pgrep firefox


Following command will list the process called sshd which is owned by root user.

$ pgrep -u root sshd


Say hello to htop

htop is interactive process viewer just like top, but allows to scroll the list vertically and horizontally to see all processes and their full command lines. Tasks related to processes (killing, renicing) can be done without entering their PIDs. To install htop type command:

# apt-get install htop


or

# yum install htop


Now type htop to run the command:

# htop




(click to enlarge)

Monday, October 26, 2009

Limit the number of selected checkboxes in javascript

If you have multiple checkboxes:

Html Code




Mac OS X
Linux
Windows





You can get the count using this:

JavaScript Code:



var cnt=0

function check(obj,maxs){
if(obj.checked){
cnt=cnt+1
}else{
cnt=cnt-1
}

if (cnt>maxs){
obj.checked=false
cnt=cnt-1
alert('Can only select up to '+maxs)
}
}

Limit the number of selected checkboxes in javascript

Html Code


Mac OS X
Linux
Windows




JavaScript Code:

Change Ubuntu Server from DHCP to a Static IP Address

If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it.

Changing this setting without a GUI will require some text editing, but that’s classic linux, right?

Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor

sudo vi /etc/network/interfaces

For the primary interface, which is usually eth0, you will see these lines:

auto eth0
iface eth0 inet dhcp


As you can see, it’s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should be added below it. Obviously you’d customize this to your network.

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1


Now we’ll need to add in the DNS settings by editing the resolv.conf file:

sudo vi /etc/resolv.conf

On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your name server. (You can do ifconfig /all to find out what they are)

You need to also remove the dhcp client for this to stick (thanks to Peter for noticing). You might need to remove dhcp-client3 instead.

sudo apt-get remove dhcp-client

Now we’ll just need to restart the networking components:

sudo /etc/init.d/networking restart

Ping www.google.com. If you get a response, name resolution is working(unless of course if google is in your hosts file).

Source

Friday, October 23, 2009

Ubuntu 8.04 (Hardy Heron) LAMP Server Setup

Please visit this link for the full documentation:

http://www.scribd.com/doc/21499447/Installing-Ubuntu-8?secret_password=14l3jve0xyocuoimryor

Class does not support aggregation in SQL Server Studio

TITLE: Microsoft SQL Server Management Studio
------------------------------

Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOAGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration)

------------------------------

Solution:

Remove Workstation componenents, then do a repair on Net Framework 2.0 then Re-Install workstation components.

Steps to Remove Workstation componenents and repair the .NET Framework installation

1. Click Start, click Control Panel, select Add or Remove Programs:
Find Microsoft SQL Server 2005 and click remove.
On the window check Workstation Components, click Next..etc
(Don't worry it wont delete the whole installation only this component)

2. Before repairing .Net Framework 2.3,You must 1st obtain the original installation source. For example, if you installed the .NET Framework from a CD-ROM or from a DVD, insert that disc. If you downloaded the .NET Framework , download the .NET Framework again. Make sure that you click save to disk. If you installed the .NET Framework from a network share, reconnect to that share.

3. Back to Add or Remove Programs select Microsoft .Net Framework 2.0
and click change/remove button, and select repair.

The Microsoft Windows Installer will verify and repair the .NET Framework installation.

4. Reinstall Workstation Components by obtaining the original installation source. You can select all available components or just the Workstation Components in the installation process.

Saturday, January 31, 2009

How to calculate time differenece in rails

Digg on this link...

http://railsruby.blogspot.com/2006/07/calculating-time-difference.html

Friday, January 30, 2009

mysql.rb driver has been removed from Rails 2.2 ??

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/36bd945212418ff

Weng Edgar wrote:
> you can go to http://www.tmtm.org/en/ruby/mysql/ to download the tar
> file, and run the command below

> # ruby ./install.rb

> to install the mysql.rb

Monday, January 26, 2009

ruby.exe - Unable to locate Component This application has failed to start because LIBMYSQL.DLL was not found. Re-installing the application might fix

Posted by Rails Terrorist (malioboro)
on 23.04.2008 04:46

[1] gem install mysql
[2] you will see like error syntac but dont pay attention to it
[3] find LIBMYSQL.DLL from your mysql/bin folder in your mysql folder
not ruby folder.
[4] copy & paste that file to ruby/bin
[5] restart your server or console, if you are already run it.

Friday, January 16, 2009

No such file or directory - /tmp/mysql.sock

visit this link...

http://dev.rubyonrails.org/ticket/200