The Avengers Parody

I couldn’t stop laughing when I saw this, this is really epic more like funny to the bone.You’ll only understand the joke when you watch the real trailer of The Avengers and when you see the parody version. So I took the liberty of adding both videos here, so you could view it and get to know that people do crazy things but this is by far the most done.It’s a good concept, I don’t see myself spending so much in making a video when I can actually use cartons and action figures in doing what i want the most.Saves you the trouble of using graphic or getting a graphics designer to do all that…Here are the videos hope they make you laugh the way It did me.Although I wonder how come this didn’t get enough views as much as their first video of another trailer of The Avengers.

The Parody Version.

The Avengers Trailer

Posted in Comedy, Movies | Tagged , , | Leave a comment

The Avengers

The Avengers Movie 2012This is by far the most advertise movie I have seen so far this year.Everywhere you go, it’s all about the Avengers.I get it, the cartoon is also very Popular.Earth’s Mightiest Heroes to say, but I would have preferred if they had Ant-man, would be much better, maybe the cost of having him in an actual real movie would make the entire 3D graphics thing complicated.Anyway seems people at the Marvel Studio had everything planned out from the get-go.Making 2 Hulk movies, 2 Iron-man movies, Thor, Captain America, just to bring us to this final battle between Good vs. Evil.This is going to be epic.I have watched a lot of Trailers from Youtube and I couldn’t get enough of it, so I started watching People who made their own videos of the new Avengers Movie, and seriously you’ll find so many nice clips out there but this is actually my favorite “The Avengers Parody”.Ok back to the review, well you know this feeling you always get when something is over-rated, well that how they said for the Terminator 4 and it ended up to be one useless movie to me actually…Anyway I hope for the best in the movie because to everything I know about the Marvel series, this whole thing centers around Iron-Man just like how the Justice League Centers around Bat-Man.In all, I can’t wait to watch this movie, it has this End-of-The-World theme song and destructive scenes that what the fans want, so lets have that.

Posted in Movies | Tagged , , , , , , , , | Leave a comment

Act of Valor

Act of Valor 2012Call of Duty is over rated,This is the real stuff.When I watched this movie, all I could think of was Call of Duty.Seriously this should have been called Call of Duty, instead of “Act of Valor”, because from all I noticed during the movie, it’s all about some group of elite Navy Seal commandos who are sent on a dangerous mission to recover a C.I.A operative who has been captured.On rescuing her, they discover that the man behind her capture, is in fact in liaison with a terrorist group responsible for killing over 30 kids in a bombing in the Philippines.So the US Government in it’s effort to curb Terrorist groups sends in the Elite Valor team and their entire mission lead them to a cartel in Mexico that is actually abating the known terrorist group. In the end, the Seals saves the day but at the cost of their team.The movie has a nice story line, good for those Gamer fans or lovers.Although it could have done better if they chose a proper name rather than “Act of Valor” – makes it sounds lame.In all it’s a good movie, watched it and it’s OK not one of my best movies this year but it somehow made the list.

Posted in Movies | Tagged , , , | Leave a comment

John Carter

John Carter Movie 2012Looking at Disney’s movies I think they have a thing or two going on for themselves.The movie scene of John Carter and storyline has a good plot, but there’s a mystery behind it.For all I know about the movie, John carter gets transported into Mars via a mystical medallion that has been kept on Earth for a very long time. The creator of the medallion or probably the being(The Villain) that wants to keep the medallion to himself to either control or create a sort balance in the universe bent by his own will wants it from John Carter.Once John carter was in mars, he feel in love with the princess of mars, having two sides between the human-like martians and the alien-like martians of which both sides are having clashes in order to gain power.In the end John carter was transported back to earth of which he wanted to go back to mar but without the medallion that was impossible, but he did realized that he was being watched by the Evil guy who actually sent him back to Earth.So he created a Plot to foil his plans and at the end he supposedly went back to Mars.Good storyline, nice fight scene but I think it would have done better if we had a little more info on how the Life even existed on Mars in the first place because as far as reality is concern, we haven’t seen anything on Mars yet.

Posted in Movies | Tagged , , , | Leave a comment

‘He’s a normal guy,’ says neighbour of US sniper accused of Afghan killings

Powered by Guardian.co.ukThis article titled “‘He’s a normal guy,’ says neighbour of US sniper accused of Afghan killings” was written by Peter Beaumont, for The Observer on Sunday 18th March 2012 00.25 UTC

