Total Pageviews

Saturday, September 21, 2013

Quote


Don’t make something unless it is both
necessary and useful; but if it is both
necessary and useful, don’t hesitate to
make it beautiful.

Monday, March 11, 2013

laravel trying to connect via unix:///var/mysql/mysql.sock

I got that when using artisan migrate on my MAMP PRO :
when using :


php artisan migrate:install

 No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) 


After digging around, the solution seems to be create a symlink from /var/mysql/mysql.sock to /Applications/MAMP/tmp/mysql/mysql.sock. 

 sudo mkdir /var/mysql sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock 



That fixed the problem for me. Hope this is useful to anyone else!

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