How to counter the new dota hero Tresdin the legion commander

Here is the ability, item and counter guide for new dota hero tresdin the legion commander

Before there were computers

 

  1. A memory was something that u lost with age.
  2. An application was for employment....

Garena Hostbot 4.0 Commands for Warcraft III DoTA

Some common commands in Garena Host bot are

!ping
!checkme
!stats
!statsdota
!sd
!version
!votekick
!yes
!countbans

However there are more. Please read full post.

latency of the NTCs ADSL gateway from my home so high often request times out.

Why on earth is the latency of the  NTC's ADSL gateway from my home so high? Khatey NTC. I think over subscription is the reason behind this. http://dl.dropbox.com/u/28646207/ping.txt

Without Steve Jobs and without Dennis Ritchie

Without Steve Jobs (February 24, 1955 – October 5, 2011) we would have:
No iProducts
No over expensive laptops

Without Dennis Ritchie (September 9, 1941 – October 12, 2011) we would have:
No Windows
No Unix
No C
No Programs
A large setback in computing
No Generic-text Languages.
We would all read in Binary..

The World According To Monsanto - FULL LENGTH

US is trying to control the Nepal's food production through GMO (Genetically modified food and crops)...MUST READ!

Online check out in real life!

Online check out in real life!

Angry Birds on Blackberry

How would angry bird look like if the blackberry had one?

jQuery - How can scroll UP/DOWN be distinguished??

How can UP/DOWN scroll be distinguished in jQuery?

Shake it off and take a step up

One day a farmer's donkey fell down into a well. The animal cried piteously for hours as the farmer tried to figure out what to do. Finally, he decided the animal was old, and the well needed to be covered up anyway; it just wasn't worth it to retrieve the donkey.

Human body in HTML and PHP

See how powerful PHP and HTML has become.

Look at the picture carefully. Girls getting ready, doing make ups.

Look at the picture carefully. Girls getting ready, doing make ups. Can u find something unusual?

Types of asses. Which one is yours?

Types of asses and symbols representing them ;D

Tiny tits School

Tiny tits School.

iPad vs. Maxipad

Haha Maxipad wins against iPad

Alter the JS paths included in theme.info through template.php

To alter the path of a js file included in .info  in some special cases

like if you want a separate main script file on ur site for some special browsers like iphone or mobiles.

do the following in your template.php

Remove unnecessary css from drupal website

To remove unwanted-style.css from current website do the following in your template.php

function MYTHEME_css_alter(&$css){

         unset($css['sites/all/themes/MYTHEME/css/unwanted-style.css']);
   
}

Detect an iPad or an iPhone in PHP - HTTP_USER_AGENT

To detect an iPad or an iPhone in PHP use following function

function is_ipad_or_iphone(){
    if((preg_match("/iPad/",$_SERVER['HTTP_USER_AGENT']) or preg_match("/iPhone/",$_SERVER['HTTP_USER_AGENT'])) and preg_match("/Mobile/",$_SERVER['HTTP_USER_AGENT']))
        return true;
    else
        return false;
}

Drupal - Node reference field returned for interface language rather than node language

We have node reference field  "service type" on "service gallery" type content.

Node reference field's select list depends on which language u are in. Eg. If you are in fr language the list will have french service types and if the content u r editing is in english you will be connecting the english service gallery content to a french service type content.
 So you need to be in english language to edit the english content so that the list will show english service types.

Ranjana Lipi tutor

Our Server is currently facing technical problem. We will be running soon!

Funny image - Save Energy

Save Energy, How would you like it if someone turns you on and  left you there? :P

Dom PDF - Images dont get displayed

I came through this very funny case while i was developing a site which uses DOMPDF to generate PDF from html.

The problem was I was not getting the images in the PDF generated.

I had url_fopen ON on server.

I had tried all relative and absolute paths for the image.

Everything I could imagine.

Drupal 7 – Handling file uploads - allowed file extensions

While working with custom forms with file upload fields in drupal, you may sometimes get a error regarding extensions:

The specified file “your file name here” could not be uploaded. Only files with the following extensions are allowed: “jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp”

To allow all extensions, you have to manually set the ‘file_validate_extensions’ validator to an empty array.

Drupal – Force Path Prefix for Default Language

When you have more than one language on Drupal site, you have to define the default language among one of them. For example, if i set English as the default language, it will be shown in both http://<domain_name> and http://<domain_name>/en. but all the links in the default language will not have the en path prefix.