The home of Robert Bales, the US soldier accused of killing 16 Afghan civilians, in Lake Tapps, Washington, stood empty last night.

The family of the 38-year-old sergeant, who has plunged US policy in Afghanistan into one of its worst crises, has been moved to Lewis-McChord army base where Bales’s unit, the 3rd Stryker Brigade, has its headquarters. Now his house is up for sale.

The first journalists from a Fox news affiliate – the network that revealed his name after a six-day blackout imposed by the Pentagon – found neighbours surprised and baffled by the revelation that the man they knew as Bob was accused of massacring women and children during a murderous rampage through a village in Afghanistan’s Panjwai district.

“Bob’s a normal guy,” former neighbour Paul Wohlberg told Fox. “Not normal now but, yeah …” Another neighbour, Kassie Holland, told US media: “He always had a great attitude about being in the service. He seemed just like, yeah, it’s my job, it’s … what I do.”

The picture of Bales that is emerging is a long way from the man who spoke to the Northwest Guardian three years ago after the battle of Zarqa in Iraq, when he insisted that what differentiated soldiers like him from those they were fighting was the ability to distinguish between combatants and civilians. “I’ve never been more proud to be a part of this unit than that day,” Bales said in that article. “We discriminated between the bad guys and the non-combatants, and then afterwards we ended up helping the people who three or four hours before were trying to kill us.

“I think that’s the real difference between being an American as opposed to being a bad guy, someone who puts his family in harm’s way like that.” If there was any hint that Bales was suffering problems, it was not picked up. He had been charged with assault in 2002 and asked to attend an anger management course, while in 2008 he is reported to have fled the scene of a car crash.

And in the end, and by his own criteria, it appears that Bales became one of the bad guys, reportedly leaving Camp Belambay near Kandahar at 3am last weekend, wearing night-vision goggles, to enter three houses in two villages whose occupants he allegedly slaughtered. The question that will be asked now is what happened, not least because Bales is reported to have undergone mental health screening five years ago before being assigned to sniper training.

The revelation of Bales’s name, details about his career and family life emerged as he was flown back to the US to a military prison in Fort Leavenworth, Kansas, His lawyer confirmed that Bales might face the death penalty if convicted of the murders.

Bales is a highly decorated soldier and trained sniper who had served four tours in Iraq and Afghanistan. The killing spree he is alleged to have undertaken has plunged relations between the US and Hamid Karzai, the Afghan president, to a new low.

What precisely happened to the “good, fun guy” – as Bales’s neighbours described him – will be the focus of his defence amid suggestions both from officials and his own lawyer, John Henry Browne, that they would suggest that post traumatic stress disorder may have been a contributory factor.

Bales, who volunteered for the army two months after the 9/11 attacks, lost part of a foot and reportedly suffered a traumatic brain injury during his three tours in Iraq and had seen a colleague lose a leg in Afghanistan just before the rampage in Panjwai.

Bales was first deployed in Iraq in November 2003 when his unit spent a year in Mosul. In June 2006 he was deployed in Baghdad and then in Baquba, one of the most dangerous places in the country. His final Iraq deployment was from September 2009 to September 2010 in Diyala province.

Browne has also said that he had been reluctant to go on a fourth combat tour before being deployed to the operations in Afghanistan. “I am confused why they would send him to Afghanistan,” Browne said. “There was no ‘maybe he shouldn’t go’ discussion.”

Indeed after his return from Iraq his wife, Karilyn, had written a blog in which she said that she hoped he would be able to have some choice of where the family moved next. They were getting ready to move in the summer of 2011 and hoped that the army would allow them some say over where they went. Germany, Italy, Hawaii – Kentucky to “be near Bob’s family” – or Georgia “to be a sniper teacher”. Instead he was deployed to Afghanistan.

The killings in Afghanistan have come amid escalating concern over an epidemic of suicides and PTSD among US military veterans of the decade-long wars in Iraq and Afghanistan.

Last Wednesday another Iraq veteran, Abel Gutierrez, killed himself after murdering his 11-year old sister and his mother after police said “he just snapped” having suffered nightmares and periods of aggression since his return to the US.

Of particular concern is the increased risk of PTSD in soldiers who are deployed on multiple occasions. PTSD is known to be “dose dependent” – the risk of suffering from it increases after more exposure to its triggers.

