official mobile emulators and simulators
from here
5:04 AM
eslam
5:55 AM
12:13 AM
eslam
12:08 AM
eslam
3:12 AM
<link rel="stylesheet" type="text/css" href="cssfile.css" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
body{margin:0;3:09 AM
eslam
3:05 AM
eslam
2:58 AM
eslam
12:39 PM
1:38 PM
background:transparent url(img/simplebg.jpg) no-repeat;
background-size: 100%;
12:41 PM
eslam
6:27 AM
6:22 AM
1:58 PM
eslam
1:21 AM
eslam
1:05 PM
eslam
12:05 PM
.transparent_div{
filter:alpha(opacity=60);
-moz-opacity:.60;
opacity:.60;
}
12:02 PM
$('document').ready(function(){
// your code here
});
eslam
6:52 AM
eslam
4:58 AM
eslam
5:10 AM
1:55 AM

<div style="background-color:#000000"> hi i am here </div>
1:33 AM
eslam
12:57 PM
eslam
2:31 AM
<?php
    $file = "YOUR_FILE.swf";
    $info = getimagesize($file);
    $width = $info[0];
    $height = $info[1];
    print "{$width}x{$height}\n";
?>
3:36 PM
eslam
4:36 AM
function rss_post_thumbnail($content) {
global $post;
$image = get_post_meta($post->ID, 'image', true);
if(!empty($image)){
    $imgCode = '<img src="'.$image.'" border="0"  />';    
}else{
    $imgCode = get_the_post_thumbnail($post->ID);
}
$content = '<p>' . $imgCode .
'</p>' . get_the_content();
return $content;
}
add_filter('the_excerpt_rss', 'rss_post_thumbnail');
add_filter('the_content_feed', 'rss_post_thumbnail');
2:53 AM
<?php
  // show the correct header for the image type
  header("Content-type: image/jpg");
  // an email address in a string
  $string = "email@example.com";
  // some variables to set
  $font  = 4;
  $width  = ImageFontWidth($font) * strlen($string);
  $height = ImageFontHeight($font);
  // lets begin by creating an image
  $im = @imagecreatetruecolor ($width,$height);
  //white background
  $background_color = imagecolorallocate ($im, 255, 255, 255);
  //black text
  $text_color = imagecolorallocate ($im, 0, 0, 0);
  // put it all together
  imagestring ($im, $font, 0, 0,  $string, $text_color);
  // and display
  imagejpeg ($im);?>
1:28 AM
<?xml version="1.0" encoding="UTF-8">
<!DOCTYPE html  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <script type="text/javascript" src="/path/to/gordon.js"></script>
  </head>
  <body>
    <div id="your_stage">Replace me</div>
    <script type="text/javascript">
      var movie = new Gordon.Movie("/path/to/your.swf", {id: "your_stage", width: 480, height: 320});
    </script>
  </body>
</html>eslam
12:13 AM
eslam
2:04 PM
12:00 PM
eslam
11:42 AM
2:59 AM
$('div.name img:eq(2)')$('.classname').index()$('.classname').prevAll().lengtheslam
12:58 PM
eslam
4:27 AM
eslam
1:16 PM
eslam
9:35 AM
eslam
5:58 AM
eslam
5:01 AM
function limitChars($txt,$limit){
        if(strlen($txt) < $limit){
            return $txt; // return the text if less than limit
        }
               
        $post = substr($txt,$limit,1); // Find what is the last character displaying. We find it by getting only last one character from your display message.
        
        if($post !=" "){ // In this step, if last character is not " "(space) do this step .
        
            // Find until we found that last character is " "(space)
            // by $limit+1 (14+1=15, 15+1=16 until we found " "(space) that mean character 20)
            while($post !=" "){
                $i=1;
                $limit=$limit+$i;                
                $post = substr($txt,$limit,1);
            }
        
        }
        
        $post = substr($txt,0,$position); // Display your message
        return  $post."...";
    }
5:38 AM
php_value upload_max_filesize 10M php_value post_max_size 20Mupload_max_filesize = 10Mpost_max_size = 20M 2:38 AM
eslam
1:54 AM
eslam
1:21 PM
eslam
1:09 PM
6:11 AM
eslam
1:51 PM