Total Pageviews

Tuesday, December 4, 2012

Adium/Facebook Chat Not working well.

Hello 

I have this problem On Mac OS X 10.8.2 ,Then i figure it out , you can enjoy it ,



  • Go to Adium>Preferences>Accounts>Remove your facebook account
  • Add Jabber from the dropdown menu
  • Your Jabber ID will be yourFacebookUsername@chat.facebook.com
  • If you have not setup a username go to Facebook>Account>Account Settings>Username
  • And use the same password of facebook . 
  • Now enjoy it ^_^.

Thursday, August 16, 2012

error : RPC failed; result=55 HTTP code = 0

hello ,
 i was working on a repo then i got that error and couldn't push my changes and after along search i find that i am tring to push a big amount of space


to fix this problem you have to increase the buffer size :


git config http.postBuffer 524288000

then every thing going to work sparky !!!

Monday, July 16, 2012

جميل


الهجر الجميل هجر بلا أذى 
والصفح الجميل صفح بلا عتاب 
والصبر الجميل صبر بلا شكوى 

لـ ابن تيمية

Monday, May 21, 2012

Lampp Start---32 bit compatibility library ubuntu 12.04

how to fix the error of lampp ?


sudo /Downloads/lampp/lampp start
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.




you just have to install the 32 bit compatibility library 

sudo apt-get install ia32-libs



Tuesday, April 24, 2012

aptana .gitignore doesn't work .

hello ,
aptana .gitignore doesn't work ?!

solve :


use this command in aptana terminal .


git rm -r --cached .gitignore

Friday, April 20, 2012

iphone caller id doesn't work .?!

How to Fix Gevey SIM Caller ID Bug on iPhone 4?

Hello Jaxov, fist, just want to thank you for the tutorial on how to use Gevey PRO to unlock iPhone 4. It works perfectly on my iPhone. Anyway, just like what I’ve said, I have a jailbroken iPhone 4 on iOS 4.3.3 and it is currently unlock with Gevey PRO. However, for some unknown reason the caller ID feature of my iPhone got disabled. The name of the caller is not being displayed even they are listed on my contact list. How can I fix this? Please advice. Thanks in advance.
Asked by: Samuel from Oklahoma City, Oklahoma
Hello Samuel, you are very much welcome! Any way, we have never experienced this Caller ID bug before. However, some of our reader has reported this to us. After hours of research and tweaking, we have found that this unusual error can be fixed in an instant. There are two ways to resolve this issue, the first method is for non-jailbreakers and the other one is for users rocking a jailbroken iPhone.
So to fix the Caller ID bug, if you are a non-jailbreaker, then all you need to do is to add ‘+‘ then followed by your country code to every number stored on your mobile phone. For instance, if you are living in UK then you will need to add +44, or if you are from India you will need to add +91, etc, etc, etc… Yes, I know, adding country code for every contact in your contact list is a lot of work, especially if you have more than 100 contacts store on your phone.
For iPhone users who jailbreak their device before they unlock it using Gevey PRO hardware unlock, fixing Caller ID bug is a lot easier. All you have to do is download a jailbreak app inCydia called Caller ID Format Fix and installed it on your iPhone 4 or iPhone 3GS and you are good to go. Caller ID Format Fix can be downloaded under BigBoss Repository for free of cost. Hope this help!
Update:
You dont need to install "Caller ID Format Fix" or add ‘+‘ in order to fix this bug, all you have to do is launch Setting and navigate to General -> International -> Region Format ->Select your country.


This topic copied from 

Monday, March 19, 2012

Using Wordpress LOOP with pages instead of posts

You can query a set of child pages, and then use THE LOOP function calls on it .

you can use 


<?php 

query_posts(array('showposts' => <number_of_pages_to_show>, 'post_parent' => <ID of the parent page>, 'post_type' => 'page'));
while (have_posts()) { the_post();
    /* Do whatever you want to do for every page... */
}
//  don't forget to end the while. 
wp_reset_query();  // Restore global post data
?>

Tuesday, February 21, 2012

Multiple posts layouts in same loop -Wordpress .



the default loop looks as this :
 
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> 


In case you want to  display posts in many layouts , you can use counter to identfy the frist post .
and get it layout and the second post

<?php 
         if (have_posts()) : while (have_posts()) : the_post();
         if (++$counter == 1) { 
              // Code for first post here 
           } else { 
// Code for other posts here 
} endwhile; else : 
// Code for no posts found here 
endif; ?>

Friday, February 3, 2012

How to align a div to the bottom with css?

Hello ,

Too much time i tried to algin divs to bottom them i find that you can do that throw this.



<style type="text/css">
  #warapper { position: relative; }
  #ooter { position: absolute; bottom: 0; left: 0; }
</style>
<div id=" warapper  ">
  <h1>Title</h1>
  <div id=" ooter  ">Here you will see the footer which will be always at bottom</div>
</div>

Saturday, January 21, 2012

أمانيه


أمانيه أمانيه أمان المانية
امانيه أمان آمان ليش أنا حيرانه
لحبّيب غايب عني تاركني لحالي
وشويقي أغلى مني ومن دمعي الغالي
يا من يجي يطمني ويريح بالي
لأسهر وحدي عد نجوم واللي بدّو يلوم يلوم
عمري لو عشتاه محروم روحي رضيانه

***
أمانيه. قمري غايب.
أمانيه.عقلي طار.
أمانيه. قلبي دايب.
أمانيه. يشعل نار. أمان الله. يا عيوني.
أمان الله. سلوني.

لأسهر وحدي عد نجوم واللي بدّو يلوم يلوم
عمري لو عشتاه محروم روحي رضيانه


***
أمانيه. روحي تريده.
أمانيه. وتستناه.
أمانيه. قلبي بيده.
أمانيه. ويترجاه.
أمان الله. لاقيني. أمان الله داويني.


لأسهر وحدي عد نجوم واللي بدّو يلوم يلوم
عمري لو عشتاه محروم روحي رضيانه

Friday, January 20, 2012

لآ تهدم شيء ، مآلم تكن مستعدآ لبنآء مآ هو أفضل منه

النقد اللي مالوش لازمه اللي هو مجرد كلام وبس مش ليه اي لازمه من الافضل
لآ تهدم شيء ، مآلم تكن مستعدآ لبنآء مآ هو أفضل منه

Thursday, January 19, 2012

Where Do We Go Now?

Where Do We Go Now?


 ومن هلأ لوين
http://www.mediafire.com/?jl4twijsfe5c29c
http://www.mediafire.com/?6n4b7752y1bil5w

Tuesday, January 17, 2012

PHP script to Find out IP address

You can get the IP address of any visitor by using PHP.

$ip=$_SERVER['REMOTE_ADDR'];
echo "<b>IP Address= $ip</b>"; 

Split variable to many variables

hello ,
if you are going to split 1 variable to many . 

<?php
// Delimiters may be slash, dot, or hyphen
$date "04/30/1973";
list($month$day$year) = split('[/.-]'$date);
echo "Month: $month; Day: $day; Year: $year<br />\n";
?>
that mean it will split the $date to >$mounth  , $day and $year .




Monday, January 9, 2012

Be dependable

Be dependable – Do what you say you’re going to do.




You must try to be dependable  all the time .