Indeed, according to a recent study by the US Armed Forces Health Surveillance Centre in Silver Spring, Maryland, PTSD during a third deployment is double the rate, among male members of the armed forces, than that found after a single combat deployment. While its incidence appears to decline in fourth deployments, that is only because of the significant dropout after three tours of those already diagnosed with problems.

During the period of the study of members of the military who returned from Iraq or Afghanistan between 1 October 2001 and 31 December 2010, 42% of men were deployed twice, 13% deployed three times, almost 4% deployed four times and just over 1% deployed five times.

guardian.co.uk © Guardian News & Media Limited 2010

Published via the Guardian News Feed plugin for WordPress.

Posted in News | Tagged , , , , , , , , | Leave a comment

How to make your website mobile compactible

Mobile WebsiteThis is one of the features I used to detect if a browser is a mobile device and redirect them to my custom mobile website. First of all do not rely on JavaScript as per some browsers on mobile devices might not have JavaScript turned on or maybe JavaScript might not be operative on that device. Although Now-a-days mobile devices support JavaScript still for security purposes most users disable JavaScript on mobile device.To work around this, one of the most effective and easiest scripting to use will be PHP.

For this to work, your Server must be PHP enabled, if PHP is not operative on your Server then, this will just be a dead end. The Second thing you should do, is design a mobile website. This can be easily done if you can convert and miniaturize all your content that you previously had on your Desktop version of the website.Once that is complete you can place the give code below, in the head section or any preferred place you wish it to be, but it should be before the body, so the users can be redirected to the appropriate mobile site.

$useragent=$_SERVER[‘HTTP_USER_AGENT’];
if(preg_match(‘/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i’,$useragent)||preg_match(‘/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i’,substr($useragent,0,4)))
header(‘Location: http://mobile.yourweb.com’);

As you can see from the above code, we’re looking for the User Agent, and with the above script, it can detect a device based on it’s browser’s type and redirect them to the mobile version of your webpage. the point marked “header(‘Location: weblink’); ” Change to your own mobile webpage link.Once complete, your website would be able to detect and execute where users of your site will be redirected if using a mobile device to browser to access your website.

Posted in Mobile Phones, Programming, Tutorial | Tagged , | Leave a comment

How to Create a Custom Error Page on your website

This is a very common thing to do, but most people find it difficult to actually achieve.This is because probably you’ve not been pushed in the right direction or maybe you haven’t thoroughly gotten the hang of it.Designing on the web should be fun not stressful.So to make it more easier especially for newbies, it’s best things are explained in the simplest manner.

If you’re running a LAMP server of basically just a Linux server/Apache server/Parallel server, it should come with a control access for you to be able to write out some scripting codes that can actually run some functions on the server. Normally each server has it’s own default error documents which pops up once an error is committed.

Such as a 404 Error popping out when you type an incorrect URL on your browser. E.g www.yourweb.com/control → Correct, but instead you type: www.yourweb.com/conrtol → wrong. These are some of the mistakes that can pop up an error document. To effectively use the code below, make sure that the size exceeds more than 512bytes, because on IE, if the size of the .htaccess file doesn’t exceed that amount of bytes above, IE will show it’s own error document instead of your custom error pages.


###################################
      ##
      ## HTACCESS CONTROL MODULE
      ## USED TO REDIRECT/DYNAMICALLY
      ## CONTROL URL's ON A WEBSITE
      ## ADD AS MUCH COMMENT HERE TO
      ## MAKE THIS FILE LARGER THAN 512BYTE
      ###################################
       Options +FollowSymlinks
       RewriteEngine on
       RewriteRule ^(.*)\.htm$ $1.php [NC]
       # custom error documents

       ErrorDocument 404 /404.php
       ErrorDocument 403 /403.php
       ErrorDocument 500 /500.php

Remember to save your file name as “.htaccess” and upload to your server.place the .htaccess together with the custom Error documents that you’ve designed to suite your need in the same root folder or If it’s not in the same root folder, you can specify it by adding the link in the .htaccess file appropriately. E.g


 # see how i've added a directory to the error document
     ErrorDocument 404 /errorpage/404.php
       ErrorDocument 403 /errorpage/403.php
       ErrorDocument 500 /errorpage/500.php

The Error documents that should be created, depends solely on the number of error document you want your users to see once an error occurs.

Example: Error documents can be created with any extension, in this case, am using (dot*PHP) extension as you can see in the example above. Doing this will eventually pop out your very own custom error page once an error is encounter on your Server.

Posted in Programming, Tutorial | Tagged , , , | 1 Comment